| | |
| | | END; |
| | | </insert> |
| | | |
| | | <insert id="pdaLocNormalUpdate"> |
| | | <update id="pdaLocNormalUpdate"> |
| | | BEGIN |
| | | <foreach collection="list" item="item" index="index"> |
| | | update asr_loc_normal set anfme = #{item.anfme,jdbcType=DECIMAL} |
| | | where supplier = #{item.supplier,jdbcType=VARCHAR} and state = '1' and warehouse = #{item.warehouse,jdbcType=VARCHAR} |
| | | </foreach> |
| | | END; |
| | | </insert> |
| | | </update> |
| | | |
| | | <update id="withoutSupplierLocNormalUpdate"> |
| | | BEGIN |
| | | <foreach collection="list" item="item" index="index"> |
| | | update asr_loc_normal set anfme = #{item.anfme,jdbcType=DECIMAL} |
| | | where matnr = #{item.matnr,jdbcType=VARCHAR} and state = '1' and warehouse = #{item.warehouse,jdbcType=VARCHAR} and mnemonic = #{item.mnemonic, jdbcType=VARCHAR} |
| | | </foreach> |
| | | END; |
| | | </update> |
| | | |
| | | <select id="pdaLocNormalQuery" resultMap="BaseResultMap"> |
| | | select id, matnr,maktx, warehouse,anfme from asr_loc_normal |