0918优化-电表点位查询修改
This commit is contained in:
@ -332,8 +332,8 @@
|
||||
<if test="deviceCategory != null and deviceCategory != ''">
|
||||
and t.device_category = #{deviceCategory}
|
||||
</if>
|
||||
<if test="dataPointName != null and dataPointName != ''">
|
||||
and t.data_point_name like CONCAT('%', #{dataPointName}, '%')
|
||||
<if test="pointName != null and pointName != ''">
|
||||
and t.point_name like CONCAT('%', #{pointName}, '%')
|
||||
</if>
|
||||
<if test="dataPoint != null and dataPoint != ''">
|
||||
and t.data_point like CONCAT('%', #{dataPoint}, '%')
|
||||
@ -362,8 +362,8 @@
|
||||
</if>
|
||||
) as tmp
|
||||
where 1=1
|
||||
<if test="dataPointName != null and dataPointName != ''">
|
||||
and tmp.dataPointName like CONCAT('%', #{dataPointName}, '%')
|
||||
<if test="pointName != null and pointName != ''">
|
||||
and tmp.point_name like CONCAT('%', #{pointName}, '%')
|
||||
</if>
|
||||
<if test="dataPoint != null and dataPoint != ''">
|
||||
and tmp.dataPoint like CONCAT('%', #{dataPoint}, '%')
|
||||
|
||||
Reference in New Issue
Block a user