no message

main
HUOJIN\92525 2026-01-27 10:16:21 +08:00
parent 2e4e15ce86
commit 52ad75c558
3 changed files with 12 additions and 4 deletions

View File

@ -22,12 +22,16 @@ public enum AsnTypeEnum {
PJC(3, "配件拆托入库"),
//模具
SC(4, "生产入库"),
WX(5, "维修入库"),
QC(6, "期初入库"),
QT(7, "其他入库"),
;
@ -54,7 +58,8 @@ public enum AsnTypeEnum {
AsnTypeEnum.PJC.getValue(),
AsnTypeEnum.SC.getValue(),
AsnTypeEnum.WX.getValue(),
AsnTypeEnum.QC.getValue()
AsnTypeEnum.QC.getValue(),
AsnTypeEnum.QT.getValue()
);
}

View File

@ -28,6 +28,8 @@ public enum PickTypeEnum {
DJ(8, "点检出库"),
QT(9, "其他出库"),
;
PickTypeEnum(Integer value, String desc) {
@ -53,7 +55,8 @@ public enum PickTypeEnum {
PickTypeEnum.SC.getValue(),
PickTypeEnum.BF.getValue(),
PickTypeEnum.WX.getValue(),
PickTypeEnum.DJ.getValue()
PickTypeEnum.DJ.getValue(),
PickTypeEnum.QT.getValue()
);
}

View File

@ -163,8 +163,8 @@ public class PickDetailServiceImpl extends ServiceImpl<PickDetailMapper, PickDet
* @param pickDetails
*/
public void refreshPick(Pick pick, List<PickDetail> pickDetails) {
if (pickDetails == null) {
pickDetails = new ArrayList<>();
if (CollectionUtils.isEmpty(pickDetails)) {
return;
}
// 计算各种数量