工程安全监测布置图排序问题
parent
a47bc14eb9
commit
090d0a1a1d
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue