新增 toOrderSql() 和 toGroupSql() 方法,当为空的时候不输出 ORDER BY 和 GROUP BY 关键字
This commit is contained in:
@@ -22,7 +22,8 @@
|
||||
AND u.user_code = #{userCode}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY ${sqlMap.order.toSql()}
|
||||
${sqlMap.group.toGroupSql()}
|
||||
${sqlMap.order.toOrderSql()}
|
||||
</select>
|
||||
|
||||
<!-- 重写 Dao 中的 insert 查询方法 v5.11.1
|
||||
|
||||
Reference in New Issue
Block a user