|
|
|
@ -119,7 +119,7 @@ public class NoticeManageImpl implements NoticeManage {
|
|
|
|
|
notice.put("create_name", manager.getString("display_name"));
|
|
|
|
|
if (notice.getInteger("merchants_type") != 1){
|
|
|
|
|
StringBuilder sendClients = new StringBuilder();
|
|
|
|
|
List<JSONObject> clients = clientMapper.listValidClientFor30Days(notice);
|
|
|
|
|
List<JSONObject> clients = clientMapper.listValidClientFor90Days(notice);
|
|
|
|
|
clients.forEach(c -> {
|
|
|
|
|
if (c.getInteger("parent_client_id")==null || c.getInteger("parent_client_id")!=9){
|
|
|
|
|
String p = c.getString("client_moniker")+",";
|
|
|
|
@ -180,7 +180,7 @@ public class NoticeManageImpl implements NoticeManage {
|
|
|
|
|
if (notice.getInteger("merchants_type") != 1){
|
|
|
|
|
StringBuilder sendClients = new StringBuilder();
|
|
|
|
|
|
|
|
|
|
List<JSONObject> clients = clientMapper.listValidClientFor30Days(notice);
|
|
|
|
|
List<JSONObject> clients = clientMapper.listValidClientFor90Days(notice);
|
|
|
|
|
clients.forEach(c -> {
|
|
|
|
|
if (c.getInteger("parent_client_id")==null || c.getInteger("parent_client_id")!=9){
|
|
|
|
|
String p = c.getString("client_moniker")+",";
|
|
|
|
|