| | |
| | | <result column="standby1" property="standby1" /> |
| | | <result column="standby2" property="standby2" /> |
| | | <result column="standby3" property="standby3" /> |
| | | |
| | | <result column="box_type1" property="boxType1" /> |
| | | <result column="box_type2" property="boxType2" /> |
| | | <result column="box_type3" property="boxType3" /> |
| | | </resultMap> |
| | | |
| | | <sql id="standbyAll"> |
| | | and batch = #{batch} |
| | | and line_number = #{lineNumber} |
| | | and specs = #{specs} |
| | | and standby1 = #{standby1} |
| | | and standby2 = #{standby2} |
| | | and standby3 = #{standby3} |
| | | <if test="brand != null and brand != ''"> |
| | | and brand = #{brand} |
| | | </if> |
| | | <!-- <if test="standby1 != null and standby1 != ''">--> |
| | | <!-- and standby1 = #{standby1}--> |
| | | <!-- </if>--> |
| | | <if test="standby2 != null and standby2 != ''"> |
| | | and standby2 = #{standby2} |
| | | </if> |
| | | <if test="standby3 != null and standby3 != ''"> |
| | | and standby3 = #{standby3} |
| | | </if> |
| | | </sql> |
| | | <sql id="standbyAllMemo"> |
| | | -- and line_number = #{lineNumber} |
| | | -- and specs = #{specs} |
| | | </sql> |
| | | |
| | | <select id="selectItem" resultMap="BaseResultMap"> |