Kaynağa Gözat

保存

master
PoffyZhang 1 yıl önce
ebeveyn
işleme
7a02b65d6b
4 değiştirilmiş dosya ile 66 ekleme ve 3 silme
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/ding/controller/DingInfoPullController.java
  2. +48
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/gov/controller/GovProjectCollectionController.java
  3. +15
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java
  4. +2
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/irs/manage/AppIrsManage.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/ding/controller/DingInfoPullController.java Dosyayı Görüntüle

@@ -149,7 +149,7 @@ public class DingInfoPullController {
projectDto.setProjectCode(row.getCell(0).toString());
projectDto.setProjectName(row.getCell(1).toString());
projectDto.setArea(row.getCell(2).toString());
projectDto.setAreaCode(row.getCell(3).toString());
projectDto.setAreaCode("331123000");
String baseProjType = String.valueOf(row.getCell(4));
if(StringUtils.isNotBlank(baseProjType) && baseProjType.contains(".")){
baseProjType = baseProjType.substring(0,


+ 48
- 0
pmapi/src/main/java/com/ningdatech/pmapi/gov/controller/GovProjectCollectionController.java Dosyayı Görüntüle

@@ -0,0 +1,48 @@
package com.ningdatech.pmapi.gov.controller;


import com.ningdatech.pmapi.gov.manage.BelongOrgManage;
import com.ningdatech.pmapi.gov.model.vo.GovBusinessStripVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
* <p>
* 前端控制器
* </p>
*
* @author zpf
* @since 2023-08-21
*/
@Slf4j
@Validated
@RestController
@RequiredArgsConstructor
@Api(value = "GovProjectCollectionController", tags = "电子政务规范项目归集控制器")
@RequestMapping("/api/v1/gov-project-collection")
public class GovProjectCollectionController {

private final BelongOrgManage belongOrgManage;

@GetMapping("/dictionary")
@ApiOperation("获取条线列表")
public List<GovBusinessStripVO> getGovBusinessStripList(@RequestParam(value = "type", required = false) String type) {
return belongOrgManage.getGovBusinessStripList(type);
}

@GetMapping("/business-strip/expert/analysis")
@ApiOperation("分析专家数据")
public void analysisExpertOrg() {
belongOrgManage.analysisExpertOrg();
}

}

+ 15
- 0
pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java Dosyayı Görüntüle

@@ -0,0 +1,15 @@
package com.ningdatech.pmapi.gov.manage;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

/**
* @author zpf
* @date 2023/8/21 下午2:27
*/

@Component
@RequiredArgsConstructor
public class GovProjectCollectionManage {

}

+ 2
- 2
pmapi/src/main/java/com/ningdatech/pmapi/irs/manage/AppIrsManage.java Dosyayı Görüntüle

@@ -323,13 +323,13 @@ public class AppIrsManage {
String baseConstructionType = projectDto.getBaseConstructionType();//"01"
String baseProjType = projectDto.getBaseProjType();//"1"
String baseProjContacts = projectDto.getContactName();//"毛以林"
String isEffective = "1";
String isEffective = "02";
String baseConsDeprtDing = projectDto.getBuildOrgCode();//"GO_9a7dce7fbaf54787998fa004f1b7c0e1";
String baseProjSetProg = projectDto.getBaseProjSetProg();//"04"
String baseProjContactsCall = projectDto.getContactPhone();//"13857049999"
String baseProjName = projectDto.getProjectName();//"遂昌县大数据和金融发展中心天工系统"
String baseProjConsClass = projectDto.getBaseProjConsClass();//"C"
String areaCode = projectDto.getAreaCode() + "000";//"331123000"
String areaCode = projectDto.getAreaCode();//"331123000"
String baseAreaName = projectDto.getArea();//"遂昌县";
String baseManDeprtDing = projectDto.getSuperOrgCode();//"GO_9a7dce7fbaf54787998fa004f1b7c0e1";
String baseProvManDeprtDing = projectDto.getHigherSuperOrgCode();//"GO_6c383c049d95461f9a0df780140ceb32";


Yükleniyor…
İptal
Kaydet