Commit 37f7dab563d7b3c81b537b4087a7528eb31988b6

Authored by 房远帅
1 parent 9fab75fd

统计报表:订单详情-错误修改

... ... @@ -369,7 +369,11 @@ public class PurchaseOrderInfoServiceImpl extends BaseMpServiceImpl<PurchaseOrde
369 369 SysDataDicItem dataDicItem = sysDataDicItemService.findByCode("RAW_TO_PROD_RATIO", materialProductRatio);
370 370
371 371 if (dataDicItem != null) {
372   - vo.setContractType(dataDicItem.getName() + contractType);
  372 + if ("其它".equals(dataDicItem.getName())) {
  373 + vo.setContractType(processingLine.getMaterialProductRatioRemarks() + contractType);
  374 + } else {
  375 + vo.setContractType(dataDicItem.getName() + contractType);
  376 + }
373 377 }
374 378 }
375 379 }
... ...
... ... @@ -352,7 +352,11 @@ public class OrderDetailReportServiceImpl extends BaseMpServiceImpl<OrderDetailR
352 352 String materialProductRatio = processingLine.getMaterialProductRatio();
353 353 SysDataDicItem dataDicItem = sysDataDicItemService.findByCode("RAW_TO_PROD_RATIO", materialProductRatio);
354 354 if (dataDicItem != null) {
355   - vo.setContractType(dataDicItem.getName() + contractType);
  355 + if ("其它".equals(dataDicItem.getName())) {
  356 + vo.setContractType(processingLine.getMaterialProductRatioRemarks() + contractType);
  357 + } else {
  358 + vo.setContractType(dataDicItem.getName() + contractType);
  359 + }
356 360 }
357 361 }
358 362 }
... ...