|
@@ -25,6 +25,7 @@
|
|
|
select *
|
|
|
from simulation_manual_project_task
|
|
|
where is_deleted = '0' and p_id = #{pId,jdbcType=VARCHAR}
|
|
|
+ order by run_start_time desc
|
|
|
</select>
|
|
|
|
|
|
<!--根据项目id查询任务列表总数-->
|
|
@@ -46,7 +47,7 @@
|
|
|
<select id="selectRunResultCount" parameterType="string" resultType="api.common.pojo.vo.project.ProjectRunResultRatioNumVo">
|
|
|
select run_result as resultName, count(*) as num
|
|
|
from simulation_manual_project_task
|
|
|
- where p_id = #{id,jdbcType=VARCHAR} and is_deleted = '0' and run_result != null and run_result != ""
|
|
|
+ where p_id = #{id,jdbcType=VARCHAR} and is_deleted = '0' and run_result is not null and run_result != ""
|
|
|
group by run_result
|
|
|
</select>
|
|
|
|