Commit 2b5c73f6ee66601f3386ce43f92acfbb51a10758
1 parent
81e72cd3
增加finishTime
Showing
3 changed files
with
7 additions
and
1 deletions
urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/controller/admin/planrate/vo/PlanRateSaveReqVO.java
urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/service/planrate/PlanRateServiceImpl.java
| ... | ... | @@ -65,6 +65,9 @@ public class PlanRateServiceImpl implements PlanRateService { |
| 65 | 65 | validatePlanRateExists(createReqVO.getPlanTypeId(), createReqVO.getBusiLine()); |
| 66 | 66 | LocalDateTime now = LocalDateTime.now(); |
| 67 | 67 | Long companyId = SecurityFrameworkUtils.getCompanyId(); |
| 68 | + if(createReqVO.getCompanyId() != null){ | |
| 69 | + companyId = createReqVO.getCompanyId(); | |
| 70 | + } | |
| 68 | 71 | String userName = SecurityFrameworkUtils.getLoginUserId() + ""; |
| 69 | 72 | String rateNo = DateUtil.format(new Date(), "yyyyMMddHHmmssSSS") + RandomUtil.randomInt(1000); |
| 70 | 73 | PlanRateDO planRate = new PlanRateDO(); | ... | ... |
urbanops-module-garden/src/main/resources/mapper/planrate/PlanRateDetailMapper.xml