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

@@ -3125,6 +3125,8 @@
FROM FROM
order_basic_info order_basic_info
WHERE WHERE
del_flag = '0'
and
station_id = #{stationId} station_id = #{stationId}
ORDER BY ORDER BY
create_time DESC create_time DESC

View File

@@ -311,10 +311,12 @@
t1.pile_sn t1.pile_sn
FROM FROM
pile_connector_info t1 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 WHERE
t1.status = '255' t1.status in ('255','0')
AND AND
t2.station_id = #{stationId,jdbcType=VARCHAR} t2.station_id = #{stationId,jdbcType=VARCHAR}
AND
t1.del_flag = '0'
</select> </select>
</mapper> </mapper>