傅行帆 3 年之前
父節點
當前提交
a03223dc73

+ 2
- 2
src/main/java/com/yunzhi/marketing/xlk/controller/ChannelCustomerController.java 查看文件

145
     }
145
     }
146
 
146
 
147
     /**
147
     /**
148
-     * 驻场 确认认购
148
+     * 驻场 结佣
149
      *
149
      *
150
      * @param
150
      * @param
151
      * @return
151
      * @return
152
      */
152
      */
153
-    @ApiOperation(value = "森哥看这里-wx-驻场确认认购", notes = "森哥看这里-wx-驻场确认认购")
153
+    @ApiOperation(value = "森哥看这里-wx-驻场确认结佣", notes = "森哥看这里-wx-驻场确认结佣")
154
     @RequestMapping(value="/{plat}/marking/commission",method= RequestMethod.PUT)
154
     @RequestMapping(value="/{plat}/marking/commission",method= RequestMethod.PUT)
155
     public ResponseBean commissionCustomer(@RequestBody MarkingCommissionCustomerDTO params){
155
     public ResponseBean commissionCustomer(@RequestBody MarkingCommissionCustomerDTO params){
156
         return iChannelCustomerService.commissionCustomer(params);
156
         return iChannelCustomerService.commissionCustomer(params);

+ 2
- 2
src/main/java/com/yunzhi/marketing/xlk/service/impl/ChannelCustomerServiceImpl.java 查看文件

248
      */
248
      */
249
     @Override
249
     @Override
250
     public ResponseBean invalidCustomerUpdate(MarkingChannelCustomerDTO params) {// 渠道推荐的客户
250
     public ResponseBean invalidCustomerUpdate(MarkingChannelCustomerDTO params) {// 渠道推荐的客户
251
-        if ("channel".equals(params.getType())) {
251
+        if ("report".equals(params.getType())) {
252
             ChannelCustomer customer = channelCustomerMapper.selectById(params.getId());
252
             ChannelCustomer customer = channelCustomerMapper.selectById(params.getId());
253
             // 审核不通过 先查看在ta_recommend_customer 手机号是否存在
253
             // 审核不通过 先查看在ta_recommend_customer 手机号是否存在
254
             LambdaQueryWrapper<TaRecommendCustomer> queryWrapper = new LambdaQueryWrapper<>();
254
             LambdaQueryWrapper<TaRecommendCustomer> queryWrapper = new LambdaQueryWrapper<>();
258
             if (null != recommendCustomer) {
258
             if (null != recommendCustomer) {
259
                 // 审核不通过
259
                 // 审核不通过
260
                 recommendCustomer.setRecommendPerson(customer.getRecommendPerson());
260
                 recommendCustomer.setRecommendPerson(customer.getRecommendPerson());
261
-                recommendCustomer.setVerifyStatus(CommConstant.VERIFY_AGREE);
261
+                recommendCustomer.setVerifyStatus(CommConstant.VERIFY_DISAGREE);
262
                 recommendCustomer.setStatus(CommConstant.CUSTOMER_VISITE);
262
                 recommendCustomer.setStatus(CommConstant.CUSTOMER_VISITE);
263
                 taRecommendCustomerMapper.updateById(recommendCustomer);
263
                 taRecommendCustomerMapper.updateById(recommendCustomer);
264
 
264