禅道#1185问题修复

This commit is contained in:
gaoqr
2025-02-17 09:38:27 +08:00
parent 2e34c68a90
commit 23959e48a1
6 changed files with 13 additions and 16 deletions
@@ -37,7 +37,7 @@ public class OrderNoRuleResetServiceHandler extends AbstractCustomPlateNoResetSe
// 更新机构下全局序号中的生产单前序值
LambdaUpdateWrapper<CustomPlateNoSeqDO> seqLambdaUpdateWrapper = new LambdaUpdateWrapper<CustomPlateNoSeqDO>()
.eq(CustomPlateNoSeqDO::getOrganId, OrganContextHolder.getOrganId())
.set(CustomPlateNoSeqDO::getOrderNoSeq, ruleDTO.getInitValue());
.set(CustomPlateNoSeqDO::getOrderNoSeq, null);
customPlateNoSeqMapper.update(seqLambdaUpdateWrapper);
// 更新使用该配置的生产单中的orderNoSeq
@@ -42,7 +42,7 @@ public class PlateNoRuleResetServiceHandler extends AbstractCustomPlateNoResetSe
// 更新机构下全局序号中的板件序号前序值
LambdaUpdateWrapper<CustomPlateNoSeqDO> seqLambdaUpdateWrapper = new LambdaUpdateWrapper<CustomPlateNoSeqDO>()
.eq(CustomPlateNoSeqDO::getOrganId, OrganContextHolder.getOrganId())
.set(CustomPlateNoSeqDO::getPlateNoSeq, ruleDTO.getInitValue());
.set(CustomPlateNoSeqDO::getPlateNoSeq, null);
customPlateNoSeqMapper.update(seqLambdaUpdateWrapper);
}