dingxin 5 лет назад
Родитель
Сommit
ee6744238b

+ 22
- 22
src/main/java/com/huiju/estateagents/controller/TaRecommendCustomerController.java Просмотреть файл

@@ -376,28 +376,28 @@ public class TaRecommendCustomerController extends BaseController {
376 376
         return responseBean;
377 377
     }
378 378
 
379
-    /**
380
-     * 修改对象
381
-     * @param taRecommendCustomer 实体对象
382
-     * @return
383
-     */
384
-    @RequestMapping(value="/wx/customer/recommend/edit/{id}",method= RequestMethod.PUT)
385
-    public ResponseBean taWxRecommendCustomerUpdate(@PathVariable String id,
386
-                                                  @RequestBody TaRecommendCustomer taRecommendCustomer){
387
-        ResponseBean responseBean = new ResponseBean();
388
-        taRecommendCustomer.setCustomerId(id);
389
-        try {
390
-            if (taRecommendCustomerService.updateById(taRecommendCustomer)){
391
-                responseBean.addSuccess(taRecommendCustomer);
392
-            }else {
393
-                responseBean.addError("fail");
394
-            }
395
-        }catch (Exception e){
396
-            e.printStackTrace();
397
-            responseBean.addError(e.getMessage());
398
-        }
399
-        return responseBean;
400
-    }
379
+//    /**
380
+//     * 修改对象
381
+//     * @param taRecommendCustomer 实体对象
382
+//     * @return
383
+//     */
384
+//    @RequestMapping(value="/wx/customer/recommend/edit/{id}",method= RequestMethod.PUT)
385
+//    public ResponseBean taWxRecommendCustomerUpdate(@PathVariable String id,
386
+//                                                  @RequestBody TaRecommendCustomer taRecommendCustomer){
387
+//        ResponseBean responseBean = new ResponseBean();
388
+//        taRecommendCustomer.setCustomerId(id);
389
+//        try {
390
+//            if (taRecommendCustomerService.updateById(taRecommendCustomer)){
391
+//                responseBean.addSuccess(taRecommendCustomer);
392
+//            }else {
393
+//                responseBean.addError("fail");
394
+//            }
395
+//        }catch (Exception e){
396
+//            e.printStackTrace();
397
+//            responseBean.addError(e.getMessage());
398
+//        }
399
+//        return responseBean;
400
+//    }
401 401
 
402 402
     @RequestMapping(value = "/wx/customer/recommend/get/{id}", method = RequestMethod.GET)
403 403
     public ResponseBean getSingleCustomer(@PathVariable(value = "id") String customerId) {