Showing
1 changed file
with
3 additions
and
0 deletions
| ... | ... | @@ -98,6 +98,9 @@ |
| 98 | 98 | AND c.name LIKE CONCAT('%', #{vo.customerName}, '%') |
| 99 | 99 | </if> |
| 100 | 100 | </where> |
| 101 | + <if test="vo.sortField == null or vo.sortField == ''"> | |
| 102 | + ORDER BY tb.create_time DESC | |
| 103 | + </if> | |
| 101 | 104 | </sql> |
| 102 | 105 | |
| 103 | 106 | <select id="query" resultMap="CustomerDevelopPlan"> | ... | ... |