工程安全监测布置图排序问题

master
李一帆 2025-04-14 14:48:50 +08:00
parent a47bc14eb9
commit 090d0a1a1d
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ public interface OsmoticPressRMapper extends BaseMapper<OsmoticPressR> {
LEFT JOIN (SELECT station_code,MAX(tm) tm FROM osmotic_press_r GROUP BY station_code) maxr ON st.station_code = maxr.station_code LEFT JOIN (SELECT station_code,MAX(tm) tm FROM osmotic_press_r GROUP BY station_code) maxr ON st.station_code = maxr.station_code
LEFT JOIN osmotic_press_r r ON maxr.station_code = r.station_code AND maxr.tm = r.tm LEFT JOIN osmotic_press_r r ON maxr.station_code = r.station_code AND maxr.tm = r.tm
LEFT JOIN att_dam_profile m ON st.profile_code = m.profile_code LEFT JOIN att_dam_profile m ON st.profile_code = m.profile_code
ORDER BY m.profile_name asc,st.station_code asc,r.tm desc ORDER BY st._order asc,m._order asc
</script> </script>
""") """)
List<OsmoticPressVo> listValue(); List<OsmoticPressVo> listValue();