提交 35dad66f authored 作者: zgy's avatar zgy

完成海报管理修改

上级 219ced92
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
select count(*) from tb_cf_station_item select count(*) from tb_cf_station_item
WHERE 1=1 and enable_flag!=0 WHERE 1=1 and enable_flag!=0
<if test="name != null and name.trim() != ''"> <if test="name != null and name.trim() != ''">
AND item_name LIKE concat('%',#{name},'%') AND item_name LIKE concat('%',#{name},'%') or item_id LIKE concat('%',#{name},'%')
</if> </if>
<if test="code != null and code.trim() != ''"> <if test="code != null and code.trim() != ''">
AND item_code=#{code} AND item_code=#{code}
...@@ -185,6 +185,12 @@ ...@@ -185,6 +185,12 @@
<if test="itemCategory != null and itemCategory.trim() != ''"> <if test="itemCategory != null and itemCategory.trim() != ''">
AND item_category=#{itemCategory} AND item_category=#{itemCategory}
</if> </if>
<if test="typeTwo != null and typeTwo.trim() != ''">
AND item_categorytwo=#{typeTwo}
</if>
<if test="typeThree != null and typeThree.trim() != ''">
AND item_descrition_id=#{typeThree}
</if>
</select> </select>
<insert id="save" parameterType="com.platform.entity.TbCfStationItemEntity"> <insert id="save" parameterType="com.platform.entity.TbCfStationItemEntity">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论