refactor: 注解从common移至core包下

This commit is contained in:
haoxr
2024-11-19 00:02:02 +08:00
parent 6b65644d9e
commit 943ae581b8
20 changed files with 53 additions and 36 deletions

View File

@@ -62,6 +62,16 @@
</where>
GROUP BY
u.id
<choose>
<!-- 如果排序参数都传入 -->
<when test="queryParams.field != null and queryParams.field != '' and queryParams.direction != null">
ORDER BY u.${queryParams.field} ${queryParams.direction}
</when>
<!-- 默认排序 -->
<otherwise>
ORDER BY u.update_time DESC, u.create_time DESC
</otherwise>
</choose>
</select>
<!-- 用户表单信息映射 -->