md
This commit is contained in:
parent
2e737073c8
commit
91cd69da92
@ -70,6 +70,7 @@
|
||||
<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>
|
||||
@ -127,7 +128,7 @@
|
||||
<if test="orderNum != null "> and order_num = #{orderNum}</if>
|
||||
<if test="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</if>
|
||||
<if test="tenantId != null and tenantId != ''"> and tenant_id like concat('%', #{tenantId}, '%')</if>
|
||||
<if test="delFlag != null and delFlag != ''"> and del_flag like concat('%', #{delFlag}, '%')</if>
|
||||
<if test="delFlag != null and delFlag != ''"> and del_flag=#{delFlag}</if>
|
||||
<if test="createBy != null and createBy != ''"> and create_by like concat('%', #{createBy}, '%')</if>
|
||||
<if test="createTime != null "> and create_time = #{createTime}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and update_by like concat('%', #{updateBy}, '%')</if>
|
||||
@ -351,11 +352,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