From 2e9c442b4961dc30423e8b8fa1361c45e63ef620 Mon Sep 17 00:00:00 2001
From: jiangqs <jiangqs>
Date: 星期三, 16 八月 2023 19:52:00 +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