调整
This commit is contained in:
@@ -91,12 +91,17 @@
|
||||
<if test="param.createTimeEnd != null">
|
||||
AND a.create_time <= #{param.createTimeEnd}
|
||||
</if>
|
||||
<if test="param.equipmentIdList != null">
|
||||
AND a.equipment_id IN (#{param.equipmentIdList})
|
||||
</if>
|
||||
<if test="param.keywords != null">
|
||||
AND (
|
||||
a.name LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
OR a.model LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
OR a.equipment_no LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
OR a.company LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
OR a.filing_no LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
OR a.factory_no LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
)
|
||||
</if>
|
||||
</where>
|
||||
|
||||
Reference in New Issue
Block a user