|
|
@ -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; |
|
|
|