| | |
| | | <result column="specs" property="specs" /> |
| | | <result column="batch" property="batch" /> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="order_no" property="orderNo"/> |
| | | </resultMap> |
| | | |
| | | <sql id="batchSeq"> |
| | |
| | | </if> |
| | | <if test="specs!=null and specs!='' "> |
| | | and a.specs like '%' + #{specs} + '%' |
| | | </if> |
| | | <if test="order_no!=null and order_no!='' "> |
| | | and a.order_no like '%' + #{order_no} + '%' |
| | | </if> |
| | | </sql> |
| | | |
| | |
| | | a.maktx, |
| | | a.specs, |
| | | a.batch, |
| | | a.create_time |
| | | a.create_time, |
| | | a.order_no |
| | | from asr_check_detl a |
| | | where 1=1 |
| | | <include refid="stockOutCondition" /> |