@@ -98,9 +98,6 @@
</select>
<select id="getChartByUserGroupId" resultType="com.example.opc_common.entity.Chart">
- id
- ,user_id, chart_type, chart_name, value_taking_mode, bucket_type, bucket_value,
- start_time, end_time, standby
SELECT tc.id,
tc.user_id,
tc.chart_type,
@@ -114,7 +111,7 @@
tc.standby
FROM t_chart tc
INNER JOIN (SELECT chart_id FROM t_chart_user_group WHERE user_group_id = #{userGroupId}) tcug
- ON trt.id = tcug.chart_id;
+ ON tc.id = tcug.chart_id;
<select id="getAllOkChartCount" resultType="java.lang.Long">
@@ -443,7 +443,6 @@
trt.user_id,
trt.report_table_name,
trt.start_time,
- trt.value_condition,
trt.report_table_type,
trt.version,
trt.cron_id,