|  |  | 
 |  |  | import com.doumee.dao.business.model.BaseCateParam; | 
 |  |  | import com.doumee.dao.business.model.BaseCategory; | 
 |  |  | import com.doumee.dao.business.model.Category; | 
 |  |  | import com.doumee.service.CateParamSelectService; | 
 |  |  | import com.doumee.service.business.BaseCateParamService; | 
 |  |  | import com.doumee.service.business.BaseCategoryService; | 
 |  |  | import com.doumee.service.business.CategoryService; | 
 |  |  | 
 |  |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private BaseCateParamService baseCateParamService; | 
 |  |  |     @Autowired | 
 |  |  |     private CateParamSelectService cateParamSelectService; | 
 |  |  |  | 
 |  |  |     @PreventRepeat | 
 |  |  |     @ApiOperation("新建") | 
 |  |  | 
 |  |  |     @RequiresPermissions("business:category:update") | 
 |  |  |     public ApiResponse companyUpdateById(@RequestBody Category category) { | 
 |  |  |         categoryService.companyUpdateById(category); | 
 |  |  |         cateParamSelectService.dealCateParamSelect(); | 
 |  |  |         return ApiResponse.success(null); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | 
 |  |  |         BaseCategory baseCategory = new BaseCategory(); | 
 |  |  |         baseCategory.setIsdeleted(Constants.ZERO); | 
 |  |  |         baseCategory.setStatus(Constants.ZERO); | 
 |  |  |         baseCategoryService.findList(baseCategory); | 
 |  |  |         List list = baseCategoryService.findList(baseCategory); | 
 |  |  |         return ApiResponse.success(list); | 
 |  |  |     } |