duyj 2 سال پیش
والد
کامیت
93952adcd3

+ 8 - 8
suishenbang-wxportal/suishenbang-wxportal-common/src/main/java/com/dgtly/wxportal/service/impl/WxMagnetServiceImpl.java

@@ -204,14 +204,14 @@ public class WxMagnetServiceImpl implements IWxMagnetService
      */
     @Override
     public List<WxMagnet> selectMagnetByUserId(String userId, String cw, String salesLevel) {
-        List<WxMagnet> list;
-        if (StringUtils.isNotEmpty(cw) && null != salesLevel && "customer_level".equals(salesLevel)) {
-            String roleId = cw.equals("1") ? configService.selectConfigByKey("libang.customer.roleid") : configService.selectConfigByKey("libang.cw.roleid");
-            list = wxMagnetMapper.selectMagnetByCw(userId, roleId);
-        } else {
-            list = wxMagnetMapper.selectMagnetByUserId(userId);
-        }
-//        List<WxMagnet> list  = wxMagnetMapper.selectMagnetByUserId(userId);
+//        List<WxMagnet> list;
+//        if (StringUtils.isNotEmpty(cw) && null != salesLevel && "customer_level".equals(salesLevel)) {
+//            String roleId = cw.equals("1") ? configService.selectConfigByKey("libang.customer.roleid") : configService.selectConfigByKey("libang.cw.roleid");
+//            list = wxMagnetMapper.selectMagnetByCw(userId, roleId);
+//        } else {
+//            list = wxMagnetMapper.selectMagnetByUserId(userId);
+//        }
+        List<WxMagnet> list  = wxMagnetMapper.selectMagnetByUserId(userId);
         if(list!=null && list.size()>0){
             for(WxMagnet wxMagnet: list){
                 logger.info("isEncry::::"+wxMagnet.getIsEncry());