md5加密修改
This commit is contained in:
parent
6f9631de24
commit
66f5e42806
|
|
@ -62,7 +62,7 @@ public class PartApplyAppServiceImp {
|
|||
public ServerResponse getProInfo(MachinesVo dto) {
|
||||
try{
|
||||
MachinesVo machinesVo=mapper.getWfRecordList(dto);
|
||||
ServerResponse.createSuccess(machinesVo);
|
||||
return ServerResponse.createSuccess(machinesVo);
|
||||
}catch (Exception e){
|
||||
log.error(e.toString(),e);
|
||||
}
|
||||
|
|
@ -139,10 +139,8 @@ public class PartApplyAppServiceImp {
|
|||
num++;
|
||||
String year= "XS-"+DateTimeHelper.getNowDay();
|
||||
if(num<10) {
|
||||
return year+"-000"+num;
|
||||
return year+"-00"+num;
|
||||
}else if(num<100) {
|
||||
return year+"-00"+num;
|
||||
}else if(num<1000) {
|
||||
return year+"-0"+num;
|
||||
}
|
||||
return year+"-"+num;
|
||||
|
|
|
|||
Loading…
Reference in New Issue