| | |
| | | t2.num equipmentNum, |
| | | t2.name equipmentName, |
| | | t2.model equipmentModel, |
| | | t2.team_id teamId, |
| | | t2.specification equipmentSpecification, |
| | | t3.depart_name departName, |
| | | t4.item_text urgencyName, |
| | |
| | | <if test="params.equipmentNum != null and params.equipmentNum != ''"> |
| | | and t2.num like concat('%',#{params.equipmentNum},'%') |
| | | </if> |
| | | <if test="params.equipmentName != null and params.equipmentName != ''"> |
| | | and t2.name like concat('%',#{params.equipmentName},'%') |
| | | </if> |
| | | <if test="params.status != null and params.status != ''"> |
| | | and t1.status = #{params.status} |
| | | </if> |
| | | <if test="params.teamId != null and params.teamId != ''"> |
| | | and t2.team_id = #{params.teamId} |
| | | </if> |
| | | ORDER BY t1.create_time desc |
| | | </select> |
| | | </mapper> |