Browse Source

debug 标签区域

tags/24080901
PoffyZhang 1 year ago
parent
commit
612e1cd223
3 changed files with 4 additions and 1 deletions
  1. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/portrait/manage/TagManage.java
  2. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/provincial/service/impl/JoinReviewProvincialBureauServiceImpl.java
  3. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CheckProvincialReviewResultTask.java

+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/portrait/manage/TagManage.java View File

@@ -65,8 +65,9 @@ public class TagManage {
*/
public PageVo<TagVO> list(String areaCode, TagPageReq req) {
RegionDTO regionDto = regionCacheHelper.getByCodeAndLevel(areaCode, RegionConst.RL_COUNTY);
String regionCode = Objects.nonNull(regionDto) ? regionDto.getRegionCode() : null;
LambdaQueryWrapper<Tag> query = Wrappers.lambdaQuery(Tag.class)
.eq(Objects.nonNull(regionDto),Tag::getAreaCode, regionDto.getRegionCode())
.eq(Objects.nonNull(regionCode),Tag::getAreaCode, regionCode)
.like(StringUtils.isNotBlank(req.getName()),Tag::getName,req.getName())
.orderByDesc(Tag::getUpdateOn);
checkAuth(query,LoginUserUtil.loginUserDetail());


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

@@ -129,6 +129,7 @@ public class JoinReviewProvincialBureauServiceImpl implements IJoinReviewProvinc

JSONObject jsonBaby = new JSONObject();
jsonBaby.put("projectId",projectId);
log.info("请求体 :{}",jsonBaby);
//发送post请求
RequestEntity<JSONObject> requestEntity = RequestEntity
.post(url)


+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CheckProvincialReviewResultTask.java View File

@@ -65,6 +65,7 @@ public class CheckProvincialReviewResultTask {
.eq(Project::getStatus, ProjectStatusEnum.JOINT_REVIEW_BY_PROVINCIAL_DEPARTMENTS.getCode())
.ge(Project::getDeclareAmount, ProjectDeclareConst.Number.DECLARE_AMOUNT_JUDGEMENT)
.eq(Project::getAreaCode, RegionConst.RC_LS)
.eq(Project::getNewest,Boolean.TRUE)
.orderByAsc(Project::getCreateOn));

log.info("需要去查询省级联审结果的项目 size:{}",projectList.size());


Loading…
Cancel
Save