Browse Source

推送老系统调整

master
汤建军 8 months ago
parent
commit
ce5adde12c
  1. 8
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionSignforMapper.xml
  2. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistrilbutionBillLadingMapper.xml

8
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionSignforMapper.xml

@ -1169,7 +1169,7 @@
IF IF
( ldl.id IS NOT NULL, 1, ldl.id ) AS is_loading, ( ldl.id IS NOT NULL, 1, ldl.id ) AS is_loading,
1 is_out, 1 is_out,
ldpl.conditions AS goods_type, IF(ldpl.conditions = 1, 0 ,ldpl.conditions) AS goods_type,
ldl.received_quantity AS signNum, ldl.received_quantity AS signNum,
5 AS broke_state 5 AS broke_state
FROM FROM
@ -1200,7 +1200,7 @@
IF IF
( ldl.id IS NOT NULL, 1, ldl.id ) AS is_loading, ( ldl.id IS NOT NULL, 1, ldl.id ) AS is_loading,
1 is_out, 1 is_out,
ldpl.conditions AS goods_type, IF(ldpl.conditions = 1, 0 ,ldpl.conditions) AS goods_type,
ldl.received_quantity AS signNum, ldl.received_quantity AS signNum,
5 AS broke_state 5 AS broke_state
FROM FROM
@ -1234,7 +1234,7 @@
ldl.signing_time AS sign_time, ldl.signing_time AS sign_time,
1 AS is_out, 1 AS is_out,
ldsl.quantity_stock AS num, ldsl.quantity_stock AS num,
3 AS goods_type, 2 AS goods_type,
ldl.received_quantity AS sign_num, ldl.received_quantity AS sign_num,
4 AS broke_state 4 AS broke_state
FROM FROM
@ -1269,7 +1269,7 @@
ldl.signing_time AS sign_time, ldl.signing_time AS sign_time,
1 AS is_out, 1 AS is_out,
ldsl.quantity_stock AS num, ldsl.quantity_stock AS num,
3 AS goods_type, 2 AS goods_type,
ldl.received_quantity AS sign_num, ldl.received_quantity AS sign_num,
4 AS broke_state 4 AS broke_state
FROM FROM

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistrilbutionBillLadingMapper.xml

@ -905,7 +905,7 @@
ldbls.update_time AS update_time, ldbls.update_time AS update_time,
ldbls.quantity AS num, ldbls.quantity AS num,
ldbls.quantity AS signNum, ldbls.quantity AS signNum,
3 AS goods_type 2 AS goods_type
FROM FROM
logpm_distribution_bill_lading_scan AS ldbls logpm_distribution_bill_lading_scan AS ldbls
LEFT JOIN logpm_dis_stock_list_detail AS ldsld ON ldbls.bill_lading_id = ldsld.reservation_id AND ldsld.is_deleted = 0 LEFT JOIN logpm_dis_stock_list_detail AS ldsld ON ldbls.bill_lading_id = ldsld.reservation_id AND ldsld.is_deleted = 0

Loading…
Cancel
Save