Browse Source

110举报投诉

master
laishajiang 2 years ago
parent
commit
814ea79be6
  1. 4
      mailbox-report/src/main/java/com/biutag/report/domain/Report.java
  2. 6
      mailbox-report/src/main/java/com/biutag/report/service/ReportService.java
  3. 5
      mailbox-report/src/main/resources/application.yml

4
mailbox-report/src/main/java/com/biutag/report/domain/Report.java

@ -13,8 +13,8 @@ import java.time.LocalDateTime;
@Accessors(chain = true) @Accessors(chain = true)
@Setter @Setter
@Getter @Getter
@TableName("V_T_JCJ_JJD") //@TableName("V_T_JCJ_JJD")
//@TableName("V_DCZD_JJD") @TableName("CSGA110.V_DCZD_JJD")
public class Report { public class Report {
private String jjdbh; private String jjdbh;

6
mailbox-report/src/main/java/com/biutag/report/service/ReportService.java

@ -22,9 +22,9 @@ public class ReportService extends ServiceImpl<ReportMapper, Report> {
public List<ReportVo> syncData() { public List<ReportVo> syncData() {
QueryWrapper<Report> queryWrapper = new QueryWrapper<>(); QueryWrapper<Report> queryWrapper = new QueryWrapper<>();
queryWrapper.select("DISTINCT * "); // queryWrapper.select("DISTINCT * ");
// queryWrapper.select("DISTINCT BJDH,BJRXM,afdd,bjrxbms,bjrsfms,JJLXDMMS," + queryWrapper.select("DISTINCT BJDH,BJRXM,afdd,bjrxbms,bjrsfms,JJLXDMMS," +
// "GXDWMC,YSJQXZMC,JQXZMC,BJNR,hzsj,bjrlxdh,jqjbms,jjdztms,bjxzb,bjyzb,XCHFNR "); "GXDWMC,YSJQXZMC,JQXZMC,BJNR,hzsj,bjrlxdh,jqjbms,jjdztms,bjxzb,bjyzb,XCHFNR ");
List<Report> list = baseMapper.selectList(queryWrapper); List<Report> list = baseMapper.selectList(queryWrapper);
List<ReportVo> listVo = new ArrayList<>(); List<ReportVo> listVo = new ArrayList<>();
for (Report report : list){ for (Report report : list){

5
mailbox-report/src/main/resources/application.yml

@ -8,8 +8,9 @@ spring:
profiles: profiles:
active: @profiles.active@ active: @profiles.active@
datasource: 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: servlet:
multipart: multipart:

Loading…
Cancel
Save