fix
This commit is contained in:
@@ -87,13 +87,13 @@
|
||||
inner join xfsg_point_info p on p.id = pr.point_id
|
||||
where
|
||||
p.deleted = 0 and pr.line_id = #{request.lineId} and pr.deleted = 0
|
||||
<if test="request.status != null and request.status == '1'">
|
||||
<if test="request.status != null and request.status == 1">
|
||||
and pr.status = 1 and p.select_status = 0
|
||||
</if>
|
||||
<if test="request.status != null and request.status == '2'">
|
||||
<if test="request.status != null and request.status == 2">
|
||||
and pr.status = 2 and p.select_status = 1 and p.line_id = #{request.lineId}
|
||||
</if>
|
||||
<if test="request.status != null and request.status == '3'">
|
||||
<if test="request.status != null and request.status == 3">
|
||||
and pr.status in (5, 6)
|
||||
</if>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user