|
|
@ -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"> |
|
|
|