src/main/resources/mapper/LocDetlMapper.xml
@@ -130,4 +130,22 @@ order by mp.prio desc, mld.create_time asc </select> <select id="getLocDetlStatis" resultMap="BaseResultMap"> select ROW_NUMBER() over (order by sum(a.anfme) desc) as row , a.matnr , sum(a.anfme) as anfme from man_loc_detl a where 1=1 group by a.matnr </select> <select id="selectByNodeUuid" resultMap="BaseResultMap"> select * from man_loc_detl mld left join man_node mn on mld.node_id = mn.id where 1=1 and mn.uuid = #{uuid} and mld.status = 1 order by mld.create_time </select> </mapper>