|
|
@ -1113,7 +1113,7 @@ public class CleanServiceImpl implements CleanService, ManagerTodoNoticeProvider
|
|
|
|
public JSONObject sendSettlementMail(Date date, List<String> clearIds, boolean autoMarkSent) {
|
|
|
|
public JSONObject sendSettlementMail(Date date, List<String> clearIds, boolean autoMarkSent) {
|
|
|
|
JSONObject result = new JSONObject();
|
|
|
|
JSONObject result = new JSONObject();
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
String title = "Royalpay Settlement File " + DateFormatUtils.format(date, "yyyyMMdd");
|
|
|
|
String title = (PlatformEnvironment.getEnv().isDebug() ? "[TEST]" : "") + "Royalpay Settlement File " + DateFormatUtils.format(date, "yyyyMMdd");
|
|
|
|
JSONObject model = new JSONObject();
|
|
|
|
JSONObject model = new JSONObject();
|
|
|
|
model.put("date", DateFormatUtils.format(date, "dd-MM-yyyy"));
|
|
|
|
model.put("date", DateFormatUtils.format(date, "dd-MM-yyyy"));
|
|
|
|
String fileName1 = "Merchant_Settlement_Info_xlsx_" + DateFormatUtils.format(date, "yyyyMMdd");
|
|
|
|
String fileName1 = "Merchant_Settlement_Info_xlsx_" + DateFormatUtils.format(date, "yyyyMMdd");
|
|
|
|