|
|
@@ -179,6 +179,7 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
*/
|
|
|
@Override
|
|
|
public ModelMap releaseByWorkbook(Workbook workbook, Boolean selfSale, String currency, Integer isPerson, Integer repeatImport, boolean isPcb) {
|
|
|
+ long l = System.currentTimeMillis();
|
|
|
// 是否上传个人物料
|
|
|
boolean isAPerson = false;
|
|
|
boolean isImport = false;
|
|
|
@@ -210,7 +211,6 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
Row headerRow = sheet.getRow(0);
|
|
|
int total = 0;
|
|
|
int blankNum = 0;
|
|
|
- long l = System.currentTimeMillis();
|
|
|
if (headerRow != null) {
|
|
|
// 验证模板是否为商城模板
|
|
|
validateTemplate(headerRow, colNum, currency, isAPerson, isPcb);
|
|
|
@@ -348,6 +348,8 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
modelMap.put("failure", failure);
|
|
|
modelMap.put("filter", filter);
|
|
|
modelMap.put("batch", batch);
|
|
|
+ long l6 = System.currentTimeMillis();
|
|
|
+ System.err.println("l6--------------l6 testyuj" + (l6 - l5));
|
|
|
return modelMap;
|
|
|
}
|
|
|
|