| | |
| | | <if test="supp != null and supp != ''"> |
| | | and a.supp = #{supp} |
| | | </if> |
| | | <if test="temp1 != null and temp1 != ''"> |
| | | and a.temp1 = #{temp1} |
| | | </if> |
| | | <if test="temp2 != null and temp2 != ''"> |
| | | and a.temp2 = #{temp2} |
| | | </if> |
| | | <if test="batch != null and batch != ''"> |
| | | and a.batch = #{batch} |
| | | </if> |
| | |
| | | where 1=1 |
| | | group by matnr,batch |
| | | </select> |
| | | <select id="sum" resultType="java.lang.Integer"> |
| | | <select id="sum" resultType="java.lang.Double"> |
| | | SELECT SUM(anfme) FROM asr_loc_detl |
| | | </select> |
| | | <select id="unreason" resultMap="BaseResultMap"> |
| | |
| | | <if test="supp != null and supp != ''"> |
| | | and a.supp = #{supp} |
| | | </if> |
| | | <if test="temp1 != null and temp1 != ''"> |
| | | and a.temp1 = #{temp1} |
| | | </if> |
| | | <if test="temp2 != null and temp2 != ''"> |
| | | and a.temp2 = #{temp2} |
| | | </if> |
| | | <if test="batch != null and batch != ''"> |
| | | and a.batch = #{batch} |
| | | </if> |
| | |
| | | <if test="supp != null and supp != ''"> |
| | | and a.supp = #{supp} |
| | | </if> |
| | | <if test="temp1 != null and temp1 != ''"> |
| | | and a.temp1 = #{temp1} |
| | | </if> |
| | | <if test="temp2 != null and temp2 != ''"> |
| | | and a.temp2 = #{temp2} |
| | | </if> |
| | | <if test="batch != null and batch != ''"> |
| | | and a.batch = #{batch} |
| | | </if> |
| | |
| | | <if test="supp != null and supp != ''"> |
| | | and a.supp = #{supp} |
| | | </if> |
| | | <if test="temp1 != null and temp1 != ''"> |
| | | and a.temp1 = #{temp1} |
| | | </if> |
| | | <if test="temp2 != null and temp2 != ''"> |
| | | and a.temp2 = #{temp2} |
| | | </if> |
| | | <if test="batch != null and batch != ''"> |
| | | and a.batch = #{batch} |
| | | </if> |