Commit 7d882a41 authored by 332784038@qq.com's avatar 332784038@qq.com

Merge branch 'master-fix' into dev

parents 96f12926 3e3c1988
...@@ -829,6 +829,12 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin ...@@ -829,6 +829,12 @@ public class MakeBillOfLadingServiceImpl extends AbstractService<MakeBillOfLadin
if (makeBillOfLadingListBackVO.getSpecialPriceCount() > 0L) { if (makeBillOfLadingListBackVO.getSpecialPriceCount() > 0L) {
stringBuffer.append("申请特价").append(","); stringBuffer.append("申请特价").append(",");
} }
if (makeBillOfLadingListBackVO.getAdminDiscountCount() > 0L) {
stringBuffer.append("申请管理折扣").append(",");
}
if (makeBillOfLadingListBackVO.getBubbleDiscount() > 0L) {
stringBuffer.append("申请泡货优惠").append(",");
}
if (makeBillOfLadingListBackVO.getHeavyDiscount() > 0L) { if (makeBillOfLadingListBackVO.getHeavyDiscount() > 0L) {
stringBuffer.append("申请重货优惠").append(","); stringBuffer.append("申请重货优惠").append(",");
} }
......
...@@ -78,6 +78,10 @@ public class MakeBillOfLadingListBackVO { ...@@ -78,6 +78,10 @@ public class MakeBillOfLadingListBackVO {
private Integer specialPriceCount; private Integer specialPriceCount;
private Integer adminDiscountCount;
private Integer bubbleDiscount;
private Integer heavyDiscount; private Integer heavyDiscount;
private String orderStatusString; private String orderStatusString;
......
...@@ -15,7 +15,9 @@ ...@@ -15,7 +15,9 @@
t.customs_type, t.customs_type,
t.drawee as draweeCode, t.drawee as draweeCode,
(select count(*) from ecw_order_approval c where c.order_id=t.order_id and c.type in (1,31) and c.deleted=0) as specialPriceCount, (select count(*) from ecw_order_approval c where c.order_id=t.order_id and c.type in (1,31) and c.deleted=0) as specialPriceCount,
(select count(*) from ecw_order_approval c where c.order_id=t.order_id and c.type=4 and c.deleted=0) as heavyDiscount, (select count(*) from ecw_order_approval c where c.order_id=t.order_id and c.type in (2,32) and c.deleted=0) as adminDiscountCount,
(select count(*) from ecw_order_approval c where c.order_id=t.order_id and c.type=4 and c.deleted=0) as bubbleDiscount,
(select count(*) from ecw_order_approval c where c.order_id=t.order_id and c.type=5 and c.deleted=0) as heavyDiscount,
t.is_cargo_control as isCargoControl, t.is_cargo_control as isCargoControl,
t.sum_num as num,( t.sum_num as num,(
SELECT SELECT
......
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