| | |
| | | </otherwise> |
| | | </choose> |
| | | </select> |
| | | <select id="selectCountToAsrByMatnr" resultType="java.lang.Long"> |
| | | SELECT ISNULL(SUM(anfme), 0) FROM asr_loc_detl WHERE matnr = #{matnr} |
| | | <if test="batch!=null and batch!='' "> |
| | | and batch = #{batch} |
| | | </if> |
| | | </select> |
| | | <select id="selectCountToManByMatnr" resultType="java.lang.Long"> |
| | | SELECT ISNULL(SUM(anfme), 0) FROM man_loc_detl WHERE matnr = #{matnr} |
| | | <if test="batch!=null and batch!='' "> |
| | | and batch = #{batch} |
| | | </if> |
| | | </select> |
| | | |
| | | <update id="increase"> |
| | | update man_order_detl |