|
|
@ -2,7 +2,10 @@ package com.yxt.anrui.crm.biz.crmcustomertemp; |
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.yxt.anrui.buscenter.api.busdeposit.BusDepositFeign; |
|
|
|
import com.yxt.anrui.crm.api.crmcustomerfile.AppCrmCustomerTempArchivesDto; |
|
|
|
import com.yxt.anrui.crm.api.crmcustomerfile.AppCrmCustomerTempArchivesVo; |
|
|
|
import com.yxt.anrui.crm.api.crmcustomertemp.*; |
|
|
|
import com.yxt.anrui.crm.biz.crmcustomerfile.CrmCustomerFileService; |
|
|
|
import com.yxt.anrui.portal.api.sysuser.SysUserFeign; |
|
|
|
import com.yxt.common.base.utils.PagerUtil; |
|
|
|
import com.yxt.common.core.query.PagerQuery; |
|
|
@ -43,6 +46,9 @@ public class CrmCustomerTempRest implements CrmCustomerTempFeign { |
|
|
|
@Autowired |
|
|
|
private BusDepositFeign busDepositFeign; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private CrmCustomerFileService crmCustomerFileService; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private SysUserFeign sysUserFeign; |
|
|
|
|
|
|
@ -213,4 +219,26 @@ public class CrmCustomerTempRest implements CrmCustomerTempFeign { |
|
|
|
return new ResultBean<AppCrmCustomerTempBasicsDetailsVo>().success().setData(vo); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 初始化客户档案信息 |
|
|
|
* @param customerSid |
|
|
|
* @param userSid |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public ResultBean<AppCrmCustomerTempArchivesVo> initCustomerArchives(String customerSid, String userSid) { |
|
|
|
return crmCustomerFileService.initCustomerArchives(customerSid,userSid); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 保存客户档案信息 |
|
|
|
* @param dto |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public ResultBean saveCustomerArchives(AppCrmCustomerTempArchivesDto dto) { |
|
|
|
return crmCustomerFileService.saveCustomerArchives(dto); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|