diff --git a/mailbox-report/src/main/java/com/biutag/report/domain/Report.java b/mailbox-report/src/main/java/com/biutag/report/domain/Report.java index 8c3e606..8751ceb 100644 --- a/mailbox-report/src/main/java/com/biutag/report/domain/Report.java +++ b/mailbox-report/src/main/java/com/biutag/report/domain/Report.java @@ -13,8 +13,8 @@ import java.time.LocalDateTime; @Accessors(chain = true) @Setter @Getter -@TableName("V_T_JCJ_JJD") -//@TableName("V_DCZD_JJD") +//@TableName("V_T_JCJ_JJD") +@TableName("CSGA110.V_DCZD_JJD") public class Report { private String jjdbh; diff --git a/mailbox-report/src/main/java/com/biutag/report/service/ReportService.java b/mailbox-report/src/main/java/com/biutag/report/service/ReportService.java index d2974df..db3a649 100644 --- a/mailbox-report/src/main/java/com/biutag/report/service/ReportService.java +++ b/mailbox-report/src/main/java/com/biutag/report/service/ReportService.java @@ -22,9 +22,9 @@ public class ReportService extends ServiceImpl { public List syncData() { QueryWrapper queryWrapper = new QueryWrapper<>(); - queryWrapper.select("DISTINCT * "); -// queryWrapper.select("DISTINCT BJDH,BJRXM,afdd,bjrxbms,bjrsfms,JJLXDMMS," + -// "GXDWMC,YSJQXZMC,JQXZMC,BJNR,hzsj,bjrlxdh,jqjbms,jjdztms,bjxzb,bjyzb,XCHFNR "); +// queryWrapper.select("DISTINCT * "); + queryWrapper.select("DISTINCT BJDH,BJRXM,afdd,bjrxbms,bjrsfms,JJLXDMMS," + + "GXDWMC,YSJQXZMC,JQXZMC,BJNR,hzsj,bjrlxdh,jqjbms,jjdztms,bjxzb,bjyzb,XCHFNR "); List list = baseMapper.selectList(queryWrapper); List listVo = new ArrayList<>(); for (Report report : list){ diff --git a/mailbox-report/src/main/resources/application.yml b/mailbox-report/src/main/resources/application.yml index 3360997..502b87e 100644 --- a/mailbox-report/src/main/resources/application.yml +++ b/mailbox-report/src/main/resources/application.yml @@ -8,8 +8,9 @@ spring: profiles: active: @profiles.active@ datasource: - driver-class-name: oracle.jdbc.OracleDriver -#driver-class-name: dm.jdbc.driver.DmDriver + driver-class-name: dm.jdbc.driver.DmDriver +# driver-class-name: oracle.jdbc.OracleDriver + servlet: multipart: