update个人完成率加排序2

This commit is contained in:
liao
2022-11-17 18:04:09 +08:00
parent 8528f9990a
commit d267b7b35c
@@ -881,6 +881,10 @@
<if test="principalPeopleSearch.column == 'confirmAmount' and principalPeopleSearch.order == 'desc'">
order by confirmAmount desc
</if>
<if test="principalPeopleSearch.column == 'finishRate' and principalPeopleSearch.order == 'desc'">
order by
substring_index(finishRate,'%',1) desc
</if>
<if test="principalPeopleSearch.column == 'confirmAmount' and principalPeopleSearch.order == 'asc'">
order by confirmAmount
</if>
@@ -893,9 +897,11 @@
<if test="principalPeopleSearch.column == 'billMoney' and principalPeopleSearch.order == 'asc'">
order by billMoney
</if>
<if test="principalPeopleSearch.column == 'finishRate' and principalPeopleSearch.order == 'asc'">
order by
substring_index(finishRate,'%',1)
</if>
</if>
order by
substring_index(finishRate,'%',1) desc
</select>
<!--个人来款统计-->
<select id="queryPageListForPrincipal33" resultType="com.jero.statistics.entity.AllMoney">