Commit 702d212f7341abfba529e628f0c560fb1a0cfb7e
1 parent
ef6fdb3c
✨ feat(mes): 重命名待检数量字段,优化数据一致性
Showing
2 changed files
with
3 additions
and
3 deletions
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 | 45 | // ========== 数量 ========== |
| 46 | 46 | |
| 47 | 47 | @Schema(description = "待检数量", example = "100.00") |
| 48 | - private BigDecimal quantityToCheck; | |
| 48 | + private BigDecimal quantity; | |
| 49 | 49 | |
| 50 | 50 | // ========== 供应商(IQC 场景) ========== |
| 51 | 51 | ... | ... |
yudao-module-mes/src/main/resources/mapper/qc/pendinginspect/MesQcPendingInspectMapper.xml
| ... | ... | @@ -20,7 +20,7 @@ |
| 20 | 20 | n.arrival_date AS recordTime, |
| 21 | 21 | ${@cn.iocoder.yudao.module.mes.enums.qc.MesQcTypeEnum@IQC.type} AS qcType, |
| 22 | 22 | l.item_id AS itemId, |
| 23 | - l.arrival_quantity AS quantityToCheck, | |
| 23 | + l.arrival_quantity AS quantity, | |
| 24 | 24 | n.vendor_id AS vendorId |
| 25 | 25 | FROM mes_wm_arrival_notice n |
| 26 | 26 | JOIN mes_wm_arrival_notice_line l ON n.id = l.notice_id |
| ... | ... | @@ -41,7 +41,7 @@ |
| 41 | 41 | r.receipt_date AS recordTime, |
| 42 | 42 | ${@cn.iocoder.yudao.module.mes.enums.qc.MesQcTypeEnum@IQC.type} AS qcType, |
| 43 | 43 | rl.item_id AS itemId, |
| 44 | - rl.quantity AS quantityToCheck, | |
| 44 | + rl.quantity AS quantity, | |
| 45 | 45 | r.vendor_id AS vendorId |
| 46 | 46 | FROM mes_wm_outsource_receipt r |
| 47 | 47 | JOIN mes_wm_outsource_receipt_line rl ON r.id = rl.receipt_id | ... | ... |