This commit is contained in:
YAS\29473
2025-04-08 09:11:39 +08:00
parent 5bc268c922
commit 8881d55123
2 changed files with 6 additions and 2 deletions

View File

@@ -311,10 +311,12 @@
t1.pile_sn
FROM
pile_connector_info t1
LEFT JOIN pile_basic_info t2 ON t1.pile_sn = t2.sn
LEFT JOIN pile_basic_info t2 ON (t1.pile_sn = t2.sn and t2.del_flag = '0')
WHERE
t1.status = '255'
t1.status in ('255','0')
AND
t2.station_id = #{stationId,jdbcType=VARCHAR}
AND
t1.del_flag = '0'
</select>
</mapper>