update 优化去除sql差异化 时间范围统一使用 between 处理

This commit is contained in:
疯狂的狮子li
2022-03-03 11:17:55 +08:00
parent a54cb7d3e4
commit b2d3abd9d6
4 changed files with 16 additions and 52 deletions
@@ -17,18 +17,6 @@
<result property="remark" column="remark"/>
</resultMap>
<sql id="selectPostVo">
select post_id,
post_code,
post_name,
post_sort,
status,
create_by,
create_time,
remark
from sys_post
</sql>
<select id="selectPostListByUserId" parameterType="Long" resultType="Long">
select p.post_id
from sys_post p