Commit 702d212f7341abfba529e628f0c560fb1a0cfb7e

Authored by YunaiV
1 parent ef6fdb3c

✨ feat(mes): 重命名待检数量字段,优化数据一致性

yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/qc/pendinginspect/vo/MesQcPendingInspectRespVO.java
@@ -45,7 +45,7 @@ public class MesQcPendingInspectRespVO { @@ -45,7 +45,7 @@ public class MesQcPendingInspectRespVO {
45 // ========== 数量 ========== 45 // ========== 数量 ==========
46 46
47 @Schema(description = "待检数量", example = "100.00") 47 @Schema(description = "待检数量", example = "100.00")
48 - private BigDecimal quantityToCheck; 48 + private BigDecimal quantity;
49 49
50 // ========== 供应商(IQC 场景) ========== 50 // ========== 供应商(IQC 场景) ==========
51 51
yudao-module-mes/src/main/resources/mapper/qc/pendinginspect/MesQcPendingInspectMapper.xml
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
20 n.arrival_date AS recordTime, 20 n.arrival_date AS recordTime,
21 ${@cn.iocoder.yudao.module.mes.enums.qc.MesQcTypeEnum@IQC.type} AS qcType, 21 ${@cn.iocoder.yudao.module.mes.enums.qc.MesQcTypeEnum@IQC.type} AS qcType,
22 l.item_id AS itemId, 22 l.item_id AS itemId,
23 - l.arrival_quantity AS quantityToCheck, 23 + l.arrival_quantity AS quantity,
24 n.vendor_id AS vendorId 24 n.vendor_id AS vendorId
25 FROM mes_wm_arrival_notice n 25 FROM mes_wm_arrival_notice n
26 JOIN mes_wm_arrival_notice_line l ON n.id = l.notice_id 26 JOIN mes_wm_arrival_notice_line l ON n.id = l.notice_id
@@ -41,7 +41,7 @@ @@ -41,7 +41,7 @@
41 r.receipt_date AS recordTime, 41 r.receipt_date AS recordTime,
42 ${@cn.iocoder.yudao.module.mes.enums.qc.MesQcTypeEnum@IQC.type} AS qcType, 42 ${@cn.iocoder.yudao.module.mes.enums.qc.MesQcTypeEnum@IQC.type} AS qcType,
43 rl.item_id AS itemId, 43 rl.item_id AS itemId,
44 - rl.quantity AS quantityToCheck, 44 + rl.quantity AS quantity,
45 r.vendor_id AS vendorId 45 r.vendor_id AS vendorId
46 FROM mes_wm_outsource_receipt r 46 FROM mes_wm_outsource_receipt r
47 JOIN mes_wm_outsource_receipt_line rl ON r.id = rl.receipt_id 47 JOIN mes_wm_outsource_receipt_line rl ON r.id = rl.receipt_id