瀏覽代碼

出入库单新增修改添加仓库

hu 10 月之前
父節點
當前提交
a43e1df140
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/custom/restcontroller/webmanage/sale/stockbill/stockbill.java

+ 3 - 0
src/custom/restcontroller/webmanage/sale/stockbill/stockbill.java

@@ -60,6 +60,7 @@ public class stockbill extends Controller {
         }
         }
         Long departmentid = content.getLongValue("departmentid");
         Long departmentid = content.getLongValue("departmentid");
         String type = content.getStringValue("type");
         String type = content.getStringValue("type");
+        long stockid= content.getLongValue("stockid");
         String typemx = content.getStringValue("typemx");
         String typemx = content.getStringValue("typemx");
         String remarks = content.getStringValue("remarks");
         String remarks = content.getStringValue("remarks");
         String billdate = content.getStringValue("billdate");
         String billdate = content.getStringValue("billdate");
@@ -88,6 +89,7 @@ public class stockbill extends Controller {
             insertSQL.setValue("sys_enterpriseid", sys_enterpriseid);
             insertSQL.setValue("sys_enterpriseid", sys_enterpriseid);
             insertSQL.setValue("rec_contactsid", rec_contactsid);
             insertSQL.setValue("rec_contactsid", rec_contactsid);
             insertSQL.setValue("departmentid", departmentid);
             insertSQL.setValue("departmentid", departmentid);
+            insertSQL.setValue("stockid", stockid);
             insertSQL.setValue("type", type);
             insertSQL.setValue("type", type);
             insertSQL.setValue("typemx", typemx);
             insertSQL.setValue("typemx", typemx);
             insertSQL.setValue("remarks", remarks);
             insertSQL.setValue("remarks", remarks);
@@ -126,6 +128,7 @@ public class stockbill extends Controller {
                     updateSQL.setValue("sys_enterpriseid", sys_enterpriseid);
                     updateSQL.setValue("sys_enterpriseid", sys_enterpriseid);
                     updateSQL.setValue("rec_contactsid", rec_contactsid);
                     updateSQL.setValue("rec_contactsid", rec_contactsid);
                     updateSQL.setValue("departmentid", departmentid);
                     updateSQL.setValue("departmentid", departmentid);
+                    updateSQL.setValue("stockid", stockid);
                     updateSQL.setValue("remarks", remarks);
                     updateSQL.setValue("remarks", remarks);
                     updateSQL.setValue("billdate", billdate);
                     updateSQL.setValue("billdate", billdate);
                     updateSQL.setValue("outplace", outplace);
                     updateSQL.setValue("outplace", outplace);