Commit 1b6be4a2 authored by shiyu's avatar shiyu

寄售单时间线

parent 19e9d80b
...@@ -210,6 +210,7 @@ public class ConsignSaleServiceImpl implements ConsignSaleService { ...@@ -210,6 +210,7 @@ public class ConsignSaleServiceImpl implements ConsignSaleService {
consignSaleRecords.forEach(consignSaleRecord -> { consignSaleRecords.forEach(consignSaleRecord -> {
ConsignSaleRecordVo consignSaleRecordVo = new ConsignSaleRecordVo(); ConsignSaleRecordVo consignSaleRecordVo = new ConsignSaleRecordVo();
EntityMapper.copyAttribute(consignSaleRecord, consignSaleRecordVo); EntityMapper.copyAttribute(consignSaleRecord, consignSaleRecordVo);
consignSaleRecordVo.setTypeName(ConsignSaleEnum.OperateTypeEnum.getNameByCode(consignSaleRecord.getType()));
if (consignSaleRecordVo.getType() == ConsignSaleEnum.OperateTypeEnum.SYS_CANCEL.getCode() if (consignSaleRecordVo.getType() == ConsignSaleEnum.OperateTypeEnum.SYS_CANCEL.getCode()
|| consignSaleRecordVo.getType() == ConsignSaleEnum.OperateTypeEnum.CUSTOM_CANCEL.getCode()) { || consignSaleRecordVo.getType() == ConsignSaleEnum.OperateTypeEnum.CUSTOM_CANCEL.getCode()) {
consignSaleRecordVo.setTypeName("寄售单取消"); consignSaleRecordVo.setTypeName("寄售单取消");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment