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)
@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;

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() {
QueryWrapper<Report> 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<Report> list = baseMapper.selectList(queryWrapper);
List<ReportVo> listVo = new ArrayList<>();
for (Report report : list){

5
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:

Loading…
Cancel
Save