md
This commit is contained in:
parent
ac022a19c8
commit
6254d1bb48
@ -70,6 +70,8 @@
|
||||
<select id="selectEmisGoodsList" parameterType="EmisGoods" resultMap="EmisGoodsResult">
|
||||
<include refid="selectEmisGoodsVo"/>
|
||||
<where>
|
||||
del_flag='0'
|
||||
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="goodsCode != null and goodsCode != ''"> and goods_code like concat('%', #{goodsCode}, '%')</if>
|
||||
<if test="goodsName != null and goodsName != ''"> and goods_name like concat('%', #{goodsName}, '%')</if>
|
||||
@ -351,11 +353,11 @@
|
||||
</update>
|
||||
|
||||
<delete id="deleteEmisGoodsById" parameterType="Long">
|
||||
delete from emis_goods where id = #{id}
|
||||
update emis_goods set del_flag='1' where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteEmisGoodsByIds" parameterType="String">
|
||||
delete from emis_goods where id in
|
||||
update emis_goods set del_flag='1' where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user