## 签呈编号前缀替换;
This commit is contained in:
parent
131b6f7a10
commit
6dacd2038f
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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", "审批"),
|
||||
|
||||
/**
|
||||
* 在线支付
|
||||
|
|
Loading…
Reference in New Issue