1.修复严重违法异议流程报错;2.修复文书穗字问题

This commit is contained in:
lwd 2026-01-05 15:37:56 +08:00
parent e3fe7f50a1
commit f0258bb965
2 changed files with 12 additions and 9 deletions

View File

@ -182,8 +182,10 @@ public class WorkFlowServiceImpl implements WorkFlowService {
@Override @Override
public ResultMap completeTaskToOther(String processid, String nextNodeID, List<String> nextUserIDs) { public ResultMap completeTaskToOther(String processid, String nextNodeID, List<String> nextUserIDs) {
boolean isEnd = false; boolean isEnd = false;
if (nextUserIDs == null || nextUserIDs.size() == 0) { if (!"endDissent".equals(nextNodeID)) {
throw new BusinessException("nextUserIDs为空请检查。processid=" + processid); if (nextUserIDs == null || nextUserIDs.size() == 0) {
throw new BusinessException("nextUserIDs为空请检查。processid=" + processid);
}
} }
int flag = nextUserIDs.size() == 1 ? FLAG_SINGLE : FLAG_MULTI; int flag = nextUserIDs.size() == 1 ? FLAG_SINGLE : FLAG_MULTI;

View File

@ -43,13 +43,14 @@ public class TSWorkNoServiceImpl extends BaseServiceImpl<TSWorkNoMapper, TSWorkN
Calendar a = Calendar.getInstance(); Calendar a = Calendar.getInstance();
TSWorkNo paramModel = new TSWorkNo(); TSWorkNo paramModel = new TSWorkNo();
Map<String, String> map = Constant.GZ_REGION_CODE_SHORTNAME; Map<String, String> map = Constant.GZ_REGION_CODE_SHORTNAME;
String shortName = "穗"; String shortName = map.get(aicID.substring(0, 4) + "00");
for (String code : map.keySet()) { // String shortName = "穗";
if (code.equals(aicID) && !map.get(code).equals("穗")) { // for (String code : map.keySet()) {
shortName += map.get(code); // if (code.equals(aicID) && !map.get(code).equals("穗")) {
break; // shortName += map.get(code);
} // break;
} // }
// }
paramModel.setAicid(aicID.length() > 6 ? aicID.substring(0, 6) : aicID); paramModel.setAicid(aicID.length() > 6 ? aicID.substring(0, 6) : aicID);
paramModel.setWorkNoType(workNoType); paramModel.setWorkNoType(workNoType);
String genRule = ""; String genRule = "";