From 66f5e4280613509c4562a96e253e4ff20a239fab Mon Sep 17 00:00:00 2001 From: haozq <1611483981@qq.com> Date: Fri, 15 Nov 2024 18:21:22 +0800 Subject: [PATCH] =?UTF-8?q?md5=E5=8A=A0=E5=AF=86=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gzgqj/business/app/service/PartApplyAppServiceImp.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/bonus/gzgqj/business/app/service/PartApplyAppServiceImp.java b/src/main/java/com/bonus/gzgqj/business/app/service/PartApplyAppServiceImp.java index 8b7ae2e..e28b06c 100644 --- a/src/main/java/com/bonus/gzgqj/business/app/service/PartApplyAppServiceImp.java +++ b/src/main/java/com/bonus/gzgqj/business/app/service/PartApplyAppServiceImp.java @@ -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;