From 9a166a10b8f15df08764473129fba9f8b7780974 Mon Sep 17 00:00:00 2001
From: jiangqs <343695869@qq.com>
Date: 星期五, 18 八月 2023 23:05:27 +0800
Subject: [PATCH] bug

---
 ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/impl/shop/ShopServiceImpl.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/impl/shop/ShopServiceImpl.java b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/impl/shop/ShopServiceImpl.java
index 66ab37d..7d3ae1b 100644
--- a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/impl/shop/ShopServiceImpl.java
+++ b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/impl/shop/ShopServiceImpl.java
@@ -996,6 +996,9 @@
         if(mgtShopAuthDto.getBlBusinessFoeverFlag()!=null&&mgtShopAuthDto.getBlBusinessFoeverFlag()==1){
             mgtShopAuthDto.setBlBusinessDeanline("长期");
         }
+        if(mgtShopAuthDto.getLpIcForeverFlag()!=null&&mgtShopAuthDto.getLpIcForeverFlag()==1){
+            mgtShopAuthDto.setLpIcEndDate("长期");
+        }
         BeanUtils.copyProperties(mgtShopAuthDto , shopAuthentication);
         shopAuthentication.setApplyNumber(applyNumber);
         shopAuthentication.setAuditStatus(3);
@@ -1125,6 +1128,11 @@
         }else{
             shopAuthGetVo.setBlBusinessFoeverFlag(0);
         }
+        if(shopAuthGetVo.getLpIcEndDate().equals("长期")){
+            shopAuthGetVo.setLpIcForeverFlag(1);
+        }else{
+            shopAuthGetVo.setLpIcForeverFlag(0);
+        }
         return shopAuthGetVo;
     }
 

--
Gitblit v1.7.1