|
|
@ -1,9 +1,6 @@ |
|
|
|
package com.yxt.goods.apiadmin.base; |
|
|
|
|
|
|
|
import com.yxt.goods.biz.base.basegoodstype.BaseGoodsTypeDto; |
|
|
|
import com.yxt.goods.biz.base.basegoodstype.BaseGoodsTypeQuery; |
|
|
|
import com.yxt.goods.biz.base.basegoodstype.BaseGoodsTypeService; |
|
|
|
import com.yxt.goods.biz.base.basegoodstype.BaseGoodsTypeVo; |
|
|
|
import com.yxt.goods.biz.base.basegoodstype.*; |
|
|
|
import com.yxt.common.core.query.PagerQuery; |
|
|
|
import com.yxt.common.core.result.ResultBean; |
|
|
|
import com.yxt.common.core.vo.PagerVo; |
|
|
@ -12,6 +9,8 @@ import io.swagger.annotations.ApiOperation; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
|
* @author wangpengfei |
|
|
|
* @date 2024/2/26 13:44 |
|
|
@ -30,9 +29,9 @@ public class BaseGoodsTypeRest { |
|
|
|
return baseGoodsTypeService.listPage(pq); |
|
|
|
} |
|
|
|
@ApiOperation("查询所有的类别") |
|
|
|
@GetMapping("/getAllType") |
|
|
|
public ResultBean<BaseGoodsTypeVo> getAllType() { |
|
|
|
return baseGoodsTypeService.getAllType(); |
|
|
|
@GetMapping("/listAll") |
|
|
|
public ResultBean<List<BaseGoodsType>> listAll() { |
|
|
|
return baseGoodsTypeService.listAll(); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("保存修改") |
|
|
|