Jelajahi Sumber

商品列表新增退市状态字段

hu 3 tahun lalu
induk
melakukan
55efbbf292

+ 1 - 0
src/custom/restcontroller/sale/item/SQL/查询商品列表.sql

@@ -16,6 +16,7 @@ SELECT t1.itemid,
        t1.financeclasstype,
        t1.color,
        t1.cheek,
+       t1.delistingstatus,
        t8.caliber,
        t8.pressure,
        t8.material,

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

@@ -148,6 +148,8 @@ public class Item extends Controller {
 
         sqlFactory.addParameter("color", content.getStringValue("color"));
         sqlFactory.addParameter("cheek", content.getStringValue("cheek"));
+        sqlFactory.addParameter("delistingstatus", content.getStringValue("delistingstatus"));
+
         sqlFactory.addParameter("ismodule", content.getStringValue("ismodule"));
         sqlFactory.addParameter("packageqty", content.getStringValue("packageqty"));
         sqlFactory.addParameter("iswoodproducts", content.getStringValue("iswoodproducts"));

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

@@ -28,6 +28,7 @@ SELECT t1.itemid,
        t1.financeclasstype,
        t1.color,
        t1.cheek,
+       t1.delistingstatus,
        t6.auxunitid,
        t6.	unitgroupname,
        t7.unitname axunitname,

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

@@ -2,9 +2,9 @@ insert into plm_item (siteid, itemid, createby, createdate, changeuserid, change
                       isauxunit, unitgroupid, itemname, isonsale, status, model, spec, orderminqty, orderaddqty,
                       orderminqty_auxunit, orderaddqty_auxunit, remarks, barcode, skucontrol, batchcontrol, grossweight,
                       weight, height, width, length, delivery, istool, marketprice, standards, stockstatus2,
-                      stockstatus1, warrantyday, iswuliao, isservice,color,packageqty,ismodule,iswoodproducts,sa_customschemeid,cheek)
+                      stockstatus1, warrantyday, iswuliao, isservice,color,packageqty,ismodule,iswoodproducts,sa_customschemeid,cheek,delistingstatus)
 values ($siteid$, $itemid$, $username$, CURRENT_TIME, $userid$, $username$, CURRENT_TIME, $itemno$, $unitid$,
         $isauxunit$, $unitgroupid$, $itemname$, $isonsale$, '新建', $model$, $spec$, $orderminqty$, $orderaddqty$,
         $orderminqty_auxunit$, $orderaddqty_auxunit$, $remarks$, $barcode$, $skucontrol$, $batchcontrol$, $grossweight$,
         $weight$, $height$, $width$, $length$, $delivery$, $istool$, $marketprice$, $standards$,
-        $stockstatus2$, $stockstatus1$, $warrantyday$, $iswuliao$, $isservice$,$color$,$packageqty$,$ismodule$,$iswoodproducts$,$sa_customschemeid$,$cheek$)
+        $stockstatus2$, $stockstatus1$, $warrantyday$, $iswuliao$, $isservice$,$color$,$packageqty$,$ismodule$,$iswoodproducts$,$sa_customschemeid$,$cheek$,$delistingstatus$)

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

@@ -34,6 +34,7 @@ SET changeuserid=$userid$,
     ismodule = $ismodule$,
     color = $color$,
     cheek=$cheek$,
+    delistingstatus=$delistingstatus$,
     packageqty = $packageqty$,
     iswoodproducts=$iswoodproducts$,
     isservice = $isservice$,