chendayu 2 роки тому
батько
коміт
631107aa09

+ 2 - 1
RMS/src/main/java/cn/cslg/report/common/config/WebSocketConfig.java

@@ -1,11 +1,12 @@
 package cn.cslg.report.common.config;
 
+import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Configuration;
 import org.springframework.web.socket.server.standard.ServerEndpointExporter;
 
 @Configuration
 public class WebSocketConfig {
-    //@Bean
+    @Bean
     public ServerEndpointExporter serverEndpointExporter() {
         return new ServerEndpointExporter();
     }

+ 0 - 1
RMS/src/main/resources/mapper/ProductMapper.xml

@@ -94,7 +94,6 @@
                  left join REPORT_FILE rf on apf.FILE_ID = rf.ID
         where REPORT_ID = #{reportId}
         order by rf_ID
-        limit 1;
     </select>
 
     <resultMap id="WholeResultMap" type="cn.cslg.report.common.model.vo.ProductIncludeFilesVO">

BIN
RMS/target/classes/cn/cslg/report/common/config/WebSocketConfig.class


+ 0 - 1
RMS/target/classes/mapper/ProductMapper.xml

@@ -94,7 +94,6 @@
                  left join REPORT_FILE rf on apf.FILE_ID = rf.ID
         where REPORT_ID = #{reportId}
         order by rf_ID
-        limit 1;
     </select>
 
     <resultMap id="WholeResultMap" type="cn.cslg.report.common.model.vo.ProductIncludeFilesVO">