Commit 2debe327 authored by jichao's avatar jichao

设备维护--设备报表,表头顺序不一致的bug

parent 5f87b00e
......@@ -23,7 +23,7 @@ public interface ReportRepository {
@Select("<script>select b.DEV_NUM,b.DEV_NM,bp.PARAM,dp.P_SOURCE,dp.PARAM_NM " +
"from bus_device_param bp,bus_devicetp_param dp,bus_device b " +
"where bp.PARAM_CODE=dp.PARAM_CODE and b.PRO_ID=dp.PRO_ID and bp.DEV_NUM=b.DEV_NUM and b.PRO_ID=#{proId} " +
"order by b.DEV_NUM,dp.P_SOURCE,bp.PARAM</script>")
"order by b.DEV_NUM,dp.P_SOURCE,dp.PARAM_NM</script>")
@ResultMap(value = "report")
List<Report> reportList(Params params);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment