|
@@ -98,9 +98,6 @@
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="getChartByUserGroupId" resultType="com.example.opc_common.entity.Chart">
|
|
<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,
|
|
SELECT tc.id,
|
|
tc.user_id,
|
|
tc.user_id,
|
|
tc.chart_type,
|
|
tc.chart_type,
|
|
@@ -114,7 +111,7 @@
|
|
tc.standby
|
|
tc.standby
|
|
FROM t_chart tc
|
|
FROM t_chart tc
|
|
INNER JOIN (SELECT chart_id FROM t_chart_user_group WHERE user_group_id = #{userGroupId}) tcug
|
|
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>
|
|
</select>
|
|
|
|
|
|
<select id="getAllOkChartCount" resultType="java.lang.Long">
|
|
<select id="getAllOkChartCount" resultType="java.lang.Long">
|