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 |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 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 db3a8a6..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
@@ -94,7 +94,7 @@
         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());
@@ -112,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);
@@ -132,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();
@@ -143,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();
@@ -154,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();
@@ -165,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();
@@ -202,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);
@@ -234,7 +234,7 @@
     }
 
     @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