Commit 373ef30e by zhiwj

倒序

parent 28b53c27
......@@ -34,6 +34,7 @@
<if test="search !=null and search !=''">
and sms_package_name like concat('%',#{search},'%')
</if>
order by status, create_time desc
limit #{totalCount}
</sql>
<sql id="list2">
......@@ -51,6 +52,7 @@
<if test="search !=null and search !=''">
and sms_package_name like concat('%',#{search},'%')
</if>
order by status, create_time desc
limit #{totalCount}
</sql>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
......@@ -234,10 +236,11 @@
select <include refid="Base_Column_List" />
from
(
<include refid="list1"/>
(<include refid="list1"/>)
union
<include refid="list2"/>
(<include refid="list2"/>)
) t1
order by status, create_time desc
</select>
<select id="listSmsPackage" resultMap="BaseResultMap">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment