| | |
| | | t1.line_id lineId, |
| | | t1.is_meta isMeta, |
| | | t1.id showId, |
| | | t1.is_line_equip isLineEquip, |
| | | t1.is_judging isJudging, |
| | | t3.sumOfEquipment |
| | | from mom_eam_equipment t1 |
| | | left join (select * from mom_eam_equipment_category where del_flag = 0) t2 on t1.equipment_category_id = t2.id |
| | |
| | | <if test="equipmentStatus != null and equipmentStatus != ''"> |
| | | and t1.equipment_status = #{equipmentStatus} |
| | | </if> |
| | | <if test="isLineEquip != null and isLineEquip != ''"> |
| | | and t1.is_line_equip = #{isLineEquip} |
| | | </if> |
| | | <if test="isLine != null and isLine != ''"> |
| | | and t1.is_line = #{isLine} |
| | | </if> |
| | | <if test="specificEquipment != null and specificEquipment != ''"> |
| | | and t1.specific_equipment = #{specificEquipment} |
| | | </if> |
| | | <if test="equipNums.size!=0"> |
| | | and t1.num in |
| | | <foreach collection="equipNums" open="(" separator="," close=")" item="num"> |
| | | #{num} |
| | | </foreach> |
| | | </if> |
| | | <if test="warrantyStart != null"> |
| | | and DATEDIFF(day,t1.warranty_start,#{warrantyStart})=0 |
| | | </if> |