Ver código fonte

分析和为联接数据集合两个接口作废

shiyue 4 meses atrás
pai
commit
1d4e87d3fe

+ 2 - 2
energy-manage-service/src/main/resources/mybatis/system/OrganizationAuthMapper.xml

@@ -63,8 +63,8 @@
              analysis_state
          from
              analysis_result
-         where create_time in
-         (select max(create_time) from analysis_result group by field_code)) wfbr on wf.field_code = wfbr.field_code
+         where id in
+         (select max(id) from analysis_result group by field_code)) wfbr on wf.field_code = wfbr.field_code
         where 1=1
         </select>