📖 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

@@ -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);