|
|
|
@ -263,7 +263,8 @@ public class ReceiveOrderController { |
|
|
|
|
@ApiParam(name = "xhfNsrsbh", value = "销货方纳税人识别号", required = true) @RequestParam(value = "xhfNsrsbh") String xhfNsrsbh, |
|
|
|
|
@ApiParam(name = "xhfMc", value = "销货方纳税人名称", required = true) @RequestParam(value = "xhfMc") String xhfMc, |
|
|
|
|
@ApiParam(name = "entId", value = "数据组织Id", required = false) @RequestParam(value = "entId", required = false) String entId, |
|
|
|
|
@ApiParam(name = "userId", value = "用户ID", required = true) @RequestParam(value = "userId") String userId) { |
|
|
|
|
@ApiParam(name = "userId", value = "用户ID", required = true) @RequestParam(value = "userId") String userId, |
|
|
|
|
@ApiParam(name = "gsdm", value = "组织编码", required = true) @RequestParam(value = "gsdm") String gsdm) { |
|
|
|
|
//导入的明细条数
|
|
|
|
|
int count = 0; |
|
|
|
|
try { |
|
|
|
@ -372,6 +373,7 @@ public class ReceiveOrderController { |
|
|
|
|
long t5 = System.currentTimeMillis(); |
|
|
|
|
log.debug("excel转换开始,当前时间{}", t5); |
|
|
|
|
List<CommonOrderInfo> orderExcel2OrderInfo = orderExcelReadService.excelToOrderInfo(orderExcelMap, paramMap,terminalCode); |
|
|
|
|
orderExcel2OrderInfo.stream().forEach(f -> {f.getOrderInfo().setGsdm(gsdm);}); |
|
|
|
|
long t6 = System.currentTimeMillis(); |
|
|
|
|
log.debug("excel转换结束,当前时间{},耗时:{}", t6, t6 - t5); |
|
|
|
|
// 将数据插入数据库\
|
|
|
|
|