bug优化
This commit is contained in:
parent
c753cd5f64
commit
b0602caadc
|
|
@ -30,9 +30,11 @@
|
|||
*/
|
||||
<if test="isAll != null and isAll == 0">
|
||||
and tp.team_id is null
|
||||
</if>
|
||||
<if test="isAll != null and isAll == 1">
|
||||
ORDER BY CASE WHEN tp.id = tt.rel_id THEN 0 ELSE 1 END, tp.id
|
||||
</if>
|
||||
<if test="isAll == null or isAll != 0">
|
||||
<if test="isAll == null">
|
||||
ORDER BY tp.create_time DESC
|
||||
</if>
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue