LogsOperationDAO.xml 708 Bytes
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">

<!-- 操作日志表 -->
<mapper namespace="com.yiboshi.science.dao.LogsOperationDAO">
    <sql id="allColumns">
        t.id as id, t.customer_id as customerId, t.log_key as logKey, t.log_comment as logComment, t.pageurl as pageurl, t.borower as borower, t.ip_address as ipAddress, t.created as created
    </sql>

    <select id="getListByPage" resultType="com.yiboshi.science.param.dto.LogsOperationDTO">
        select * from logs_operation
        <where>
            ${ew.sqlSegment}
        </where>
        ORDER BY created desc
    </select>
</mapper>