Browse Source

[fix]销售管理

客户报价新增如果不走审批,添加一次就审核通过,加上修改客户报价历史数据方法
dev
liuxiaoxu 2 months ago
parent
commit
3da4017102
  1. 5
      ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerQuoteServiceImpl.java

5
ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerQuoteServiceImpl.java

@ -402,6 +402,11 @@ public class SysCustomerQuoteServiceImpl implements ISysCustomerQuoteService {
sysCustomerQuote.setAuditStatus("1");
// 使用状态-是
sysCustomerQuote.setUseStatus("1");
SysCustomerQuoteVo sysCustomerQuoteVo = new SysCustomerQuoteVo();
BeanUtils.copyProperties(sysCustomerQuote,sysCustomerQuoteVo);
//客户报价审核后,修改客户报价历史数据
quoteHistoryService.updateSysCustomerQuoteHistoryByCustomerQuote(sysCustomerQuoteVo);
}
sysCustomerQuoteMapper.updateSysCustomerQuote(sysCustomerQuote);

Loading…
Cancel
Save