fix:事业部查询新增仿真类型
This commit is contained in:
@@ -13,4 +13,7 @@ public class DeptQueryReq extends BaseReq {
|
||||
@Schema(description = "学科")
|
||||
private String discipline;
|
||||
|
||||
@Schema(description = "仿真类型")
|
||||
private String simulationType;
|
||||
|
||||
}
|
||||
|
||||
@@ -143,6 +143,6 @@ public class SpdmNodeVo extends BaseEntity {
|
||||
/**
|
||||
* 完成进度 (已完成任务数+已闭环任务数)/ 任务总数
|
||||
*/
|
||||
private String progressNum;
|
||||
private String progressNum = "0%";
|
||||
|
||||
}
|
||||
|
||||
@@ -131,6 +131,9 @@ public class ISysDeptUserServiceImpl extends ServiceImpl<SysDeptUserMapper, SysD
|
||||
if (StringUtils.isNotEmpty(req.getDiscipline())) {
|
||||
queryWrapper.like(SysDeptUser::getDiscipline, req.getDiscipline());
|
||||
}
|
||||
if (StringUtils.isNotEmpty(req.getSimulationType())) {
|
||||
queryWrapper.like(SysDeptUser::getSimulationType, req.getSimulationType());
|
||||
}
|
||||
List<SysDeptUser> sysDeptUsers = this.list(queryWrapper);
|
||||
if (CollectionUtils.isEmpty(sysDeptUsers)) {
|
||||
return SdmResponse.success(new ArrayList<>());
|
||||
|
||||
Reference in New Issue
Block a user