|
|
@@ -10,6 +10,7 @@ import common.annotation.CACHEING;
|
|
|
import common.annotation.CACHEING_CLEAN;
|
|
|
import common.data.*;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
+import org.apache.poi.ss.usermodel.CellType;
|
|
|
import org.apache.poi.xssf.usermodel.*;
|
|
|
import restcontroller.R;
|
|
|
import restcontroller.system.attachment.Attachment;
|
|
|
@@ -30,7 +31,7 @@ public class ItempriceadjustItemprice extends Controller {
|
|
|
super(content);
|
|
|
}
|
|
|
|
|
|
- @API(title = "商品调价单商品明细新增或更新", apiversion = R.ID20221025095104.v1.class,intervaltime = 200)
|
|
|
+ @API(title = "商品调价单商品明细新增或更新", apiversion = R.ID20221025095104.v1.class, intervaltime = 200)
|
|
|
@CACHEING_CLEAN(apiversions = {R.ID20221025160904.v1.class})
|
|
|
public String insertOrUpdate_sa_itempriceadjust_itemprice() throws YosException {
|
|
|
Long sa_itempriceadjustid = content.getLong("sa_itempriceadjustid");
|
|
|
@@ -269,7 +270,9 @@ public class ItempriceadjustItemprice extends Controller {
|
|
|
keys.add("price4");
|
|
|
keys.add("price5");
|
|
|
|
|
|
- Rows rows = e.getSheetRows(0, keys, 3);
|
|
|
+ HashMap<String, CellType> cellMap = new HashMap<>();
|
|
|
+ cellMap.put("itemno", CellType.STRING);
|
|
|
+ Rows rows = e.getSheetRows(0, keys, cellMap, 3);
|
|
|
boolean iserr = false;
|
|
|
Rows rowserr = new Rows();
|
|
|
Rows rowssuc = new Rows();
|