Commit a886ad978553427ef532bf295e81fd9014e26a31
1 parent
410c551e
📖 CRM:跟进记录的 code review
Showing
2 changed files
with
5 additions
and
1 deletions
yudao-module-crm/yudao-module-crm-api/src/main/java/cn/iocoder/yudao/module/crm/enums/DictTypeConstants.java
| ... | ... | @@ -13,6 +13,6 @@ public interface DictTypeConstants { |
| 13 | 13 | String CRM_AUDIT_STATUS = "crm_audit_status"; // CRM 审批状态 |
| 14 | 14 | String CRM_PRODUCT_UNIT = "crm_product_unit"; // CRM 产品单位 |
| 15 | 15 | String CRM_PRODUCT_STATUS = "crm_product_status"; // CRM 产品状态 |
| 16 | - String CRM_FOLLOW_UP_TYPE = "crm_follow_up_type"; // 跟进方式 | |
| 16 | + String CRM_FOLLOW_UP_TYPE = "crm_follow_up_type"; // CRM 跟进方式 | |
| 17 | 17 | |
| 18 | 18 | } | ... | ... |
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/service/followup/CrmFollowUpRecordServiceImpl.java
| ... | ... | @@ -25,6 +25,7 @@ public class CrmFollowUpRecordServiceImpl implements CrmFollowUpRecordService { |
| 25 | 25 | @Resource |
| 26 | 26 | private CrmFollowUpRecordMapper crmFollowUpRecordMapper; |
| 27 | 27 | |
| 28 | + // TODO @puhui999:数据权限 | |
| 28 | 29 | @Override |
| 29 | 30 | public Long createFollowUpRecord(CrmFollowUpRecordSaveReqVO createReqVO) { |
| 30 | 31 | CrmFollowUpRecordDO followUpRecord = BeanUtils.toBean(createReqVO, CrmFollowUpRecordDO.class); |
| ... | ... | @@ -34,6 +35,7 @@ public class CrmFollowUpRecordServiceImpl implements CrmFollowUpRecordService { |
| 34 | 35 | return followUpRecord.getId(); |
| 35 | 36 | } |
| 36 | 37 | |
| 38 | + // TODO @puhui999:不能编辑~~~ | |
| 37 | 39 | @Override |
| 38 | 40 | public void updateFollowUpRecord(CrmFollowUpRecordSaveReqVO updateReqVO) { |
| 39 | 41 | // 校验存在 |
| ... | ... | @@ -43,6 +45,7 @@ public class CrmFollowUpRecordServiceImpl implements CrmFollowUpRecordService { |
| 43 | 45 | crmFollowUpRecordMapper.updateById(updateObj); |
| 44 | 46 | } |
| 45 | 47 | |
| 48 | + // TODO @puhui999:数据权限 | |
| 46 | 49 | @Override |
| 47 | 50 | public void deleteFollowUpRecord(Long id) { |
| 48 | 51 | // 校验存在 |
| ... | ... | @@ -62,6 +65,7 @@ public class CrmFollowUpRecordServiceImpl implements CrmFollowUpRecordService { |
| 62 | 65 | return crmFollowUpRecordMapper.selectById(id); |
| 63 | 66 | } |
| 64 | 67 | |
| 68 | + // TODO @puhui999:数据权限 | |
| 65 | 69 | @Override |
| 66 | 70 | public PageResult<CrmFollowUpRecordDO> getFollowUpRecordPage(CrmFollowUpRecordPageReqVO pageReqVO) { |
| 67 | 71 | return crmFollowUpRecordMapper.selectPage(pageReqVO); | ... | ... |