This commit is contained in:
Carl 2021-12-24 15:56:50 +08:00
parent 2080076a30
commit 9e4088365a
2 changed files with 3 additions and 13 deletions

View File

@ -29,8 +29,8 @@ public class GoodController {
@ApiOperation(value = "处方粮商品", notes = "处方粮商品查询")
@PostMapping("royalcanin/goods")
public List<GoodsEntity> transferGoods(String title) {
return goodService.listGoodsByNameBankNameTagUsedAge(title);
public List<GoodsEntity> transferGoods(String goodsName) {
return goodService.listGoodsByNameBankNameTagUsedAge(goodsName);
}
@ApiOperation(value = "查询标品信息", notes = "查询标品信息")

View File

@ -10,17 +10,7 @@
<select id="selectRoleIdByGoodsNameBankNameTagUsedAge" resultMap="GoodsEntity">
select
product_code,
product_name,
base_price,
brand_code,
brand_name,
category_name,
pet_type,
tagUsedAge,
pic_file,
show_img_file,
isSales
*
from t_good_goods
<where>
<if test="goodsName != null and goodsName != ''">