소스 검색

货品档案添加定制价格字段

hu 2 년 전
부모
커밋
e2089d5bd4

+ 1 - 0
src/custom/restcontroller/webmanage/sale/item/Item.java

@@ -164,6 +164,7 @@ public class Item extends Controller {
         sqlFactory.addParameter("volume", content.getBigDecimalValue("volume"));
 
         sqlFactory.addParameter("iscustomsize", content.getBooleanValue("iscustomsize"));
+        sqlFactory.addParameter("customprice", content.getBigDecimalValue("customprice"));
         sqlFactory.addParameter("widthschemeid", content.getBigDecimalValue("widthschemeid"));
         sqlFactory.addParameter("lengthschemeid", content.getBigDecimalValue("lengthschemeid"));
 

+ 1 - 0
src/custom/restcontroller/webmanage/sale/item/SQL/货品档案列表.sql

@@ -35,6 +35,7 @@ SELECT t1.itemid,
        t1.widthschemeid,
        t1.lengthschemeid,
        t1.iscustomsize,
+       t1.customprice,
        t6.auxunitid,
        t6.unitgroupname,
        t7.unitname axunitname,

+ 2 - 1
src/custom/restcontroller/webmanage/sale/item/SQL/货品档案更新.sql

@@ -45,7 +45,8 @@ SET changeuserid=$userid$,
     volume=$volume$,
     widthschemeid=$widthschemeid$,
     lengthschemeid=$lengthschemeid$,
-    iscustomsize=$iscustomsize$
+    iscustomsize=$iscustomsize$,
+    customprice=$customprice$
 WHERE itemid = $itemid$
   and siteid = $siteid$