|
@@ -36,7 +36,7 @@ public class UserDistributeOrdersDetailView {
|
|
|
@DbField("select spec_val from goods_don_sku where id = od.sku_id limit 1")
|
|
@DbField("select spec_val from goods_don_sku where id = od.sku_id limit 1")
|
|
|
private String specVal;
|
|
private String specVal;
|
|
|
|
|
|
|
|
- @DbField("cast(if(od.is_dp and od.ori_money != 0,od.ori_money,od.money)/100 as decimal(10,2))")
|
|
|
|
|
|
|
+ @DbField("cast(sum(if(od.id is null,vod.money,if(od.is_dp and od.ori_money != 0,od.ori_money,od.money))/100 as decimal(10,2)))")
|
|
|
private BigDecimal money;
|
|
private BigDecimal money;
|
|
|
|
|
|
|
|
@DbField("od.coupon_money")
|
|
@DbField("od.coupon_money")
|
|
@@ -57,6 +57,6 @@ public class UserDistributeOrdersDetailView {
|
|
|
@DbField("dp.send_status")
|
|
@DbField("dp.send_status")
|
|
|
private String sendStatus;
|
|
private String sendStatus;
|
|
|
|
|
|
|
|
- @DbField("od.created_time")
|
|
|
|
|
|
|
+ @DbField("ifnull(od.created_time,vod.created_time)")
|
|
|
private Date createdTime;
|
|
private Date createdTime;
|
|
|
}
|
|
}
|