| | |
| | | <mapper namespace="com.oying.modules.sh.mapper.OrderOperationLogMapper"> |
| | | <resultMap id="BaseResultMap" type="com.oying.modules.sh.domain.OrderOperationLog"> |
| | | <id column="log_id" property="logId"/> |
| | | <result column="user_id" property="userId"/> |
| | | <result column="username" property="username"/> |
| | | <result column="user_type" property="userType"/> |
| | | <result column="operation" property="operation"/> |
| | | <result column="operation_describe" property="operationDescribe"/> |
| | | <result column="remark" property="remark"/> |
| | | <result column="snapshot_data" property="snapshotData"/> |
| | | <result column="operation_time" property="operationTime"/> |
| | |
| | | </resultMap> |
| | | |
| | | <sql id="Base_Column_List"> |
| | | log_id, user_id, user_type, operation, remark, snapshot_data, operation_time, order_num |
| | | log_id, username, user_type, operation, operation_describe, remark, snapshot_data, operation_time, order_num |
| | | </sql> |
| | | |
| | | <select id="findAll" resultMap="BaseResultMap"> |
| | |
| | | </where> |
| | | order by log_id desc |
| | | </select> |
| | | </mapper> |
| | | </mapper> |