|
|
@ -41,7 +41,7 @@
|
|
|
|
left join base_equipment be on be.equipment_code = mlp.line_code
|
|
|
|
left join base_equipment be on be.equipment_code = mlp.line_code
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
<if test="lineCode != null and lineCode != ''">
|
|
|
|
<if test="lineCode != null and lineCode != ''">
|
|
|
|
and mlp.line_code like concat('%', #{lineName}, '%')
|
|
|
|
and mlp.line_code like concat('%', #{lineCode}, '%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="lineName != null and lineName != ''">
|
|
|
|
<if test="lineName != null and lineName != ''">
|
|
|
|
and be.equipment_name like concat('%', #{lineName}, '%')
|
|
|
|
and be.equipment_name like concat('%', #{lineName}, '%')
|
|
|
|