功能完善

This commit is contained in:
bns_han 2024-02-18 11:10:28 +08:00
parent 1ef299d409
commit b0835e5473
1 changed files with 5 additions and 5 deletions

View File

@ -248,7 +248,7 @@ public class BackReceiveServiceImpl implements BackReceiveService {
if(GlobalConstants.INT_41 == taskType){
taskStatus = "43";
}
if(GlobalConstants.FIFTY_SEVEN == taskType){
if(GlobalConstants.INT_57 == taskType){
taskStatus = "58";
}
applyInfo.setTaskStatus(taskStatus);
@ -336,15 +336,15 @@ public class BackReceiveServiceImpl implements BackReceiveService {
String format = dateFormat.format(nowDate);
int taskNum = backReceiveMapper.selectTaskNumByMonthWx(nowDate,taskType) + 1;
String code="";
if(GlobalConstants.FORTY_ONE == taskType){
if(GlobalConstants.INT_41 == taskType){
code = "WX";
}
if(GlobalConstants.FIFTY_SEVEN == taskType){
if(GlobalConstants.INT_57 == taskType){
code = "BF";
}
if (taskNum>GlobalConstants.NINE && taskNum<GlobalConstants.ONE_HUNDRED){
if (taskNum>GlobalConstants.INT_9 && taskNum<GlobalConstants.INT_100){
code = code + format + "-00" + taskNum;
}else if (taskNum>GlobalConstants.NINETY_NINE && taskNum<GlobalConstants.ONE_THOUSAND){
}else if (taskNum>GlobalConstants.INT_99 && taskNum<GlobalConstants.INT_1000){
code = code +format + "-0" + taskNum;
}else {
code = code + format + "-000" + taskNum;