📖 CRM:跟进记录的 code review

This commit is contained in:
YunaiV 2024-01-15 21:30:32 +08:00
parent 410c551e03
commit a886ad9785
2 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,6 @@ public interface DictTypeConstants {
String CRM_AUDIT_STATUS = "crm_audit_status"; // CRM 审批状态
String CRM_PRODUCT_UNIT = "crm_product_unit"; // CRM 产品单位
String CRM_PRODUCT_STATUS = "crm_product_status"; // CRM 产品状态
String CRM_FOLLOW_UP_TYPE = "crm_follow_up_type"; // 跟进方式
String CRM_FOLLOW_UP_TYPE = "crm_follow_up_type"; // CRM 跟进方式
}

View File

@ -25,6 +25,7 @@ public class CrmFollowUpRecordServiceImpl implements CrmFollowUpRecordService {
@Resource
private CrmFollowUpRecordMapper crmFollowUpRecordMapper;
// TODO @puhui999数据权限
@Override
public Long createFollowUpRecord(CrmFollowUpRecordSaveReqVO createReqVO) {
CrmFollowUpRecordDO followUpRecord = BeanUtils.toBean(createReqVO, CrmFollowUpRecordDO.class);
@ -34,6 +35,7 @@ public class CrmFollowUpRecordServiceImpl implements CrmFollowUpRecordService {
return followUpRecord.getId();
}
// TODO @puhui999不能编辑~~~
@Override
public void updateFollowUpRecord(CrmFollowUpRecordSaveReqVO updateReqVO) {
// 校验存在
@ -43,6 +45,7 @@ public class CrmFollowUpRecordServiceImpl implements CrmFollowUpRecordService {
crmFollowUpRecordMapper.updateById(updateObj);
}
// TODO @puhui999数据权限
@Override
public void deleteFollowUpRecord(Long id) {
// 校验存在
@ -62,6 +65,7 @@ public class CrmFollowUpRecordServiceImpl implements CrmFollowUpRecordService {
return crmFollowUpRecordMapper.selectById(id);
}
// TODO @puhui999数据权限
@Override
public PageResult<CrmFollowUpRecordDO> getFollowUpRecordPage(CrmFollowUpRecordPageReqVO pageReqVO) {
return crmFollowUpRecordMapper.selectPage(pageReqVO);