This commit is contained in:
杜建超 2020-12-09 16:08:43 +08:00
parent 1ea511358b
commit a85f4a937a
2 changed files with 1 additions and 20 deletions

View File

@ -21,9 +21,6 @@ public class ResultTaskDto {
//任务的当前进度
@ApiModelProperty(value = "任务的当前进度", name = "processRate")
private BigDecimal processRate;
//排序由小到大
@ApiModelProperty(value = "排序由小到大", name = "orderBy")
private Integer orderBy;
/**
* 任务名称
* @return
@ -56,27 +53,11 @@ public class ResultTaskDto {
this.processRate = processRate;
}
/**
* 排序由小到大
* @return
*/
public Integer getOrderBy() {
return orderBy;
}
/**
* 排序由小到大
* @param orderBy
*/
public void setOrderBy(Integer orderBy) {
this.orderBy = orderBy;
}
@Override
public String toString() {
return "ResultTaskDto{" +
"name='" + name + '\'' +
", processRate=" + processRate +
", orderBy=" + orderBy +
'}';
}
}

View File

@ -89,7 +89,7 @@
</select>
<select id="selectResultTaskDtosByDetailId" resultType="com.lz.modules.performance.dto.ResultTaskDto" >
select name,process_rate,order_by from lz_result_task where detail_id=#{detailId} and is_delete = 0 order by order_by asc
select name,process_rate from lz_result_task where detail_id=#{detailId} and is_delete = 0 order by order_by asc
</select>
</mapper>