Commit 2de7303e authored by shiyu's avatar shiyu

不满意寄售,节点展示理由

parent 32a3db9b
...@@ -493,7 +493,7 @@ public class ConsignSaleServiceImpl implements ConsignSaleService { ...@@ -493,7 +493,7 @@ public class ConsignSaleServiceImpl implements ConsignSaleService {
ConsignSale consignSaleInfo = consignSaleDao.findById(dto.getSaleId()); ConsignSale consignSaleInfo = consignSaleDao.findById(dto.getSaleId());
itemDao.updateOnSale(consignSaleInfo.getItemId(), ItemStateEnum.SHELVE.getCode()); itemDao.updateOnSale(consignSaleInfo.getItemId(), ItemStateEnum.SHELVE.getCode());
//插入操作记录,用户主动取消 //插入操作记录,用户主动取消
consignSaleRecordDao.insert(dto.getSaleId(), "不满意初步估价", ConsignSaleEnum.OperateTypeEnum.CUSTOM_CANCEL.getCode(), null); consignSaleRecordDao.insert(dto.getSaleId(), "取消类型:用户主动取消", ConsignSaleEnum.OperateTypeEnum.CUSTOM_CANCEL.getCode(), "理由:不满意初步估价");
} }
return Result.success(); return Result.success();
} catch (Exception e) { } catch (Exception e) {
...@@ -551,7 +551,7 @@ public class ConsignSaleServiceImpl implements ConsignSaleService { ...@@ -551,7 +551,7 @@ public class ConsignSaleServiceImpl implements ConsignSaleService {
itemDao.updateOnSale(dto.getItemId(), ItemStateEnum.SHELVE.getCode()); itemDao.updateOnSale(dto.getItemId(), ItemStateEnum.SHELVE.getCode());
//插入操作记录,用户不满意建议零售价 //插入操作记录,用户不满意建议零售价
consignSaleRecordDao.insert(dto.getSaleId(), "不满意建议寄售价", ConsignSaleEnum.OperateTypeEnum.CUSTOM_CANCEL.getCode(), null); consignSaleRecordDao.insert(dto.getSaleId(), "取消类型:用户主动取消", ConsignSaleEnum.OperateTypeEnum.CUSTOM_CANCEL.getCode(), "理由:不满意建议寄售价");
} }
return Result.success(); return Result.success();
} catch (Exception e) { } catch (Exception e) {
......
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