Commit ec2115c7 by Wangmin

陪诊员 需求广场列表返回业务名称和服务名称

parent af33c862
...@@ -20,11 +20,16 @@ public class AccompanyDemandVo { ...@@ -20,11 +20,16 @@ public class AccompanyDemandVo {
private Integer orderId; private Integer orderId;
/** /**
* 项目名称 * 服务名称
*/ */
private String project; private String project;
/** /**
* 业务名称
*/
private String businessName;
/**
* 订单佣金 * 订单佣金
*/ */
private Float commission; private Float commission;
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
<sql id="OrderCommon"> <sql id="OrderCommon">
select total_order.id as orderId, select total_order.id as orderId,
business.name as project, services.name as project,
business.name as businessName,
CONVERT((1 - services.fenmo / 100), decimal(10, 2)) * CONVERT((1 - services.fenmo / 100), decimal(10, 2)) *
CONVERT(services.price, decimal(10, 2)) as commission, CONVERT(services.price, decimal(10, 2)) as commission,
total_order.business_id, total_order.business_id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment