|
|
@@ -26,10 +26,12 @@ import com.dk.mdm.model.pojo.mst.MoneyAccountItem;
|
|
|
import com.dk.mdm.model.query.mac.RecPayHandleItemQuery;
|
|
|
import com.dk.mdm.model.query.mac.RecPayItemQuery;
|
|
|
import com.dk.mdm.model.query.mac.RecPayQuery;
|
|
|
+import com.dk.mdm.model.query.mst.CustomerQuery;
|
|
|
import com.dk.mdm.model.query.mst.SaleChannelQuery;
|
|
|
import com.dk.mdm.model.response.mac.RecPayHandleItemResponse;
|
|
|
import com.dk.mdm.model.response.mac.RecPayItemResponse;
|
|
|
import com.dk.mdm.model.response.mac.RecPayResponse;
|
|
|
+import com.dk.mdm.model.response.mst.CustomerResponse;
|
|
|
import com.dk.mdm.model.response.mst.SaleChannelResponse;
|
|
|
import com.dk.mdm.model.vo.mac.RecPayHandleItemVO;
|
|
|
import com.dk.mdm.model.vo.mac.RecPayItemVO;
|
|
|
@@ -192,7 +194,7 @@ public class ReceiptService extends BaseService<RecPay> {
|
|
|
// 客户的新增和更新跟进人
|
|
|
// 如果没有客户id,要新建
|
|
|
if (recPay.getObjectId() == null) {
|
|
|
- List<Customer> listCustomer = customerMapper.selectByCond(new Customer().setCpId(recPay.getCpId()).setCusPhone(recPayVO.getCusPhone()));
|
|
|
+ List<CustomerResponse> listCustomer = customerMapper.selectByCond(new CustomerQuery().setCpId(recPay.getCpId()).setCusPhone(recPayVO.getCusPhone()));
|
|
|
// 如果客户电话已存在
|
|
|
if (listCustomer == null || listCustomer.size() == 0) {
|
|
|
String channelId;
|