From fd4a6165dab2759b8d7bc7955debb48455d1a571 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期二, 12 九月 2023 10:25:56 +0800 Subject: [PATCH] #报价预算单完善 --- src/main/java/com/zy/crm/manager/service/impl/PlanServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/crm/manager/service/impl/PlanServiceImpl.java b/src/main/java/com/zy/crm/manager/service/impl/PlanServiceImpl.java index 935174d..7ea271d 100644 --- a/src/main/java/com/zy/crm/manager/service/impl/PlanServiceImpl.java +++ b/src/main/java/com/zy/crm/manager/service/impl/PlanServiceImpl.java @@ -68,9 +68,9 @@ private String getNextUuid(Long hostId) { Plan plan = this.baseMapper.selectPlanByNewestUuid(hostId); if (plan == null) { - return "0001"; + return "00001"; } - return zerofill(String.valueOf(Integer.parseInt(plan.getUuid()) + 1), 4); + return zerofill(String.valueOf(Integer.parseInt(plan.getUuid()) + 1), 5); } public static String zerofill(String msg, Integer count){ -- Gitblit v1.9.1