|
|
@@ -25,6 +25,7 @@ public class SendArbillmailServiceImpl implements SendArbillmailService{
|
|
|
|
|
|
public void send_abillmail() {
|
|
|
send_abillmailbymaster_sz();
|
|
|
+
|
|
|
send_abillmailbymaster_hk();
|
|
|
}
|
|
|
|
|
|
@@ -54,11 +55,9 @@ public class SendArbillmailServiceImpl implements SendArbillmailService{
|
|
|
Object total=baseDao.queryForObject("select to_char(sum(RESAMOUNT), 'FM9,999,999,999,999,999,999,999,990.00') from UNFULLCOLLECT_VIEW where CU_SELLERNAME = '"+emrs.getString("name")+"' or CU_SERVICENAME = '"+emrs.getString("name")+"'",String.class);
|
|
|
message.append("<tr><th><font color=\"red\">合计<font></th><th></th><th></th><th></th><th align=\"right\"><font color=\"red\">"+total.toString()+"<font></th></tr>");
|
|
|
message.append("</table><p><font color=\"red\">如有疑问请联系系统维护人员,谢谢!</font></p><p><font color=\"red\">日期:"+ DateUtil.format(new Date(),"yyyy-MM-dd")+"</font></p>");
|
|
|
-
|
|
|
- message.append("<p>正式抄送:"+ccman.toString()+"</p>");
|
|
|
-
|
|
|
// sendMailService.sendSysMail("应收款到期7天提醒("+emrs.getString("name")+")",message.toString(),emrs.getString("mail"),ccman.toString(),null);
|
|
|
- sendMailService.sendSysMail("应收款到期7天提醒("+emrs.getString("name")+")",message.toString(),"396996717@qq.com","727300463@qq.com;xiaolu.ding@hi-mantech.com",null);
|
|
|
+ sendMailService.sendSysMail("应收款到期7天提醒("+emrs.getString("name")+")",message.toString(),"396996717@qq.com","geek94@qq.com;zdw941008@sina.com",null);
|
|
|
+// System.out.println("应收款到期7天提醒("+emrs.getString("name")+")");
|
|
|
// System.out.println(emrs.getString("mail"));
|
|
|
// System.out.println(ccman.toString());
|
|
|
// System.out.println(message);
|
|
|
@@ -94,11 +93,9 @@ public class SendArbillmailServiceImpl implements SendArbillmailService{
|
|
|
Object total_rmb=baseDao.queryForObject("select to_char(sum(RESAMOUNT_RMB), 'FM9,999,999,999,999,999,999,999,990.00') from UNFULLCOLLECT_VIEW where CU_SELLERNAME = '"+emrs.getString("name")+"' or CU_SERVICENAME = '"+emrs.getString("name")+"'",String.class);
|
|
|
message.append("<tr><th><font color=\"red\">合计<font></th><th></th><th></th><th></th><th></th><th align=\"right\"><font color=\"red\">"+total.toString()+"<font></th><th align=\"right\"><font color=\"red\">" + total_rmb.toString() + "<font></th></tr>");
|
|
|
message.append("</table><p><font color=\"red\">如有疑问请联系系统维护人员,谢谢!</font></p><p><font color=\"red\">日期:"+ DateUtil.format(new Date(),"yyyy-MM-dd")+"</font></p>");
|
|
|
-
|
|
|
- message.append("<p>正式抄送:"+ccman.toString()+"</p>");
|
|
|
-
|
|
|
- // sendMailService.sendSysMail("应收款到期7天提醒("+emrs.getString("name")+")",message.toString(),emrs.getString("mail"),ccman.toString(),null);
|
|
|
- sendMailService.sendSysMail("应收款到期7天提醒("+emrs.getString("name")+")",message.toString(),"396996717@qq.com","727300463@qq.com;xiaolu.ding@hi-mantech.com",null);
|
|
|
+ //sendMailService.sendSysMail("应收款到期7天提醒("+emrs.getString("name")+")",message.toString(),emrs.getString("mail"),ccman.toString(),null);
|
|
|
+ sendMailService.sendSysMail("应收款到期7天提醒("+emrs.getString("name")+")",message.toString(),"396996717@qq.com","geek94@qq.com;zdw941008@sina.com",null);
|
|
|
+// System.out.println("应收款到期7天提醒("+emrs.getString("name")+")");
|
|
|
// System.out.println(emrs.getString("mail"));
|
|
|
// System.out.println(ccman.toString());
|
|
|
// System.out.println(message);
|