You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1.1 KiB
XML
23 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!DOCTYPE mapper
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<mapper namespace="org.dromara.wms.mapper.WmsInstockDetailMapper">
|
|
|
|
<update id="updateDetail" parameterType="org.dromara.wms.domain.WmsInstockDetail">
|
|
update wms_instock_detail
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<if test="dnDId != null">dn_d_id = #{dnDId},</if>
|
|
<if test="poDId != null and poDId != ''">po_d_id = #{poDId},</if>
|
|
<if test="materialId != null and materialId != ''">material_id = #{materialId},</if>
|
|
<if test="instockQty != null">instock_qty = #{instockQty},</if>
|
|
<if test="codeYesNo != null">code_yes_no = #{codeYesNo},</if>
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
</trim>
|
|
where instock_id = #{instockId}
|
|
</update>
|
|
</mapper>
|