|
@@ -441,91 +441,91 @@ public class Item extends Controller {
|
|
|
}
|
|
|
|
|
|
|
|
|
- if (isExport) {
|
|
|
- //去除不需要导出项
|
|
|
- rows.getFieldList().remove("itemid");
|
|
|
- rows.getFieldList().remove("marketprice");
|
|
|
- rows.getFieldList().remove("unitid");
|
|
|
- rows.getFieldList().remove("createdate");
|
|
|
- rows.getFieldList().remove("barcode");
|
|
|
- rows.getFieldList().remove("skucontrol");
|
|
|
- rows.getFieldList().remove("batchcontrol");
|
|
|
- rows.getFieldList().remove("grossweight");
|
|
|
- rows.getFieldList().remove("weight");
|
|
|
- rows.getFieldList().remove("height");
|
|
|
- rows.getFieldList().remove("width");
|
|
|
- rows.getFieldList().remove("length");
|
|
|
- rows.getFieldList().remove("delivery");
|
|
|
- rows.getFieldList().remove("istool");
|
|
|
- rows.getFieldList().remove("volume");
|
|
|
- rows.getFieldList().remove("marketingcategory");
|
|
|
- rows.getFieldList().remove("ismodule");
|
|
|
- rows.getFieldList().remove("cheek");
|
|
|
- rows.getFieldList().remove("material");
|
|
|
- rows.getFieldList().remove("iswoodproducts");
|
|
|
- rows.getFieldList().remove("financeclasstype");
|
|
|
- rows.getFieldList().remove("delistingstatus");
|
|
|
- rows.getFieldList().remove("stockno");
|
|
|
- rows.getFieldList().remove("widthschemeid");
|
|
|
- rows.getFieldList().remove("lengthschemeid");
|
|
|
- rows.getFieldList().remove("iscustomsize");
|
|
|
- rows.getFieldList().remove("customprice");
|
|
|
- rows.getFieldList().remove("auxunitid");
|
|
|
- rows.getFieldList().remove("unitgroupname");
|
|
|
- rows.getFieldList().remove("axunitname");
|
|
|
- rows.getFieldList().remove("caliber");
|
|
|
- rows.getFieldList().remove("pressure");
|
|
|
- rows.getFieldList().remove("butterflyplatedrive");
|
|
|
- rows.getFieldList().remove("valveplatematerial");
|
|
|
- rows.getFieldList().remove("bodymaterial");
|
|
|
- rows.getFieldList().remove("actuatortype");
|
|
|
- rows.getFieldList().remove("actuatorbrand");
|
|
|
- rows.getFieldList().remove("isbutterfly");
|
|
|
- rows.getFieldList().remove("erpitemno");
|
|
|
- rows.getFieldList().remove("erpitemname");
|
|
|
- rows.getFieldList().remove("specalnote");
|
|
|
- rows.getFieldList().remove("prodline");
|
|
|
- rows.getFieldList().remove("device");
|
|
|
- rows.getFieldList().remove("widthschemename");
|
|
|
- rows.getFieldList().remove("lengthschemename");
|
|
|
- rows.getFieldList().remove("brand");
|
|
|
- rows.getFieldList().remove("connection");
|
|
|
- rows.getFieldList().remove("siteid");
|
|
|
- rows.getFieldList().remove("createby");
|
|
|
- rows.getFieldList().remove("changeuserid");
|
|
|
- rows.getFieldList().remove("changeby");
|
|
|
- rows.getFieldList().remove("changedate");
|
|
|
- rows.getFieldList().remove("isauxunit");
|
|
|
- rows.getFieldList().remove("unitgroupid");
|
|
|
-
|
|
|
- rows.getFieldList().remove("status");
|
|
|
- rows.getFieldList().remove("orderminqty_auxunit");
|
|
|
- rows.getFieldList().remove("orderaddqty_auxunit");
|
|
|
- rows.getFieldList().remove("checkby");
|
|
|
- rows.getFieldList().remove("checkdate");
|
|
|
- rows.getFieldList().remove("onsaledate");
|
|
|
- rows.getFieldList().remove("onsaleby");
|
|
|
- rows.getFieldList().remove("remarks");
|
|
|
- rows.getFieldList().remove("standards");
|
|
|
- rows.getFieldList().remove("stockstatus2");
|
|
|
- rows.getFieldList().remove("stockstatus1");
|
|
|
- rows.getFieldList().remove("warrantyday");
|
|
|
- rows.getFieldList().remove("iswuliao");
|
|
|
- rows.getFieldList().remove("isservice");
|
|
|
- rows.getFieldList().remove("sa_agentsid");
|
|
|
- rows.getFieldList().remove("sa_customschemeid");
|
|
|
- rows.getFieldList().remove("k3outcode");
|
|
|
- rows.getFieldList().remove("description");
|
|
|
- rows.getFieldList().remove("price1");
|
|
|
- rows.getFieldList().remove("price2");
|
|
|
- rows.getFieldList().remove("price3");
|
|
|
- rows.getFieldList().remove("price4");
|
|
|
- rows.getFieldList().remove("price5");
|
|
|
-
|
|
|
-
|
|
|
- Rows uploadRows = uploadExcelToObs("item", "商品列表", rows, getTitleMap());
|
|
|
- return getSucReturnObject().setData(uploadRows).toString();
|
|
|
- }
|
|
|
+// if (isExport) {
|
|
|
+// //去除不需要导出项
|
|
|
+// rows.getFieldList().remove("itemid");
|
|
|
+// rows.getFieldList().remove("marketprice");
|
|
|
+// rows.getFieldList().remove("unitid");
|
|
|
+// rows.getFieldList().remove("createdate");
|
|
|
+// rows.getFieldList().remove("barcode");
|
|
|
+// rows.getFieldList().remove("skucontrol");
|
|
|
+// rows.getFieldList().remove("batchcontrol");
|
|
|
+// rows.getFieldList().remove("grossweight");
|
|
|
+// rows.getFieldList().remove("weight");
|
|
|
+// rows.getFieldList().remove("height");
|
|
|
+// rows.getFieldList().remove("width");
|
|
|
+// rows.getFieldList().remove("length");
|
|
|
+// rows.getFieldList().remove("delivery");
|
|
|
+// rows.getFieldList().remove("istool");
|
|
|
+// rows.getFieldList().remove("volume");
|
|
|
+// rows.getFieldList().remove("marketingcategory");
|
|
|
+// rows.getFieldList().remove("ismodule");
|
|
|
+// rows.getFieldList().remove("cheek");
|
|
|
+// rows.getFieldList().remove("material");
|
|
|
+// rows.getFieldList().remove("iswoodproducts");
|
|
|
+// rows.getFieldList().remove("financeclasstype");
|
|
|
+// rows.getFieldList().remove("delistingstatus");
|
|
|
+// rows.getFieldList().remove("stockno");
|
|
|
+// rows.getFieldList().remove("widthschemeid");
|
|
|
+// rows.getFieldList().remove("lengthschemeid");
|
|
|
+// rows.getFieldList().remove("iscustomsize");
|
|
|
+// rows.getFieldList().remove("customprice");
|
|
|
+// rows.getFieldList().remove("auxunitid");
|
|
|
+// rows.getFieldList().remove("unitgroupname");
|
|
|
+// rows.getFieldList().remove("axunitname");
|
|
|
+// rows.getFieldList().remove("caliber");
|
|
|
+// rows.getFieldList().remove("pressure");
|
|
|
+// rows.getFieldList().remove("butterflyplatedrive");
|
|
|
+// rows.getFieldList().remove("valveplatematerial");
|
|
|
+// rows.getFieldList().remove("bodymaterial");
|
|
|
+// rows.getFieldList().remove("actuatortype");
|
|
|
+// rows.getFieldList().remove("actuatorbrand");
|
|
|
+// rows.getFieldList().remove("isbutterfly");
|
|
|
+// rows.getFieldList().remove("erpitemno");
|
|
|
+// rows.getFieldList().remove("erpitemname");
|
|
|
+// rows.getFieldList().remove("specalnote");
|
|
|
+// rows.getFieldList().remove("prodline");
|
|
|
+// rows.getFieldList().remove("device");
|
|
|
+// rows.getFieldList().remove("widthschemename");
|
|
|
+// rows.getFieldList().remove("lengthschemename");
|
|
|
+// rows.getFieldList().remove("brand");
|
|
|
+// rows.getFieldList().remove("connection");
|
|
|
+// rows.getFieldList().remove("siteid");
|
|
|
+// rows.getFieldList().remove("createby");
|
|
|
+// rows.getFieldList().remove("changeuserid");
|
|
|
+// rows.getFieldList().remove("changeby");
|
|
|
+// rows.getFieldList().remove("changedate");
|
|
|
+// rows.getFieldList().remove("isauxunit");
|
|
|
+// rows.getFieldList().remove("unitgroupid");
|
|
|
+//
|
|
|
+// rows.getFieldList().remove("status");
|
|
|
+// rows.getFieldList().remove("orderminqty_auxunit");
|
|
|
+// rows.getFieldList().remove("orderaddqty_auxunit");
|
|
|
+// rows.getFieldList().remove("checkby");
|
|
|
+// rows.getFieldList().remove("checkdate");
|
|
|
+// rows.getFieldList().remove("onsaledate");
|
|
|
+// rows.getFieldList().remove("onsaleby");
|
|
|
+// rows.getFieldList().remove("remarks");
|
|
|
+// rows.getFieldList().remove("standards");
|
|
|
+// rows.getFieldList().remove("stockstatus2");
|
|
|
+// rows.getFieldList().remove("stockstatus1");
|
|
|
+// rows.getFieldList().remove("warrantyday");
|
|
|
+// rows.getFieldList().remove("iswuliao");
|
|
|
+// rows.getFieldList().remove("isservice");
|
|
|
+// rows.getFieldList().remove("sa_agentsid");
|
|
|
+// rows.getFieldList().remove("sa_customschemeid");
|
|
|
+// rows.getFieldList().remove("k3outcode");
|
|
|
+// rows.getFieldList().remove("description");
|
|
|
+// rows.getFieldList().remove("price1");
|
|
|
+// rows.getFieldList().remove("price2");
|
|
|
+// rows.getFieldList().remove("price3");
|
|
|
+// rows.getFieldList().remove("price4");
|
|
|
+// rows.getFieldList().remove("price5");
|
|
|
+//
|
|
|
+//
|
|
|
+// Rows uploadRows = uploadExcelToObs("item", "商品列表", rows, getTitleMap());
|
|
|
+// return getSucReturnObject().setData(uploadRows).toString();
|
|
|
+// }
|
|
|
|
|
|
return getSucReturnObject().setData(rows).toString();
|
|
|
}
|