入参的调整

This commit is contained in:
wangliwen 2022-04-21 18:55:45 +08:00
parent 424140dd0f
commit 80648e1f59
4 changed files with 11 additions and 5 deletions

View File

@ -76,9 +76,9 @@ public class AbilityCenterController {
tAbilityApplicationDTO.setInstanceId(abilityBatchApplicationDTO.getInstanceId()); tAbilityApplicationDTO.setInstanceId(abilityBatchApplicationDTO.getInstanceId());
tAbilityApplicationDTO.setUnit(abilityBatchApplicationDTO.getUnit()); tAbilityApplicationDTO.setUnit(abilityBatchApplicationDTO.getUnit());
tAbilityApplicationDTO.setUser(abilityBatchApplicationDTO.getUser()); tAbilityApplicationDTO.setUser(abilityBatchApplicationDTO.getUser());
tAbilityApplicationDTO.setResourceId(abilityBatchApplicationDTO.getResourceId()); tAbilityApplicationDTO.setResourceId(index.get("resourceId"));
tAbilityApplicationDTO.setUser(abilityBatchApplicationDTO.getUser()); tAbilityApplicationDTO.setUser(abilityBatchApplicationDTO.getUser());
tAbilityApplicationDTO.setSystem(index); tAbilityApplicationDTO.setSystem(index.get("resourceName"));
// 仿照请求接口 /processForm/tabilityapplication // 仿照请求接口 /processForm/tabilityapplication
ValidatorUtils.validateEntity(tAbilityApplicationDTO, AddGroup.class, DefaultGroup.class); ValidatorUtils.validateEntity(tAbilityApplicationDTO, AddGroup.class, DefaultGroup.class);
tAbilityApplicationService.save(tAbilityApplicationDTO); // 写能力申请数据 tAbilityApplicationService.save(tAbilityApplicationDTO); // 写能力申请数据

View File

@ -6,6 +6,7 @@ import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
import java.util.List; import java.util.List;
import java.util.Map;
@Data @Data
@ -23,7 +24,7 @@ public class TAbilityBatchApplicationDTO implements Serializable {
@ApiModelProperty(value = "申请人所在地区") @ApiModelProperty(value = "申请人所在地区")
private String area; private String area;
@ApiModelProperty(value = "申请应用系统") @ApiModelProperty(value = "申请应用系统")
private List<String> system; private List<Map<String, String>> system;
@ApiModelProperty(value = "申请场景") @ApiModelProperty(value = "申请场景")
private String scene; private String scene;
@ApiModelProperty(value = "申请依据") @ApiModelProperty(value = "申请依据")

View File

@ -23,6 +23,9 @@ import org.springframework.stereotype.Component;
import java.util.Map; import java.util.Map;
/**
* 部门动态审批人
*/
@Component @Component
public class CorrectionListener implements TaskListener, ExecutionListener, ActivitiEventListener, JavaDelegate { public class CorrectionListener implements TaskListener, ExecutionListener, ActivitiEventListener, JavaDelegate {
private static Logger logger = LoggerFactory.getLogger(CorrectionListener.class); private static Logger logger = LoggerFactory.getLogger(CorrectionListener.class);

View File

@ -16,7 +16,9 @@ import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
/**
* 大数据局动态审批人
*/
@Component @Component
public class DataCenterListener implements TaskListener, ExecutionListener, ActivitiEventListener, JavaDelegate { public class DataCenterListener implements TaskListener, ExecutionListener, ActivitiEventListener, JavaDelegate {
private static Logger logger = LoggerFactory.getLogger(DataCenterListener.class); private static Logger logger = LoggerFactory.getLogger(DataCenterListener.class);