| | |
| | | <if test="startTime!=null and endTime!=null"> |
| | | and a.modi_time between #{startTime} and #{endTime} |
| | | </if> |
| | | <if test="crnNo!=null and crnNo!='' "> |
| | | and b.crn_no=#{crnNo} |
| | | </if> |
| | | </sql> |
| | | |
| | | <select id="getStockOutPage" resultMap="BaseResultMap"> |
| | |
| | | and a.batch = #{batch} |
| | | </if> |
| | | <if test="orderNo != null and orderNo != ''"> |
| | | and a.orderNo = #{orderNo} |
| | | and a.order_no = #{orderNo} |
| | | </if> |
| | | |
| | | <if test="locNos != null and locNos.size > 0"> |
| | |
| | | batch LIKE '%[a-z]%' |
| | | </select> |
| | | |
| | | <select id="selectLocDetlSumQty" resultType="double"> |
| | | select SUM(anfme) anfme |
| | | from asr_loc_detl |
| | | where loc_no=#{locNo} |
| | | </select> |
| | | |
| | | </mapper> |