From 5911e94b65e45c98c81f64928232b5d8f824a19b Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期六, 14 一月 2023 01:01:13 +0800
Subject: [PATCH] update 优化 利用 resultMap 自动映射配置 简化 xml (非嵌套)

---
 ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml |   21 +--------------------
 1 files changed, 1 insertions(+), 20 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
index 9d40c6d..af70259 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml
@@ -4,23 +4,4 @@
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.ruoyi.system.mapper.SysOperLogMapper">
 
-    <resultMap type="SysOperLog" id="SysOperLogResult">
-        <id property="operId" column="oper_id"/>
-        <result property="title" column="title"/>
-        <result property="businessType" column="business_type"/>
-        <result property="method" column="method"/>
-        <result property="requestMethod" column="request_method"/>
-        <result property="operatorType" column="operator_type"/>
-        <result property="operName" column="oper_name"/>
-        <result property="deptName" column="dept_name"/>
-        <result property="operUrl" column="oper_url"/>
-        <result property="operIp" column="oper_ip"/>
-        <result property="operLocation" column="oper_location"/>
-        <result property="operParam" column="oper_param"/>
-        <result property="jsonResult" column="json_result"/>
-        <result property="status" column="status"/>
-        <result property="errorMsg" column="error_msg"/>
-        <result property="operTime" column="oper_time"/>
-    </resultMap>
-
-</mapper> 
\ No newline at end of file
+</mapper>

--
Gitblit v1.9.3