fix
This commit is contained in:
parent
1ea511358b
commit
a85f4a937a
@ -21,9 +21,6 @@ public class ResultTaskDto {
|
|||||||
//任务的当前进度
|
//任务的当前进度
|
||||||
@ApiModelProperty(value = "任务的当前进度", name = "processRate")
|
@ApiModelProperty(value = "任务的当前进度", name = "processRate")
|
||||||
private BigDecimal processRate;
|
private BigDecimal processRate;
|
||||||
//排序由小到大
|
|
||||||
@ApiModelProperty(value = "排序由小到大", name = "orderBy")
|
|
||||||
private Integer orderBy;
|
|
||||||
/**
|
/**
|
||||||
* 任务名称
|
* 任务名称
|
||||||
* @return
|
* @return
|
||||||
@ -56,27 +53,11 @@ public class ResultTaskDto {
|
|||||||
this.processRate = processRate;
|
this.processRate = processRate;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 排序由小到大
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
public Integer getOrderBy() {
|
|
||||||
return orderBy;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* 排序由小到大
|
|
||||||
* @param orderBy
|
|
||||||
*/
|
|
||||||
public void setOrderBy(Integer orderBy) {
|
|
||||||
this.orderBy = orderBy;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "ResultTaskDto{" +
|
return "ResultTaskDto{" +
|
||||||
"name='" + name + '\'' +
|
"name='" + name + '\'' +
|
||||||
", processRate=" + processRate +
|
", processRate=" + processRate +
|
||||||
", orderBy=" + orderBy +
|
|
||||||
'}';
|
'}';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -89,7 +89,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectResultTaskDtosByDetailId" resultType="com.lz.modules.performance.dto.ResultTaskDto" >
|
<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>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user