|
@@ -135,7 +135,7 @@ public class PurOrderController {
|
|
|
//@AutoLog(value = "采购订单-分页列表查询")
|
|
|
@ApiOperation(value = "采购订单-分页列表查询", notes = "采购订单-分页列表查询")
|
|
|
@GetMapping(value = "/list")
|
|
|
- @PermissionData(pageComponent="purchase/purchaseOrder/PurchaseOrderFormList")
|
|
|
+ @PermissionData(pageComponent = "purchase/purchaseOrder/PurchaseOrderFormList")
|
|
|
public Result<IPage<PurOrder>> queryPageList(PurOrder purOrder,
|
|
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
|
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
|
@@ -160,6 +160,20 @@ public class PurOrderController {
|
|
|
return Result.OK(pageList);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "采购订单-分页列表查询(采购预付款申请使用)", notes = "采购订单-分页列表查询(采购预付款使用)")
|
|
|
+ @GetMapping(value = "/listAlertAdvance")
|
|
|
+ @PermissionData(pageComponent = "purchase/purchaseOrder/PurchaseOrderFormList")
|
|
|
+ public Result<IPage<PurOrder>> listAlertAdvance(PurOrder purOrder,
|
|
|
+ @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
|
|
+ @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
|
|
+ HttpServletRequest req) {
|
|
|
+ QueryWrapper<PurOrder> queryWrapper = QueryGenerator.initQueryWrapper(purOrder, req.getParameterMap());
|
|
|
+ Page<PurOrder> page = new Page<PurOrder>(pageNo, pageSize);
|
|
|
+// queryWrapper.apply("discount_amount > IFNULL(total_amount_used, 0)");
|
|
|
+ IPage<PurOrder> pageList = purOrderService.page(page, queryWrapper);
|
|
|
+ return Result.OK(pageList);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 采购订单弹框明细(到货单使用)
|
|
|
*
|
|
@@ -171,7 +185,7 @@ public class PurOrderController {
|
|
|
*/
|
|
|
@ApiOperation(value = "采购订单弹框明细", notes = "采购订单弹框明细")
|
|
|
@GetMapping(value = "/selectPurOrderDetailAlert")
|
|
|
- @PermissionData(pageComponent="purchase/purchaseOrder/PurchaseOrderFormList")
|
|
|
+ @PermissionData(pageComponent = "purchase/purchaseOrder/PurchaseOrderFormList")
|
|
|
public Result<IPage<PurOrderAlert>> selectContractDetailAlert(PurOrderAlert saleInquiryForm,
|
|
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
|
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
|
@@ -281,7 +295,7 @@ public class PurOrderController {
|
|
|
|
|
|
List<PurOrderShip> purOrderShipListOld = purOrderShipService.selectByMainId(purOrder.getId());
|
|
|
List<PurOrderShipHis> purOrderShipHisList = new ArrayList<>();
|
|
|
- if (purOrderShipListOld !=null && purOrderShipListOld.size() > 0) {
|
|
|
+ if (purOrderShipListOld != null && purOrderShipListOld.size() > 0) {
|
|
|
for (PurOrderShip o : purOrderShipListOld) {
|
|
|
PurOrderShipHis his = new PurOrderShipHis();
|
|
|
BeanUtils.copyProperties(o, his);
|
|
@@ -294,7 +308,7 @@ public class PurOrderController {
|
|
|
|
|
|
List<PurOrderProduct> purOrderProductListOld = purOrderProductService.selectByMainId(purOrder.getId());
|
|
|
List<PurOrderProductHis> purOrderProductList = new ArrayList<>();
|
|
|
- if (purOrderProductListOld !=null && purOrderProductListOld.size() > 0) {
|
|
|
+ if (purOrderProductListOld != null && purOrderProductListOld.size() > 0) {
|
|
|
|
|
|
for (PurOrderProduct o : purOrderProductListOld) {
|
|
|
PurOrderProductHis his = new PurOrderProductHis();
|
|
@@ -364,7 +378,7 @@ public class PurOrderController {
|
|
|
return Result.error("单号" + order.getBillCode() + "已提交,无法删除");
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
this.purOrderService.delBatchMain(Arrays.asList(ids.split(",")));
|
|
|
return Result.OK("批量删除成功!");
|
|
|
}
|
|
@@ -475,10 +489,10 @@ public class PurOrderController {
|
|
|
queryPurDeliveryNote.eq("del_flag", "0");
|
|
|
|
|
|
List<PurDeliveryNote> listPurDeliveryNote = purDeliveryNoteService.list(queryPurDeliveryNote);
|
|
|
- if(listPurDeliveryNote.size() > 0){
|
|
|
+ if (listPurDeliveryNote.size() > 0) {
|
|
|
List<String> codeList = listPurDeliveryNote.stream().map(PurDeliveryNote::getBillCode).collect(Collectors.toList());
|
|
|
String codes = StringUtils.join(codeList.toArray(), ",");
|
|
|
- sb.append("单号" + code).append("已被到货单使用,请勿取消提交"+codes+";");
|
|
|
+ sb.append("单号" + code).append("已被到货单使用,请勿取消提交" + codes + ";");
|
|
|
continue;
|
|
|
}
|
|
|
QueryWrapper<PurPaymentRequest> queryPurPaymentRequest = new QueryWrapper();
|
|
@@ -486,10 +500,10 @@ public class PurOrderController {
|
|
|
queryPurPaymentRequest.eq("del_flag", "0");
|
|
|
|
|
|
List<PurPaymentRequest> listPurPaymentRequest = purPaymentRequestService.list(queryPurPaymentRequest);
|
|
|
- if(listPurPaymentRequest.size() > 0){
|
|
|
+ if (listPurPaymentRequest.size() > 0) {
|
|
|
List<String> codeList = listPurPaymentRequest.stream().map(PurPaymentRequest::getBillCode).collect(Collectors.toList());
|
|
|
String codes = StringUtils.join(codeList.toArray(), ",");
|
|
|
- sb.append("单号" + code).append("已被采购付款申请使用,请勿取消提交"+codes+";");
|
|
|
+ sb.append("单号" + code).append("已被采购付款申请使用,请勿取消提交" + codes + ";");
|
|
|
continue;
|
|
|
}
|
|
|
}
|
|
@@ -559,7 +573,7 @@ public class PurOrderController {
|
|
|
|
|
|
PurOrder ent = new PurOrder();
|
|
|
ent.setStatus(1);
|
|
|
- LoginUser sysUser = (LoginUser)SecurityUtils.getSubject().getPrincipal();
|
|
|
+ LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
ent.setConfirmBy(sysUser.getUsername());
|
|
|
ent.setConfirmTime(new Date());
|
|
|
purOrderService.update(ent, queryWrapper);
|
|
@@ -633,7 +647,7 @@ public class PurOrderController {
|
|
|
@AutoLog(value = "采购订单-批量关闭")
|
|
|
@ApiOperation(value = "采购订单-批量关闭", notes = "采购订单-批量关闭")
|
|
|
@GetMapping(value = "/submitClose")
|
|
|
- public Result<String> submitClose(@RequestParam(name = "ids", required = true) String ids,String closeReason) {
|
|
|
+ public Result<String> submitClose(@RequestParam(name = "ids", required = true) String ids, String closeReason) {
|
|
|
|
|
|
QueryWrapper<PurOrder> queryWrapper = new QueryWrapper<>();
|
|
|
queryWrapper.in("id", Arrays.asList(ids.split(",")));
|
|
@@ -766,32 +780,32 @@ public class PurOrderController {
|
|
|
List<PurOrderProduct> purOrderProductList = purOrderProductService.selectByMainId(id);
|
|
|
|
|
|
//对于历史数据没有折扣和折前单价的数据,执行此方法获取折扣和折前单价
|
|
|
- if(purOrderProductList.size()>0 && purOrderProductList.get(0).getTaxPriceOriginal()==null
|
|
|
+ if (purOrderProductList.size() > 0 && purOrderProductList.get(0).getTaxPriceOriginal() == null
|
|
|
&& StringUtils.isNotBlank(purOrderProductList.get(0).getSourceId())
|
|
|
- ){
|
|
|
+ ) {
|
|
|
// 获取销售订单行
|
|
|
List<SaleOrderProduct> saleOrderProductList = new ArrayList<>();
|
|
|
- if (oConvertUtils.listIsNotEmpty(purOrderProductList)){
|
|
|
+ if (oConvertUtils.listIsNotEmpty(purOrderProductList)) {
|
|
|
LambdaQueryWrapper<SaleOrderProduct> productWrapper = new LambdaQueryWrapper<>();
|
|
|
productWrapper.in(SaleOrderProduct::getId, purOrderProductList.stream().map(PurOrderProduct::getSourceId).collect(Collectors.toList()));
|
|
|
saleOrderProductList = saleOrderProductService.list(productWrapper);
|
|
|
}
|
|
|
// 获取报价单行
|
|
|
List<SaleQuotationProduct> saleQuotationProductList = new ArrayList<>();
|
|
|
- if (oConvertUtils.listIsNotEmpty(saleOrderProductList)){
|
|
|
+ if (oConvertUtils.listIsNotEmpty(saleOrderProductList)) {
|
|
|
LambdaQueryWrapper<SaleQuotationProduct> productWrapper = new LambdaQueryWrapper<>();
|
|
|
productWrapper.in(SaleQuotationProduct::getId, saleOrderProductList.stream().map(SaleOrderProduct::getSourceId).collect(Collectors.toList()));
|
|
|
saleQuotationProductList = saleQuotationProductService.list(productWrapper);
|
|
|
}
|
|
|
// 获取报价选定单行
|
|
|
List<PurQuotationSelectionProduct> purQuotationSelectionProductList = new ArrayList<>();
|
|
|
- if (oConvertUtils.listIsNotEmpty(saleQuotationProductList)){
|
|
|
+ if (oConvertUtils.listIsNotEmpty(saleQuotationProductList)) {
|
|
|
LambdaQueryWrapper<PurQuotationSelectionProduct> productWrapper = new LambdaQueryWrapper<>();
|
|
|
productWrapper.in(PurQuotationSelectionProduct::getId, saleQuotationProductList.stream().map(SaleQuotationProduct::getSourceId).collect(Collectors.toList()));
|
|
|
purQuotationSelectionProductList = purQuotationSelectionProductService.list(productWrapper);
|
|
|
}
|
|
|
|
|
|
- for (PurOrderProduct product : purOrderProductList){
|
|
|
+ for (PurOrderProduct product : purOrderProductList) {
|
|
|
|
|
|
product.setDiscount(new BigDecimal("0"));
|
|
|
product.setTaxPriceOriginal(product.getTaxPrice());
|
|
@@ -803,7 +817,7 @@ public class PurOrderController {
|
|
|
if (saleOrderProduct != null) {
|
|
|
PurQuotationSelectionProduct quotationSelectionProduct = purQuotationSelectionProductList.stream().filter(e -> e.getId().equals(saleQuotationProduct.getSourceId())).findFirst().orElse(null);
|
|
|
|
|
|
- if(quotationSelectionProduct!=null){
|
|
|
+ if (quotationSelectionProduct != null) {
|
|
|
if (oConvertUtils.isNotEmpty(quotationSelectionProduct.getDiscount())) {
|
|
|
product.setDiscount(quotationSelectionProduct.getDiscount());
|
|
|
BigDecimal dic = product.getDiscount() == null ? BigDecimal.ZERO : product.getDiscount();
|
|
@@ -924,7 +938,7 @@ public class PurOrderController {
|
|
|
PurOrder purOrder = purOrderService.getById(id);
|
|
|
List<PurOrderProduct> productList = purOrderProductService.selectByMainWithOrgPrice(id);
|
|
|
BaseTemplates templates = null;
|
|
|
- if (purOrder.getDiscountHead() == null || purOrder.getDiscountHead().doubleValue()==0) {
|
|
|
+ if (purOrder.getDiscountHead() == null || purOrder.getDiscountHead().doubleValue() == 0) {
|
|
|
templates = templatesN;
|
|
|
} else {
|
|
|
templates = templatesZ;
|
|
@@ -935,17 +949,17 @@ public class PurOrderController {
|
|
|
try {
|
|
|
// 折上折
|
|
|
if (oConvertUtils.isNotEmpty(purOrder.getDiscountHead())) {
|
|
|
- purOrder.setDiscountHeadText((100-purOrder.getDiscountHead().doubleValue()) + "%");
|
|
|
+ purOrder.setDiscountHeadText((100 - purOrder.getDiscountHead().doubleValue()) + "%");
|
|
|
BigDecimal discountAmount = purOrder.getTotalAmount().subtract(purOrder.getDiscountAmount());
|
|
|
purOrder.setDiscountHeadMoney(discountAmount.setScale(2));
|
|
|
}
|
|
|
|
|
|
String agreementTerms = purOrder.getAgreementTerms();
|
|
|
if (StringUtils.isNotBlank(agreementTerms)) {
|
|
|
- String info = sysDictService.queryAgreementTermsByName(agreementTerms);
|
|
|
- if(StringUtils.isNotBlank(info)){
|
|
|
- purOrder.setAgreementTerms(info);
|
|
|
- }
|
|
|
+ String info = sysDictService.queryAgreementTermsByName(agreementTerms);
|
|
|
+ if (StringUtils.isNotBlank(info)) {
|
|
|
+ purOrder.setAgreementTerms(info);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
String productionClass = purOrder.getProductionClass();
|
|
@@ -976,7 +990,7 @@ public class PurOrderController {
|
|
|
purOrder.setPurchaseEmail(sysUser.getEmail());
|
|
|
// 获取计产品档案
|
|
|
List<BaseProductArchive> productArchiveList = new ArrayList<>();
|
|
|
- if (oConvertUtils.listIsNotEmpty(productList)){
|
|
|
+ if (oConvertUtils.listIsNotEmpty(productList)) {
|
|
|
LambdaQueryWrapper<BaseProductArchive> productWrapper = new LambdaQueryWrapper<>();
|
|
|
productWrapper.in(BaseProductArchive::getId, productList.stream().map(PurOrderProduct::getProductId).collect(Collectors.toList()));
|
|
|
productArchiveList = baseProductArchiveService.list(productWrapper);
|
|
@@ -984,21 +998,21 @@ public class PurOrderController {
|
|
|
|
|
|
// 获取销售订单行
|
|
|
List<SaleOrderProduct> saleOrderProductList = new ArrayList<>();
|
|
|
- if (oConvertUtils.listIsNotEmpty(productList)){
|
|
|
+ if (oConvertUtils.listIsNotEmpty(productList)) {
|
|
|
LambdaQueryWrapper<SaleOrderProduct> productWrapper = new LambdaQueryWrapper<>();
|
|
|
productWrapper.in(SaleOrderProduct::getId, productList.stream().map(PurOrderProduct::getSourceId).collect(Collectors.toList()));
|
|
|
saleOrderProductList = saleOrderProductService.list(productWrapper);
|
|
|
}
|
|
|
// 获取报价单行
|
|
|
List<SaleQuotationProduct> saleQuotationProductList = new ArrayList<>();
|
|
|
- if (oConvertUtils.listIsNotEmpty(saleOrderProductList)){
|
|
|
+ if (oConvertUtils.listIsNotEmpty(saleOrderProductList)) {
|
|
|
LambdaQueryWrapper<SaleQuotationProduct> productWrapper = new LambdaQueryWrapper<>();
|
|
|
productWrapper.in(SaleQuotationProduct::getId, saleOrderProductList.stream().map(SaleOrderProduct::getSourceId).collect(Collectors.toList()));
|
|
|
saleQuotationProductList = saleQuotationProductService.list(productWrapper);
|
|
|
}
|
|
|
// 获取报价选定单行
|
|
|
List<PurQuotationSelectionProduct> purQuotationSelectionProductList = new ArrayList<>();
|
|
|
- if (oConvertUtils.listIsNotEmpty(saleQuotationProductList)){
|
|
|
+ if (oConvertUtils.listIsNotEmpty(saleQuotationProductList)) {
|
|
|
LambdaQueryWrapper<PurQuotationSelectionProduct> productWrapper = new LambdaQueryWrapper<>();
|
|
|
productWrapper.in(PurQuotationSelectionProduct::getId, saleQuotationProductList.stream().map(SaleQuotationProduct::getSourceId).collect(Collectors.toList()));
|
|
|
purQuotationSelectionProductList = purQuotationSelectionProductService.list(productWrapper);
|
|
@@ -1013,63 +1027,70 @@ public class PurOrderController {
|
|
|
// 产品设置
|
|
|
int rowNum = 1;
|
|
|
BigDecimal orderMoney = BigDecimal.ZERO;
|
|
|
- for (PurOrderProduct product : productList){
|
|
|
+ for (PurOrderProduct product : productList) {
|
|
|
product.setRowNumber(rowNum++);
|
|
|
- BigDecimal amount = product.getTaxAmount() == null ? BigDecimal.ZERO: product.getTaxAmount();
|
|
|
+ BigDecimal amount = product.getTaxAmount() == null ? BigDecimal.ZERO : product.getTaxAmount();
|
|
|
orderMoney = orderMoney.add(amount);
|
|
|
- if (product.getDeliveryTime() != null){
|
|
|
+ if (product.getDeliveryTime() != null) {
|
|
|
product.setDeliverDateText(DateUtils.date2Str(product.getDeliveryTime(), DateUtils.date_sdf.get()));
|
|
|
}
|
|
|
- BaseProductArchive findProduct = productArchiveList.stream().filter(e->e.getId().equals(product.getProductId())).findFirst().orElse(null);
|
|
|
- if (findProduct != null){
|
|
|
+ BaseProductArchive findProduct = productArchiveList.stream().filter(e -> e.getId().equals(product.getProductId())).findFirst().orElse(null);
|
|
|
+ if (findProduct != null) {
|
|
|
product.setUnit(findProduct.getMeasurementUnit());
|
|
|
- if (findProduct.getMeasurementUnit() != null){
|
|
|
- DictModel findDict = unitDictList.stream().filter(d->d.getValue().equals(findProduct.getMeasurementUnit())).findFirst().orElse(null);
|
|
|
- if (findDict != null){
|
|
|
+ if (findProduct.getMeasurementUnit() != null) {
|
|
|
+ DictModel findDict = unitDictList.stream().filter(d -> d.getValue().equals(findProduct.getMeasurementUnit())).findFirst().orElse(null);
|
|
|
+ if (findDict != null) {
|
|
|
product.setUnit(findDict.getText());
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ if (product.getTaxPriceOriginal() != null && product.getDiscount() != null) {
|
|
|
|
|
|
- SaleOrderProduct saleOrderProduct = saleOrderProductList.stream().filter(e -> e.getId().equals(product.getSourceId())).findFirst().orElse(null);
|
|
|
- if (saleOrderProduct != null) {
|
|
|
+ product.setTaxPrice(product.getTaxPriceOriginal());
|
|
|
+ product.setDiscountText(product.getDiscount().intValue() + "%");
|
|
|
|
|
|
- SaleQuotationProduct saleQuotationProduct = saleQuotationProductList.stream().filter(e -> e.getId().equals(saleOrderProduct.getSourceId())).findFirst().orElse(null);
|
|
|
- if (saleQuotationProduct != null) {
|
|
|
- PurQuotationSelectionProduct quotationSelectionProduct = purQuotationSelectionProductList.stream().filter(e -> e.getId().equals(saleQuotationProduct.getSourceId())).findFirst().orElse(null);
|
|
|
+ } else {
|
|
|
|
|
|
- if (quotationSelectionProduct !=null && oConvertUtils.isNotEmpty(quotationSelectionProduct.getDiscount())) {
|
|
|
- product.setDiscountText(quotationSelectionProduct.getDiscount().intValue() + "%");
|
|
|
- }
|
|
|
+ SaleOrderProduct saleOrderProduct = saleOrderProductList.stream().filter(e -> e.getId().equals(product.getSourceId())).findFirst().orElse(null);
|
|
|
+ if (saleOrderProduct != null) {
|
|
|
|
|
|
- BigDecimal dic = quotationSelectionProduct==null || quotationSelectionProduct.getDiscount() ==null?BigDecimal.ZERO:quotationSelectionProduct.getDiscount();
|
|
|
- BigDecimal dis = (new BigDecimal("100").subtract(dic)).divide(new BigDecimal("100"));
|
|
|
+ SaleQuotationProduct saleQuotationProduct = saleQuotationProductList.stream().filter(e -> e.getId().equals(saleOrderProduct.getSourceId())).findFirst().orElse(null);
|
|
|
+ if (saleQuotationProduct != null) {
|
|
|
+ PurQuotationSelectionProduct quotationSelectionProduct = purQuotationSelectionProductList.stream().filter(e -> e.getId().equals(saleQuotationProduct.getSourceId())).findFirst().orElse(null);
|
|
|
+
|
|
|
+ if (quotationSelectionProduct != null && oConvertUtils.isNotEmpty(quotationSelectionProduct.getDiscount())) {
|
|
|
+ product.setDiscountText(quotationSelectionProduct.getDiscount().intValue() + "%");
|
|
|
+ }
|
|
|
+
|
|
|
+ BigDecimal dic = quotationSelectionProduct == null || quotationSelectionProduct.getDiscount() == null ? BigDecimal.ZERO : quotationSelectionProduct.getDiscount();
|
|
|
+ BigDecimal dis = (new BigDecimal("100").subtract(dic)).divide(new BigDecimal("100"));
|
|
|
|
|
|
- BigDecimal getSalePrice = product.getTaxPrice() == null ? BigDecimal.ZERO : product.getTaxPrice();
|
|
|
- BigDecimal setTaxPrice = getSalePrice.divide(dis, 2, BigDecimal.ROUND_HALF_UP);//折前价
|
|
|
+ BigDecimal getSalePrice = product.getTaxPrice() == null ? BigDecimal.ZERO : product.getTaxPrice();
|
|
|
+ BigDecimal setTaxPrice = getSalePrice.divide(dis, 2, BigDecimal.ROUND_HALF_UP);//折前价
|
|
|
// BigDecimal quantity = product.getQuantity() == null ? BigDecimal.ZERO : product.getQuantity();
|
|
|
|
|
|
- product.setTaxPrice(setTaxPrice);
|
|
|
+ product.setTaxPrice(setTaxPrice);
|
|
|
|
|
|
// if (oConvertUtils.isNotEmpty(quotationSelectionProduct.getTaxPriceOriginal())) {
|
|
|
// product.setTaxPrice(quotationSelectionProduct.getTaxPriceOriginal());
|
|
|
// }
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
- if(productList.size() > 0){
|
|
|
+
|
|
|
+ if (productList.size() > 0) {
|
|
|
|
|
|
purOrder.setQualityGrade(productList.get(0).getQualityGrade());
|
|
|
}
|
|
|
- orderMoney = orderMoney.setScale(2);
|
|
|
+ orderMoney = orderMoney.setScale(2);
|
|
|
purOrder.setOrderMoney(orderMoney);
|
|
|
|
|
|
|
|
|
-
|
|
|
String templateFilePath = uploadpath + templates.getTemplateFile();
|
|
|
- String tempFilePath = uploadpath + "/"+ UUIDGenerator.generate()+".xlsx";
|
|
|
+ String tempFilePath = uploadpath + "/" + UUIDGenerator.generate() + ".xlsx";
|
|
|
|
|
|
try (ExcelWriter excelWriter = EasyExcel.write(tempFilePath).withTemplate(templateFilePath).build()) {
|
|
|
WriteSheet writeSheet = EasyExcel.writerSheet().build();
|
|
@@ -1078,9 +1099,9 @@ public class PurOrderController {
|
|
|
excelWriter.fill(purOrder, writeSheet);
|
|
|
}
|
|
|
List<String> noteList = new ArrayList<>();
|
|
|
- productList.forEach(p->noteList.add(p.getNotes()));
|
|
|
+ productList.forEach(p -> noteList.add(p.getNotes()));
|
|
|
|
|
|
- ExcelExportUtils.excelInsertRowNotes(getOutputStream(purOrder.getBillCode()+".xlsx", response),
|
|
|
+ ExcelExportUtils.excelInsertRowNotes(getOutputStream(purOrder.getBillCode() + ".xlsx", response),
|
|
|
tempFilePath, 19, noteList, 1, 4);
|
|
|
|
|
|
} catch (Exception ex) {
|