From 3fa04e2d1e41455b84b1bba63429a4513f44e74e Mon Sep 17 00:00:00 2001 From: rentaiming <806181062@qq.com> Date: 星期一, 22 七月 2024 19:01:57 +0800 Subject: [PATCH] 森林防火 供应商管理 --- ruoyi-modules/ruoyi-management/src/main/java/com/ruoyi/management/service/impl/SlVolumeProductionCkglServiceImpl.java | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ruoyi-modules/ruoyi-management/src/main/java/com/ruoyi/management/service/impl/SlVolumeProductionCkglServiceImpl.java b/ruoyi-modules/ruoyi-management/src/main/java/com/ruoyi/management/service/impl/SlVolumeProductionCkglServiceImpl.java index f611b9b..33c2288 100644 --- a/ruoyi-modules/ruoyi-management/src/main/java/com/ruoyi/management/service/impl/SlVolumeProductionCkglServiceImpl.java +++ b/ruoyi-modules/ruoyi-management/src/main/java/com/ruoyi/management/service/impl/SlVolumeProductionCkglServiceImpl.java @@ -79,7 +79,7 @@ PageDTO<VolumeProductionCkglVO> SlGoodsShelfDTO = PageDTO.of(page2, VolumeProductionCkglVO .class); List<VolumeProductionCkglVO> list2 = SlGoodsShelfDTO.getList(); for(VolumeProductionCkglVO list:list2){ - SysUser data = sysUserClient.getSysUser(list.getSupplierId()).getData(); + SysUser data = sysUserClient.getSysUser(list.getSysId()).getData(); list.setNickName(data.getNickName()); list.setPhonenumber(data.getPhonenumber()); SlStoreManagement slStoreManagement = slStoreManagementMapper.selectById(list.getManagementId()); @@ -94,7 +94,8 @@ if (volumeProductionCkglDTO.getId()!=null){ SlVolumeProductionCkgl slVolumeProductionRkgl=new SlVolumeProductionCkgl(); slVolumeProductionRkgl.setAttachmentUrl(volumeProductionCkglDTO.getAttachmentUrl()); - slVolumeProductionRkgl.setAuthorization(volumeProductionCkglDTO.getAuthorization()); + slVolumeProductionRkgl.setAuthorizationUrl(volumeProductionCkglDTO.getAuthorization()); + slVolumeProductionRkgl.setSource(volumeProductionCkglDTO.getSource()); slVolumeProductionRkgl.setAuditStatus(1); slVolumeProductionRkgl.setManagementId(volumeProductionCkglDTO.getManagementId()); slVolumeProductionRkgl.setPresentState(1); @@ -111,14 +112,14 @@ byId.setAttachmentUrl(volumeProductionCkglDTO.getAttachmentUrl()); } if (volumeProductionCkglDTO.getAuthorization()!=null){ - byId.setAuthorization(volumeProductionCkglDTO.getAuthorization()); + byId.setAuthorizationUrl(volumeProductionCkglDTO.getAuthorization()); } this.updateById(byId); } } @Override - public VolumeProductionCkglInfoVO getVolumeProductionCkglnfo(Integer id) { + public VolumeProductionCkglInfoVO getVolumeProductionCkglnfo(Long id) { SlVolumeProductionCkgl byId = this.getById(id); VolumeProductionCkglInfoVO v= BeanUtils.copyBean(byId, VolumeProductionCkglInfoVO.class); @@ -131,7 +132,7 @@ } @Override - public VolumeProductionCkglInventoryVO getVolumeProductionCkglInventory(Integer id) { + public VolumeProductionCkglInventoryVO getVolumeProductionCkglInventory(Long id) { SlVolumeProductionCkgl byId = this.getById(id); VolumeProductionCkglInventoryVO vo = new VolumeProductionCkglInventoryVO(); SysUser data = sysUserClient.getSysUser(byId.getId()).getData(); @@ -142,7 +143,7 @@ vo.setStoreManagementName(slStoreManagement.getStoreManagementName()); String directorId = slStoreManagement.getDirectorId(); List<String> stri = Arrays.asList(directorId.split(",")); - String str1 = null; + String str1 = ""; if (stri.size() > 0) { for (String str : stri) { SysUser data1 = sysUserClient.getSysUser(Long.valueOf(str)).getData(); @@ -153,7 +154,7 @@ String competentId = slStoreManagement.getCompetentId(); List<String> stri1 = Arrays.asList(competentId.split(",")); - String str11 = null; + String str11 = ""; if (stri1.size() > 0) { for (String str : stri1) { SysUser data1 = sysUserClient.getSysUser(Long.valueOf(str)).getData(); @@ -164,7 +165,7 @@ String administratorId = slStoreManagement.getAdministratorId(); List<String> stri11 = Arrays.asList(administratorId.split(",")); - String str111 = null; + String str111 = ""; if (stri11.size() > 0) { for (String str : stri11) { SysUser data1 = sysUserClient.getSysUser(Long.valueOf(str)).getData(); @@ -201,7 +202,7 @@ } @Override - public void ck(Integer id) { + public void ck(Long id) { LambdaQueryWrapper<SlVolumeProductionCk> wrapper1 = Wrappers.lambdaQuery(); wrapper1.eq(SlVolumeProductionCk::getCkglId, id); wrapper1.eq(SlVolumeProductionCk::getDelFlag, 0); @@ -229,12 +230,11 @@ } SlVolumeProductionCkgl byId = this.getById(id); byId.setAuditStatus(6); - byId.setEndTime(new Date()); this.updateById(byId); } @Override - public void gh(Integer id) { + public void gh(Long id) { LambdaQueryWrapper<SlVolumeProductionCk> wrapper1 = Wrappers.lambdaQuery(); wrapper1.eq(SlVolumeProductionCk::getCkglId, id); wrapper1.eq(SlVolumeProductionCk::getDelFlag, 0); -- Gitblit v1.7.1