Browse Source

代码修改

liubing 3 years ago
parent
commit
34790df4ca

+ 3 - 0
svr/svr-cloud-care/src/main/java/com/yihu/jw/care/service/statistics/StatisticsService.java

@ -680,6 +680,9 @@ public class StatisticsService {
        for(int i=0;i<list.size();i++){
            SaveModel saveModel = list.get(i);
            JSONObject json = new JSONObject();
            if (saveModel.getResult2().longValue()==0&&StringUtils.isBlank(saveModel.getSlaveKey1())){
                continue;
            }
            json.put("num",saveModel.getResult2().longValue());
            json.put("code",saveModel.getSlaveKey1());
            json.put("name",saveModel.getSlaveKey1Name());

+ 1 - 1
svr/svr-cloud-job/src/main/resources/application.yml

@ -4,7 +4,7 @@ server:
spring:
  application:
      name:  svr-cloud-job
      name:  svr-cloud-job-lb
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
    max-active: 50