1.算法提交
2.用户模块代码调整
This commit is contained in:
@@ -284,7 +284,7 @@ public class ExecutionCenter extends BaseController {
|
||||
public void generaTrixExecutor(@RequestBody BaseParam baseParam) {
|
||||
String methodDescribe = getMethodDescribe("generaTrixExecutor");
|
||||
//手动判断参数是否合法,
|
||||
CalculatedParam calculatedParam = judgeExecuteParam(baseParam);
|
||||
CalculatedParam<DeptGetBusBarDTO> calculatedParam = judgeExecuteParam(baseParam);
|
||||
//母线索引
|
||||
if (CollectionUtils.isEmpty(calculatedParam.getIdList())) {
|
||||
Dept dept = deptFeignClient.getRootDept().getData();
|
||||
@@ -292,10 +292,7 @@ public class ExecutionCenter extends BaseController {
|
||||
deptGetLineParam.setDeptId(dept.getId());
|
||||
deptGetLineParam.setSystemType(0);
|
||||
List<DeptGetBusBarDTO> busBarList = commTerminalGeneralClient.deptBusBar(deptGetLineParam).getData();
|
||||
DeptGetBusBarDTO dto = busBarList.stream().filter(u -> Objects.equals(u.getUnitId(),dept.getCode())).findAny().orElse(null);
|
||||
if (Objects.nonNull(dto)){
|
||||
calculatedParam.setIdList(dto.getBusBarIds());
|
||||
}
|
||||
calculatedParam.setIdList(busBarList);
|
||||
}
|
||||
LiteflowResponse liteflowResponse;
|
||||
if (baseParam.isRepair()) {
|
||||
|
||||
Reference in New Issue
Block a user