|
@@ -2,6 +2,7 @@ package com.lc.ibps.common.system.service.impl;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
|
+import java.util.Objects;
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
|
|
|
|
|
@@ -108,7 +109,7 @@ public class NewsService implements INewsService {
|
|
|
// 遍历列表,为每个用户插入一条记录
|
|
// 遍历列表,为每个用户插入一条记录
|
|
|
for (String targetUserId : scopeUserIds) {
|
|
for (String targetUserId : scopeUserIds) {
|
|
|
String insertSql= "";
|
|
String insertSql= "";
|
|
|
- if(targetUserId.length()>0){
|
|
|
|
|
|
|
+ if(!Objects.equals(targetUserId, "ALL")){
|
|
|
insertFlag = true;
|
|
insertFlag = true;
|
|
|
insertSql = "INSERT INTO t_ggfwb (id_, create_by_, create_time_, gong_gao_id_, gong_gao_lei_xing, gong_gao_mu_biao_) " +
|
|
insertSql = "INSERT INTO t_ggfwb (id_, create_by_, create_time_, gong_gao_id_, gong_gao_lei_xing, gong_gao_mu_biao_) " +
|
|
|
"VALUES ('%s', '%s', NOW(), '%s', '%s', '%s')";
|
|
"VALUES ('%s', '%s', NOW(), '%s', '%s', '%s')";
|