fix(标准法规入库流程): 80930

This commit is contained in:
yjz
2024-02-04 09:15:03 +08:00
parent a0c944928c
commit 48c972077a
@@ -227,7 +227,7 @@ public class ProcessFbEntryChangeServiceImpl extends ServiceImpl<ProcessFbEntryC
new LambdaQueryWrapper<LawsOverseasStandard>()
.eq(LawsOverseasStandard::getStandardNumber, map.get(FieldCommon.STANDARD_NUMBER)));
if (documentCount > 0 || overseasCount > 0){
throw new JeroBootException("标准编号已入库或已发起入库流程,不可重复发起!");
throw new JeroBootException("标准编号为:" + map.get(FieldCommon.STANDARD_NUMBER) + "已入库或已发起入库流程,不可重复发起!");
}
List<ProcessFbEntryChange> list = list(
@@ -242,7 +242,7 @@ public class ProcessFbEntryChangeServiceImpl extends ServiceImpl<ProcessFbEntryC
.and(qw -> qw.ne(ProcessDraft::getSaveSource, "3")
.or().isNull(ProcessDraft::getSaveSource)));
if (count == 0){
throw new JeroBootException("标准编号已入库或已发起入库流程,不可重复发起!");
throw new JeroBootException("标准编号为:" + map.get(FieldCommon.STANDARD_NUMBER) + "已入库或已发起入库流程,不可重复发起!");
}
}
}