Parcourir la source

多线程底包升级

gaodm il y a 4 ans
Parent
commit
972758b4c8
2 fichiers modifiés avec 5 ajouts et 7 suppressions
  1. 1 1
      pom.xml
  2. 4 6
      src/main/java/com/diagbot/facade/IndicationFacade.java

+ 1 - 1
pom.xml

@@ -33,7 +33,7 @@
         <swagger.version>2.9.2</swagger.version>
         <logstash.version>5.2</logstash.version>
         <docker-maven-plugin.version>1.2.1</docker-maven-plugin.version>
-        <aggregator.version>1.1.0</aggregator.version>
+        <aggregator.version>1.1.3</aggregator.version>
         <docker.image.prefix>192.168.2.236:5000/diagbotcloud</docker.image.prefix>
         <registryUrl>http://192.168.2.236:5000/repository/diagbotcloud/</registryUrl>
     </properties>

+ 4 - 6
src/main/java/com/diagbot/facade/IndicationFacade.java

@@ -9,7 +9,7 @@ import com.diagbot.util.CoreUtil;
 import com.diagbot.util.ListUtil;
 import com.diagbot.vo.IndicationPushVO;
 import com.diagbot.vo.StandConvert;
-import io.github.lvyahui8.spring.aggregate.facade.DataBeanAggregateQueryFacade;
+import io.github.lvyahui8.spring.facade.DataFacade;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Component;
 
@@ -35,8 +35,6 @@ public class IndicationFacade {
     BillFacade billFacade;
     @Autowired
     StandConvertServiceClient standConvertServiceClient;
-    @Autowired
-    DataBeanAggregateQueryFacade dataBeanAggregateQueryFacade;
 
     private static final Map<String, List<String>> methodMap;
 
@@ -95,14 +93,14 @@ public class IndicationFacade {
             Map<String, Object> invokeParams = new HashMap<>();
             invokeParams.put("wordCrfDTO", wordCrfDTO);
             invokeParams.put("indicationPushVO", indicationPushVO);
-            res = dataBeanAggregateQueryFacade.get("indicationAll", invokeParams, IndicationDTO.class);
+            res = DataFacade.get("indicationAll", invokeParams, IndicationDTO.class);
         } catch (Exception e) {
             throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "提醒类服务出错" + e.getMessage());
         }
 
         // 输入调试信息
-        CoreUtil.getDebugStrFirst(standStart, standEnd,"同义词转换", res.getDebugStr());
-        CoreUtil.getDebugStrFirst(crfStart, crfEnd,"处理模型数据", res.getDebugStr());
+        CoreUtil.getDebugStrFirst(standStart, standEnd, "同义词转换", res.getDebugStr());
+        CoreUtil.getDebugStrFirst(crfStart, crfEnd, "处理模型数据", res.getDebugStr());
         CoreUtil.getDebugStr(l1, "本次调用总计", res.getDebugStr());
         return res;
     }