| | |
| | | <result column="box_type1" property="boxType1" /> |
| | | <result column="box_type2" property="boxType2" /> |
| | | <result column="box_type3" property="boxType3" /> |
| | | <result column="cstateid" property="cstateid" /> |
| | | </resultMap> |
| | | |
| | | <sql id="standbyAll"> |
| | | |
| | | <choose> |
| | | <when test="batch != null and batch != ''"> |
| | | and batch = #{batch} |
| | |
| | | <include refid="standbyAll"></include> |
| | | </update> |
| | | |
| | | <update id="increaseQtyById"> |
| | | update man_order_detl_pakout |
| | | set qty = qty + #{qty} |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | |
| | | <update id="increaseWorkQty"> |
| | | update man_order_detl_pakout |
| | | set work_qty = work_qty + #{workQty} |
| | |
| | | <include refid="standbyAll"></include> |
| | | </update> |
| | | |
| | | <update id="increaseWorkQtyById"> |
| | | update man_order_detl_pakout |
| | | set work_qty = work_qty + #{workQty} |
| | | where 1=1 |
| | | and id = #{id} |
| | | </update> |
| | | |
| | | |
| | | </mapper> |