|
|
@@ -103,7 +103,7 @@ public class DispatchAutoCloseService extends ServiceController {
|
|
|
}
|
|
|
|
|
|
if(resultobject.getString("errcode").equals("0")){
|
|
|
- sqlList.add("update sa_dispatch set status='关闭' where sa_dispatchid='"+sa_dispatchid+"' and siteid='CCYOSG'");
|
|
|
+ sqlList.add("update sa_dispatch set status='关闭',closedate=current_time,closeby='admin' where sa_dispatchid='"+sa_dispatchid+"' and siteid='CCYOSG'");
|
|
|
SQLFactory sqlFactory = new SQLFactory(new DataContrlLog(), "数据操作日志新增");
|
|
|
sqlFactory.addParameter("ownertable", "sa_dispatch");
|
|
|
sqlFactory.addParameter("ownerid", sa_dispatchid);
|