Merge branch 'zjw'

This commit is contained in:
zhangjunwen 2024-11-01 14:32:48 +08:00
commit 738d691042
2 changed files with 4 additions and 1 deletions

View File

@ -71,4 +71,6 @@ public class EquipInfoRespVO {
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
private LocalDateTime createTime;
@Schema(description = "运行状态")
private Integer runStatus;
}

View File

@ -29,7 +29,8 @@ public interface EquipInfoMapper extends BaseMapperX<EquipInfoDO> {
.eqIfPresent(EquipInfoDO::getCustomerId, reqVO.getCustomerId())
.likeIfPresent(EquipInfoDO::getEquipNo, reqVO.getEquipNo())
.eqIfPresent(EquipInfoDO::getStatus, reqVO.getStatus())
.orderByDesc(EquipInfoDO::getCreateTime));
.groupBy(EquipInfoDO::getCustomerId, EquipInfoDO::getModelId)
);
}
default List<EquipSelectionVO> selection(){