fix: 81189 企标更改流程--生成修改单文件,通知单号第二位单位应该取自主起草单位
This commit is contained in:
+3
-3
@@ -276,7 +276,7 @@ public class ProcessESChangeEndListener implements ExecutionListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void genModificationOrderNumber(ProcessEsChange change) {
|
private void genModificationOrderNumber(ProcessEsChange change) {
|
||||||
String deptCode = "U";
|
String deptCode = "";
|
||||||
// 找到单位代号
|
// 找到单位代号
|
||||||
String deptId = change.getMainDraftingUnit();
|
String deptId = change.getMainDraftingUnit();
|
||||||
SysDepart dept = sysDepartService.getById(deptId);
|
SysDepart dept = sysDepartService.getById(deptId);
|
||||||
@@ -290,8 +290,8 @@ public class ProcessESChangeEndListener implements ExecutionListener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (deptCode.equals("U")) {
|
if (StrUtil.isBlank(deptCode)) {
|
||||||
throw new JeroBootException("生成修改单失败,找不到主起草单位的单位代号,请前往字典管理中添加后再试");
|
throw new JeroBootException("生成修改单失败,找不到主起草单位的单位代号,请前往数据字典中添加后再试");
|
||||||
}
|
}
|
||||||
// 找到年份
|
// 找到年份
|
||||||
Date effectiveDate = new Date();
|
Date effectiveDate = new Date();
|
||||||
|
|||||||
Reference in New Issue
Block a user