fix(标准法规入库流程): 80930
This commit is contained in:
+2
-2
@@ -227,7 +227,7 @@ public class ProcessFbEntryChangeServiceImpl extends ServiceImpl<ProcessFbEntryC
|
|||||||
new LambdaQueryWrapper<LawsOverseasStandard>()
|
new LambdaQueryWrapper<LawsOverseasStandard>()
|
||||||
.eq(LawsOverseasStandard::getStandardNumber, map.get(FieldCommon.STANDARD_NUMBER)));
|
.eq(LawsOverseasStandard::getStandardNumber, map.get(FieldCommon.STANDARD_NUMBER)));
|
||||||
if (documentCount > 0 || overseasCount > 0){
|
if (documentCount > 0 || overseasCount > 0){
|
||||||
throw new JeroBootException("标准编号已入库或已发起入库流程,不可重复发起!");
|
throw new JeroBootException("标准编号为:" + map.get(FieldCommon.STANDARD_NUMBER) + "已入库或已发起入库流程,不可重复发起!");
|
||||||
}
|
}
|
||||||
|
|
||||||
List<ProcessFbEntryChange> list = list(
|
List<ProcessFbEntryChange> list = list(
|
||||||
@@ -242,7 +242,7 @@ public class ProcessFbEntryChangeServiceImpl extends ServiceImpl<ProcessFbEntryC
|
|||||||
.and(qw -> qw.ne(ProcessDraft::getSaveSource, "3")
|
.and(qw -> qw.ne(ProcessDraft::getSaveSource, "3")
|
||||||
.or().isNull(ProcessDraft::getSaveSource)));
|
.or().isNull(ProcessDraft::getSaveSource)));
|
||||||
if (count == 0){
|
if (count == 0){
|
||||||
throw new JeroBootException("标准编号已入库或已发起入库流程,不可重复发起!");
|
throw new JeroBootException("标准编号为:" + map.get(FieldCommon.STANDARD_NUMBER) + "已入库或已发起入库流程,不可重复发起!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user