| | |
| | | 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("新建") |
| | |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("列表 - H5") |
| | | @ApiOperation("列表") |
| | | @PostMapping("/list") |
| | | public ApiResponse<List<Category>> findList (@RequestBody Category category) { |
| | | return ApiResponse.success(categoryService.findList(category)); |
| | |
| | | BaseCategory baseCategory = new BaseCategory(); |
| | | baseCategory.setIsdeleted(Constants.ZERO); |
| | | baseCategory.setStatus(Constants.ZERO); |
| | | baseCategoryService.findList(baseCategory); |
| | | List list = baseCategoryService.findList(baseCategory); |
| | | return ApiResponse.success(list); |
| | | } |
| | |
| | | return ApiResponse.success(baseCategory); |
| | | } |
| | | |
| | | @ApiOperation("列表 - SaaSH5") |
| | | @PostMapping("/saasList") |
| | | public ApiResponse<List<Category>> saasList (@RequestBody Category category) { |
| | | return ApiResponse.success(categoryService.findListSaaS(category)); |
| | | } |
| | | |
| | | } |