Browse Source

feat(xml): 修改品类下拉查出已删除数据和数量限制

dist.1.3.0
zhaoqiaobo 9 months ago
parent
commit
4af3c3f4a6
  1. 4
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataCategoryMapper.xml

4
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataCategoryMapper.xml

@ -106,11 +106,10 @@
select id goodsId, select id goodsId,
`name` goodsName `name` goodsName
from logpm_basicdata_category from logpm_basicdata_category
where 1=1 where 1=1 and is_deleted = 0
<if test="goodsName != null and goodsName != '' "> <if test="goodsName != null and goodsName != '' ">
and `name` like concat('%',#{goodsName},'%') and `name` like concat('%',#{goodsName},'%')
</if> </if>
limit 10
</select> </select>
<select id="listName" resultType="com.logpm.basicdata.entity.BasicdataCategoryEntity"> <select id="listName" resultType="com.logpm.basicdata.entity.BasicdataCategoryEntity">
@ -118,7 +117,6 @@
from logpm_basicdata_category from logpm_basicdata_category
where `name` like concat(#{name},"%") where `name` like concat(#{name},"%")
and is_deleted = 0 and is_deleted = 0
limit 10
</select> </select>
<select id="findCategoryByIds" resultType="com.logpm.basicdata.vo.PriceCategoryVO"> <select id="findCategoryByIds" resultType="com.logpm.basicdata.vo.PriceCategoryVO">

Loading…
Cancel
Save