|
|
|
@ -52,6 +52,9 @@ |
|
|
|
</if> |
|
|
|
<if test="key != null and key !='' "> and res.name like #{key} </if> |
|
|
|
<if test="work != null and work != ''"> and res.rate != '100' </if> |
|
|
|
<if test="isTop!=null and isTop=='1'"> |
|
|
|
and (res.parent_taskid is null or res.parent_taskid='') |
|
|
|
</if> |
|
|
|
</sql> |
|
|
|
<select id="getAvgRate" parameterType="String" resultType="long" > |
|
|
|
select avg(res.rate) from xm_task res where res.parent_taskid = #{parentTaskid} |
|
|
|
|