## 签呈编号前缀替换;

This commit is contained in:
cabbage 2025-05-07 16:47:38 +08:00
parent 12a5cbe101
commit 4b218e7737
2 changed files with 3 additions and 5 deletions

View File

@ -117,9 +117,9 @@ public class SysDeptServiceImpl implements ISysDeptService {
DecimalFormat decimalFormat = new DecimalFormat("0000");
String deptCode = sysDeptMapper.getMaxDeptCode();
if (StringUtils.isEmpty(deptCode)) {
return "HZS" + decimalFormat.format(1);
return "BD" + decimalFormat.format(1);
} else {
return "HZS" + decimalFormat.format(Integer.parseInt(deptCode.replace("HZS", "")) + 1);
return "BD" + decimalFormat.format(Integer.parseInt(deptCode.replace("BD", "")) + 1);
}
}

View File

@ -5,8 +5,6 @@ import lombok.Getter;
/**
* Description: 订单前缀
* Author: sui q
* Time: 2022/9/8 11:09
* Classname: EOrderPrefix
* PackageName: com.hzs.common.core.enums
* @author sshcode
@ -134,7 +132,7 @@ public enum EOrderPrefix {
/**
* 审批
*/
APPROVAL_CODE("HZS", "审批"),
APPROVAL_CODE("BD", "审批"),
/**
* 在线支付