Sfoglia il codice sorgente

发货单自动关闭bug修复

郭齐峰 3 anni fa
parent
commit
d30eae3f66
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/custom/service/DispatchAutoCloseService.java

+ 1 - 1
src/custom/service/DispatchAutoCloseService.java

@@ -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);