|
@@ -78,8 +78,10 @@ public class PushFacade {
|
|
|
List<Item> deptList = pushVO.getDept();
|
|
|
String modelType = "0";
|
|
|
if (ListUtil.isNotEmpty(deptList)) {
|
|
|
- modelType = redisUtil.getByKeyAndField(RedisEnum.deptPush.getName(),
|
|
|
- deptList.get(0).getUniqueName());
|
|
|
+ if (StringUtil.isNotBlank(deptList.get(0).getUniqueName())) {
|
|
|
+ modelType = redisUtil.getByKeyAndField(RedisEnum.deptPush.getName(),
|
|
|
+ deptList.get(0).getUniqueName());
|
|
|
+ }
|
|
|
}
|
|
|
if ("0".equals(modelType)) {
|
|
|
return processAggreate(pushVO);
|