|
@@ -91,6 +91,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|
|
|
+ <update id="updateWmsBoxInfoIsNull" parameterType="WmsBoxInfo">
|
|
|
+ update wms_box_info
|
|
|
+ <trim prefix="SET" suffixOverrides=",">
|
|
|
+ location_id = null,
|
|
|
+ <if test="boxNo != null">box_no = #{boxNo},</if>
|
|
|
+ <if test="boxType != null">box_type = #{boxType},</if>
|
|
|
+ <if test="boxRemark != null">box_remark = #{boxRemark},</if>
|
|
|
+ <if test="boxState != null">box_state = #{boxState},</if>
|
|
|
+ <if test="isEmpty != null">is_empty = #{isEmpty},</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>
|
|
|
+ <if test="userdefine1 != null">userdefine1 = #{userdefine1},</if>
|
|
|
+ <if test="userdefine2 != null">userdefine2 = #{userdefine2},</if>
|
|
|
+ <if test="isFull != null">is_full = #{isFull},</if>
|
|
|
+ </trim>
|
|
|
+ where id = #{id}
|
|
|
+ </update>
|
|
|
|
|
|
<delete id="deleteWmsBoxInfoById" parameterType="Long">
|
|
|
delete from wms_box_info where id = #{id}
|