Commit 02c8be92 authored by yanghao's avatar yanghao

fix: #290 【跟进】新增/编辑跟进记录没有插入到客户日志档案

parent 17edcbdc
...@@ -83,7 +83,7 @@ public class CustomerFollowupServiceImpl extends AbstractService<CustomerFollowu ...@@ -83,7 +83,7 @@ public class CustomerFollowupServiceImpl extends AbstractService<CustomerFollowu
Long customerId = createReqVO.getCustomerId(); Long customerId = createReqVO.getCustomerId();
if (customerId != null) { if (customerId != null) {
CustomerDO customer = customerMapper.selectById(customerId); CustomerDO customer = customerMapper.selectById(customerId);
if (customer == null) { if (customer != null) {
// 插入日志 // 插入日志
LoginUser loginUser = SecurityFrameworkUtils.getLoginUser(); LoginUser loginUser = SecurityFrameworkUtils.getLoginUser();
...@@ -126,7 +126,7 @@ public class CustomerFollowupServiceImpl extends AbstractService<CustomerFollowu ...@@ -126,7 +126,7 @@ public class CustomerFollowupServiceImpl extends AbstractService<CustomerFollowu
Long customerId = updateReqVO.getCustomerId(); Long customerId = updateReqVO.getCustomerId();
if (customerId != null) { if (customerId != null) {
CustomerDO customer = customerMapper.selectById(customerId); CustomerDO customer = customerMapper.selectById(customerId);
if (customer == null) { if (customer != null) {
// 插入日志 // 插入日志
LoginUser loginUser = SecurityFrameworkUtils.getLoginUser(); LoginUser loginUser = SecurityFrameworkUtils.getLoginUser();
...@@ -169,7 +169,7 @@ public class CustomerFollowupServiceImpl extends AbstractService<CustomerFollowu ...@@ -169,7 +169,7 @@ public class CustomerFollowupServiceImpl extends AbstractService<CustomerFollowu
Long customerId = customerFollowupDO.getCustomerId(); Long customerId = customerFollowupDO.getCustomerId();
if (customerId != null) { if (customerId != null) {
CustomerDO customer = customerMapper.selectById(customerId); CustomerDO customer = customerMapper.selectById(customerId);
if (customer == null) { if (customer != null) {
// 插入日志 // 插入日志
LoginUser loginUser = SecurityFrameworkUtils.getLoginUser(); LoginUser loginUser = SecurityFrameworkUtils.getLoginUser();
......
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