1.短信统一时间格式用来解决时间排序BUG
This commit is contained in:
parent
eaa0533fe4
commit
d88b896a54
@ -23,7 +23,7 @@
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function getMonth(){
|
||||
AsDialog.OpenCalender("NOTICE_TIME", 'yyyy/MM/dd hh:mm:ss','',"");
|
||||
AsDialog.OpenCalender("NOTICE_TIME", 'yyyy-MM-dd hh:mm:ss','',"");
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -1,13 +1,17 @@
|
||||
package com.tenwa.lease.app.message;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.List;
|
||||
|
||||
import jbo.com.tenwa.lease.comm.LB_MESSAGE_CONFIG;
|
||||
import jbo.com.tenwa.lease.comm.LB_SMS_NOTICE_TASKS;
|
||||
import net.sf.json.JSONObject;
|
||||
|
||||
import org.apache.commons.httpclient.HttpClient;
|
||||
import org.apache.commons.httpclient.HttpStatus;
|
||||
import org.apache.commons.httpclient.methods.GetMethod;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
import com.amarsoft.are.jbo.BizObjectManager;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
@ -19,7 +23,7 @@ public class SmsController {
|
||||
private String ids;
|
||||
|
||||
private Logger logger = Logger.getLogger(this.getClass());
|
||||
|
||||
private SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
public String getIds() {
|
||||
return ids;
|
||||
}
|
||||
@ -55,7 +59,7 @@ public class SmsController {
|
||||
boLSNT.setAttributeValue("SMS_TYPE","IMMEDIATELY");
|
||||
//ÅжϷµ»ØµÄ״̬Âë
|
||||
boLSNT.setAttributeValue("SEND_RESULT",SmsController.getResultCodeInfo(statuscode));
|
||||
boLSNT.setAttributeValue("SEND_TIME",StringFunction.getTodayNow());
|
||||
boLSNT.setAttributeValue("SEND_TIME",sdf.format(StringFunction.getTodayNow()));
|
||||
boLSNT.setAttributeValue("SEND_FLAG",1);
|
||||
bomLSNT.saveObject(boLSNT);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user