<?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.newfiber.modules.sys.dao.SysLogDao"> <!-- 可根据自己的需求,是否要使用 --> <resultMap type="com.newfiber.modules.sys.entity.SysLog" id="SaveSysLogMap"> <result property="serial" column="serial"/> <result property="sid" column="sid"/> <result property="platformName" column="platformName"/> <result property="operation" column="operation"/> <result property="method" column="method"/> <result property="params" column="params"/> <result property="result" column="result"/> <result property="time" column="time"/> <result property="ip" column="ip"/> <result property="createDate" column="create_Date"/> <result property="url" column="url"/> <result property="actionType" column="action_Type"/> </resultMap> </mapper>