Commit 04a38a75 by 翁国栋

运营后台--

分页bug
parent a9397a26
...@@ -262,8 +262,8 @@ ...@@ -262,8 +262,8 @@
and ip.policy_date_start <![CDATA[ >= ]]> #{policy.policyDateStart} and ip.policy_date_start <![CDATA[ >= ]]> #{policy.policyDateStart}
</if> </if>
</where> </where>
GROUP BY GROUP BY ip.id
ip.id order by ip.create_time desc
<if test="policy.page.offset != null and policy.page.totalPage !=null"> <if test="policy.page.offset != null and policy.page.totalPage !=null">
limit #{policy.page.offset},#{policy.page.totalPage} limit #{policy.page.offset},#{policy.page.totalPage}
</if> </if>
...@@ -283,6 +283,7 @@ ...@@ -283,6 +283,7 @@
and ip.policy_date_start <![CDATA[ >= ]]> #{policy.policyDateStart} and ip.policy_date_start <![CDATA[ >= ]]> #{policy.policyDateStart}
</if> </if>
</where> </where>
</select> </select>
<select id="getPolicyDetail" resultType="cn.timer.api.dto.insure.PolicyDto"> <select id="getPolicyDetail" resultType="cn.timer.api.dto.insure.PolicyDto">
......
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