Commit e9c4b857 by 翁国栋 Committed by 284718418@qq.com

8小时运营后台--

分销商id改为使用appid
日志倒序
parent 191131b4
...@@ -4,7 +4,6 @@ import cn.timer.api.bean.insure.InsureLog; ...@@ -4,7 +4,6 @@ import cn.timer.api.bean.insure.InsureLog;
import cn.timer.api.dto.insure.PolicyLogDto; import cn.timer.api.dto.insure.PolicyLogDto;
import cn.timer.api.utils.Page; import cn.timer.api.utils.Page;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sun.xml.internal.ws.policy.privateutil.PolicyLogger;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
......
...@@ -187,8 +187,8 @@ ...@@ -187,8 +187,8 @@
<select id="selectLogListByOrgCode" resultType="cn.timer.api.dto.insure.PolicyLogDto"> <select id="selectLogListByOrgCode" resultType="cn.timer.api.dto.insure.PolicyLogDto">
select ip.policy_no as policyNo,il.return_code as returnCode,il.return_msg as returnMsg,il.type as type,il.create_time as createTime from insure_log il select ip.policy_no as policyNo,il.return_code as returnCode,il.return_msg as returnMsg,il.type as type,il.create_time as createTime from insure_log il
LEFT JOIN insure_policy ip on ip.id=il.policy_id LEFT JOIN insure_policy ip on ip.id=il.policy_id
WHERE ip.org_code = #{orgCode WHERE ip.org_code = #{orgCode}
order by ip.create_time order by ip.create_time desc
<if test="page.currentPage != null and page.totalPage != null"> <if test="page.currentPage != null and page.totalPage != null">
limit #{page.offset}, #{page.totalPage} limit #{page.offset}, #{page.totalPage}
</if> </if>
......
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