Jelajahi Sumber

修改sql删除日志

yousongbo 1 bulan lalu
induk
melakukan
f531e3daa2

+ 0 - 12
suishenbang-system/src/main/java/com/dgtly/system/service/impl/AlertConfigurationServiceImpl.java

@@ -55,18 +55,6 @@ public class AlertConfigurationServiceImpl implements IAlertConfigurationService
                         }
                     }
                 }
-//                if(orgCode ==null || ("").equals(orgCode)){
-//                    if( alert.getOrgCode() ==null || ("null").equals(alert.getOrgCode())){
-//                        return alert;
-//                    }
-//                }else{
-//                    List<String>  orgCodes = alertConfigurationMapper.selectOrgCodeByInterface(alert.getSalesLevel(),alert.getOrgCode());
-//                    if(orgCodes !=null && orgCodes.size()>0){
-//                        if(orgCodes.contains(orgCode)){
-//                            return alert;
-//                        }
-//                    }
-//                }
             }
         }
         return  null;

+ 1 - 1
suishenbang-system/src/main/resources/mapper/system/AlertConfigurationMapper.xml

@@ -61,7 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <include refid="selectAlertConfigurationVo"/>
         WHERE alert_status = 1
         and ( user_type  in
-        <foreach item="item" index="index" collection="list" separator=",">
+        <foreach item="item" index="index" collection="list" open="(" separator="," close=")">
             #{item}
         </foreach>
         or user_type ='2')

+ 0 - 2
suishenbang-wxportal/suishenbang-wxportal-api/src/main/java/com/dgtly/wxportal/controller/WxPortalController.java

@@ -139,8 +139,6 @@ public class WxPortalController extends ApiBaseController {
             }
         }
         List<SysRidingLantern> lanternList = sysRidingLanternService.selectLanternList();
-        log.info("qqqqqqqqqq{}",userTypeList);
-        log.info("wwwwwwwwww{}",lanternList);
         List<SysRidingLantern> lanternListhow=new ArrayList<>();
         if (lanternList != null && lanternList.size() > 0) {
             lanternList.forEach(lantern->{