入参的调整
This commit is contained in:
parent
424140dd0f
commit
80648e1f59
|
@ -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); // 写能力申请数据
|
||||||
|
|
|
@ -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 = "申请依据")
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue