Browse Source

debug 查询最新项目

master
PoffyZhang 1 year ago
parent
commit
34e9ec747e
3 changed files with 8 additions and 1 deletions
  1. +0
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/service/impl/ProjectServiceImpl.java
  2. +4
    -0
      pmapi/src/main/resources/application-prod.yml
  3. +4
    -0
      pmapi/src/test/resources/application-prod.yml

+ 0
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/service/impl/ProjectServiceImpl.java View File

@@ -65,7 +65,6 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
LambdaQueryWrapper<Project> last = Wrappers.lambdaQuery(Project.class)
.eq(Project::getNewest, Boolean.TRUE)
.eq(Project::getProjectCode, projectCode)
.eq(Project::getIsConstruct, Boolean.FALSE)
.last(BizConst.LIMIT_1);
Project newest = getOne(last);



+ 4
- 0
pmapi/src/main/resources/application-prod.yml View File

@@ -222,6 +222,10 @@ irs:
url: https://interface.zjzwfw.gov.cn/gateway/api/proxy/001003001029/dataSharing/94wbaL1I1Pbz0648.htm
appScret: 496f0f2a19994f76b4fd9dae087366c7
appKey: A331101453557202109017383
search-app:
url: https://interface.zjzwfw.gov.cn/gateway/api/001003001029/dataSharing/XS8daav3bcemZ3Ra.htm
appScret: 496f0f2a19994f76b4fd9dae087366c7
appKey: A331101453557202109017383
hostname: iZ6mx01gyeodd80imxd2gbZ
login:
phone-verify-code:


+ 4
- 0
pmapi/src/test/resources/application-prod.yml View File

@@ -217,6 +217,10 @@ irs:
url: https://interface.zjzwfw.gov.cn/gateway/api/proxy/001003001029/dataSharing/94wbaL1I1Pbz0648.htm
appScret: 496f0f2a19994f76b4fd9dae087366c7
appKey: A331101453557202109017383
search-app:
url: https://interface.zjzwfw.gov.cn/gateway/api/001003001029/dataSharing/XS8daav3bcemZ3Ra.htm
appScret: 496f0f2a19994f76b4fd9dae087366c7
appKey: A331101453557202109017383
hostname: iZ6mx01gyeodd80imxd2gbZ
login:
phone-verify-code:


Loading…
Cancel
Save