mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 17:21:53 +08:00
📖 CRM:跟进记录的 code review
This commit is contained in:
parent
410c551e03
commit
a886ad9785
@ -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 跟进方式
|
||||
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user