Browse Source

修改名称开发

anderx 2 years ago
parent
commit
9b19fa35a7

+ 1 - 1
ruoyi-system/src/main/java/com/ruoyi/project/service/impl/ProjectStaffRecordServiceImpl.java

@@ -92,7 +92,7 @@ public class ProjectStaffRecordServiceImpl implements ProjectStaffRecordService
         BigDecimal maxDuration= new BigDecimal(SecurityUtils.getLoginUser().getUser().getDept().getMaxDuration());
         String maxDurationProjectFlag = configService.selectConfigByKey("maxDurationProject");
         Boolean maxflag = Boolean.parseBoolean(maxDurationProjectFlag);
-        Double myDuration;
+        Double myDuration=0d;
         myDuration=getMyDuration(in,maxflag);
         BigDecimal mySum = new BigDecimal(myDuration).add(new BigDecimal(in.getDuration()));