zhoupeng hace 1 año
padre
commit
6a2ae13866

+ 1 - 4
chaunyi_opc/opc_da/src/main/resources/mapper/ChartDao.xml

@@ -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>
 
     <select id="getAllOkChartCount" resultType="java.lang.Long">

+ 0 - 1
chaunyi_opc/opc_da/src/main/resources/mapper/ReportTableDao.xml

@@ -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,