Bläddra i källkod

到货确认方法调整

shenjingwei 4 månader sedan
förälder
incheckning
212932c521
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      src/custom/common/crm/bean/icstockbill.java

+ 2 - 1
src/custom/common/crm/bean/icstockbill.java

@@ -63,7 +63,7 @@ public class icstockbill extends CrmBase {
      * @param st_stockbillid
      * @throws YosException
      */
-    public void oneAction(long st_stockbillid) throws YosException {
+    public JSONObject oneAction(long st_stockbillid) throws YosException {
         Rows billRows = new DBConnect().runSqlQuery("select * from st_stockbill where st_stockbillid=" + st_stockbillid);
         if (billRows.isEmpty()) {
             throw new YosException("未找到该出库单");
@@ -94,6 +94,7 @@ public class icstockbill extends CrmBase {
             logger.error("销售出库单" + billno + "自动收货失败;" + jsonObject);
             new DBConnect().runSqlUpdate("update st_stockbill set autoreceiveerrtimes=autoreceiveerrtimes+1 where st_stockbillid=" + st_stockbillid);
         }
+        return jsonObject;
     }
 
     /**