Browse Source

信创审核列表 单位问题

tags/24080901
PoffyZhang 4 months ago
parent
commit
1165727ec2
3 changed files with 6 additions and 4 deletions
  1. +0
    -4
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java
  2. +3
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/XcfhxApplyEditDTO.java
  3. +3
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/XcfhxApplySaveDTO.java

+ 0
- 4
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java View File

@@ -724,12 +724,8 @@ public class PurchaseManage {
* @return
*/
public Long addSystem(XcfhxApplySaveDTO dto) {
UserFullInfoDTO userFullInfo = userInfoHelper.getUserFullInfo(LoginUserUtil.getUserId());

Xinchuang xinchuang = BeanUtil.copyProperties(dto, Xinchuang.class);
xinchuang.setSourceType(PurchaseSourceTypeEnum.MANUAL_ADDITION.getCode());
xinchuang.setBuildOrgCode(userFullInfo.getMhUnitIdStr());
xinchuang.setBuildOrgName(userFullInfo.getMhUnitName());
if(xinchuangService.save(xinchuang)){
if (Boolean.TRUE.equals(dto.getMatchXcfhx())) {
if (StrUtils.isNotBlank(dto.getMhXcfhxReportFile())) {


+ 3
- 0
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/XcfhxApplyEditDTO.java View File

@@ -50,4 +50,7 @@ public class XcfhxApplyEditDTO {

@ApiModelProperty("资源类型 1手动新增 2系统生成 3大数据局")
private Integer sourceType;

@ApiModelProperty("单位名称")
private String buildOrgName;
}

+ 3
- 0
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/XcfhxApplySaveDTO.java View File

@@ -48,4 +48,7 @@ public class XcfhxApplySaveDTO {

@ApiModelProperty("资源类型 1手动新增 2系统生成 3大数据局")
private Integer sourceType;

@ApiModelProperty("单位名称")
private String buildOrgName;
}

Loading…
Cancel
Save