优化排序和查询速度
This commit is contained in:
+4
-1
@@ -210,7 +210,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
a.onboard_time as onboardTime,
|
||||
a.remark as remark,
|
||||
a.reported_bandwidth as reportedBandwidth,
|
||||
b.machine_code as machineCode
|
||||
b.machine_code as machineCode,
|
||||
(select bandwidth_result from eps_node_bandwidth
|
||||
where client_id=a.client_id and calculation_mode='1000' and bandwidth_type=1
|
||||
AND create_time = DATE(DATE_SUB(NOW(), INTERVAL 1 DAY)) limit 1) as bandwidthResult
|
||||
from rm_resource_registration a
|
||||
left join rm_registration_machine b on a.client_id = b.client_id
|
||||
<where>
|
||||
|
||||
Reference in New Issue
Block a user