This commit is contained in:
zhangchenbiao
2024-04-18 14:51:26 +08:00
parent d41d121c4c
commit 2b3131e5da
2 changed files with 4 additions and 4 deletions

View File

@@ -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>