|
@@ -57,15 +57,20 @@ public class WxAlertLogController extends ApiBaseController {
|
|
|
Set<String> userTypeSet = new HashSet<>();
|
|
Set<String> userTypeSet = new HashSet<>();
|
|
|
SysUserExt sysUserExt = sysUserExtService.selectSysUserExtById(userId);
|
|
SysUserExt sysUserExt = sysUserExtService.selectSysUserExtById(userId);
|
|
|
List<SysUserShopExt> sysUserShopExt = sysUserShopExtService.selectSysUserShopExtById(obj.getString("userId"));
|
|
List<SysUserShopExt> sysUserShopExt = sysUserShopExtService.selectSysUserShopExtById(obj.getString("userId"));
|
|
|
- if (sysUserShopExt != null && sysUserShopExt.size() > 0){
|
|
|
|
|
- for (SysUserShopExt shopExt : sysUserShopExt){
|
|
|
|
|
|
|
+ if (sysUserShopExt != null && sysUserShopExt.size() > 0) {
|
|
|
|
|
+ for (SysUserShopExt shopExt : sysUserShopExt) {
|
|
|
userTypeSet.add(shopExt.getIsShopType());
|
|
userTypeSet.add(shopExt.getIsShopType());
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ AlertConfiguration alertConfiguration1 = null;
|
|
|
|
|
+ if (sysUserExt != null){
|
|
|
|
|
+ alertConfiguration1 = alertConfigurationService.selectAlertConfigurationByAlertStatus(sysUserExt.getOrgCode());
|
|
|
|
|
+ }else {
|
|
|
|
|
+ alertConfiguration1 = alertConfigurationService. selectAlertConfiguration();
|
|
|
|
|
+ }
|
|
|
//是否有启动弹窗
|
|
//是否有启动弹窗
|
|
|
- AlertConfiguration alertConfiguration1 = alertConfigurationService.selectAlertConfigurationByAlertStatus(sysUserExt.getOrgCode());
|
|
|
|
|
|
|
|
|
|
- if (alertConfiguration1!=null){
|
|
|
|
|
|
|
+ if (alertConfiguration1 != null){
|
|
|
//有启动
|
|
//有启动
|
|
|
alertConfiguration1.setIsClearCache(false);
|
|
alertConfiguration1.setIsClearCache(false);
|
|
|
Date datez = new Date();
|
|
Date datez = new Date();
|