Browse Source

#工作任务单序号修改

zhongwei
yang_shj 7 months ago
parent
commit
07dfc89b52
  1. 4
      hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/repair/service/impl/WorkTaskServiceImpl.java

4
hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/repair/service/impl/WorkTaskServiceImpl.java

@ -136,9 +136,9 @@ public class WorkTaskServiceImpl extends BaseServiceImpl<WorkTaskMapper, WorkTas
}else{ }else{
int number = Integer.parseInt(max.getNumber()) + 1; int number = Integer.parseInt(max.getNumber()) + 1;
String code = ""; String code = "";
if(number > 100){ if(number >= 100){
code += number; code += number;
}else if(number > 10){ }else if(number >= 10){
code = code + "0" + number; code = code + "0" + number;
}else{ }else{
code = code + "00" + number; code = code + "00" + number;

Loading…
Cancel
Save