修复行政处罚修复文书号的问题

This commit is contained in:
zhouxy 2026-01-28 20:54:32 +08:00
parent 64da74b72a
commit b3800fa5f2
2 changed files with 3 additions and 1 deletions

View File

@ -83,8 +83,10 @@ public class TSWorkNoServiceImpl extends BaseServiceImpl<TSWorkNoMapper, TSWorkN
int currentNo = tsWorkNoModels.getCurrentNo(); int currentNo = tsWorkNoModels.getCurrentNo();
//{ShortName}监检字[{year}年]第{CurrentNo}号 //{ShortName}监检字[{year}年]第{CurrentNo}号
genRule = genRule.replaceAll("\\u007BShortName\\u007D", shortName); genRule = genRule.replaceAll("\\u007BShortName\\u007D", shortName);
genRule = genRule.replaceAll("\\u007BshortName\\u007D", shortName);
genRule = genRule.replaceAll("\\u007Byear\\u007D", String.valueOf(a.get(Calendar.YEAR))); genRule = genRule.replaceAll("\\u007Byear\\u007D", String.valueOf(a.get(Calendar.YEAR)));
genRule = genRule.replaceAll("\\u007BCurrentNo\\u007D", beforeZeroFill(currentNo, 4));// 填充4位 genRule = genRule.replaceAll("\\u007BCurrentNo\\u007D", beforeZeroFill(currentNo, 4));// 填充4位
genRule = genRule.replaceAll("\\u007BcurrentNo\\u007D", beforeZeroFill(currentNo, 4));// 填充4位
paramModel.setCurrentNo(currentNo + 1);//文号下移 paramModel.setCurrentNo(currentNo + 1);//文号下移
baseMapper.updateTSWorkNoByTypeComment(paramModel); baseMapper.updateTSWorkNoByTypeComment(paramModel);

View File

@ -151,7 +151,7 @@ public class WorkNoUtil {
WRITSNO_GENRULE_MAP.put(WORKNOTYPE_75, "{shortName}市监恢复决字[{year}]第{currentNo}号"); WRITSNO_GENRULE_MAP.put(WORKNOTYPE_75, "{shortName}市监恢复决字[{year}]第{currentNo}号");
WRITSNO_GENRULE_MAP.put(WORKNOTYPE_76, "{shortName}市监不予恢复决字[{year}]第{currentNo}号"); WRITSNO_GENRULE_MAP.put(WORKNOTYPE_76, "{shortName}市监不予恢复决字[{year}]第{currentNo}号");
WRITSNO_GENRULE_MAP.put(WORKNOTYPE_65, "{shortName}市监信修字[{year}]第{currentNo}号"); WRITSNO_GENRULE_MAP.put(WORKNOTYPE_65, "{ShortName}市监信修字[{year}]第{CurrentNo}号");
} }
public static String getWorkNoTypeName(String workNoType) { public static String getWorkNoTypeName(String workNoType) {