| | |
| | | and (standby3 IS NULL OR standby3 = '') |
| | | </otherwise> |
| | | </choose> |
| | | <choose> |
| | | <when test="boxType1 != null and boxType1 != ''"> |
| | | and box_type1 = #{boxType1} |
| | | </when> |
| | | <otherwise> |
| | | and (box_type1 IS NULL OR box_type1 = '') |
| | | </otherwise> |
| | | </choose> |
| | | <!-- <choose>--> |
| | | <!-- <when test="boxType1 != null and boxType1 != ''">--> |
| | | <!-- and box_type1 = #{boxType1}--> |
| | | <!-- </when>--> |
| | | <!-- <otherwise>--> |
| | | <!-- and (box_type1 IS NULL OR box_type1 = '')--> |
| | | <!-- </otherwise>--> |
| | | <!-- </choose>--> |
| | | <choose> |
| | | <when test="boxType2 != null and boxType2 != ''"> |
| | | and box_type2 = #{boxType2} |