mirror of
https://gitee.com/dromara/dbswitch.git
synced 2025-10-15 22:30:24 +00:00
代码格式化
This commit is contained in:
@@ -147,7 +147,8 @@ public class AssignmentService {
|
||||
|
||||
public PageResult<AssignmentInfoResponse> listAll(AssignmentSearchRequest request) {
|
||||
Supplier<List<AssignmentInfoResponse>> method = () -> {
|
||||
List<AssignmentInfoResponse> assignmentInfoResponseList = ConverterFactory.getConverter(AssignmentInfoConverter.class)
|
||||
List<AssignmentInfoResponse> assignmentInfoResponseList = ConverterFactory.getConverter(
|
||||
AssignmentInfoConverter.class)
|
||||
.convert(assignmentTaskDAO.listAll(request.getSearchText()));
|
||||
assignmentInfoResponseList.forEach((e) -> {
|
||||
AssignmentConfigEntity assignmentConfigEntity = this.assignmentConfigDAO.getByAssignmentTaskId(e.getId());
|
||||
@@ -380,7 +381,8 @@ public class AssignmentService {
|
||||
|
||||
AssignmentJobEntity assignmentJobEntity = this.assignmentJobMapper.selectOne(
|
||||
new LambdaQueryWrapper<AssignmentJobEntity>()
|
||||
.eq(AssignmentJobEntity::getAssignmentId, assignmentsDataResponse.getId()).orderByDesc(AssignmentJobEntity::getCreateTime)
|
||||
.eq(AssignmentJobEntity::getAssignmentId, assignmentsDataResponse.getId())
|
||||
.orderByDesc(AssignmentJobEntity::getCreateTime)
|
||||
.last(" limit 1 "));
|
||||
Integer status = (assignmentJobEntity == null || assignmentJobEntity.getStatus() == null) ?
|
||||
JobStatusEnum.INIT.getValue() :
|
||||
|
Reference in New Issue
Block a user