소스 검색

t_u_log删除字段

lidongyu 1 년 전
부모
커밋
a1b635a14f

+ 0 - 6
mybusiness/src/main/java/com/sooka/system/domain/TULog.java

@@ -67,9 +67,6 @@ public class TULog extends BaseEntity
     @Excel(name = "访问浏览器")
     private String browser;
 
-    /** 参数条件 */
-    @Excel(name = "参数条件")
-    private String param;
 
     /** 返回结果 */
     @Excel(name = "返回结果")
@@ -83,8 +80,5 @@ public class TULog extends BaseEntity
     @Excel(name = "操作状态")
     private Long operationStatus;
 
-    /** 异常记录 */
-    @Excel(name = "异常记录")
-    private String exceptionLog;
 
 }

+ 0 - 4
mybusiness/src/main/java/com/sooka/system/service/impl/Guiji_Base_Service.java

@@ -52,9 +52,7 @@ public class Guiji_Base_Service {
         tuLog.setLoginName(sysUser.getLoginName());
         /** 记录操作状态、请求参数、返回结果、异常记录 lm 20220810 add **/
         tuLog.setOperationStatus(baseBusinessEntity.getOperationStatus());
-        tuLog.setParam(baseBusinessEntity.getParam());
         tuLog.setResults(baseBusinessEntity.getResults());
-        tuLog.setExceptionLog(baseBusinessEntity.getExceptionLog());
         /** 记录操作状态、请求参数、返回结果、异常记录 lm 20220810 add **/
         tuLog.setOs(os);
         tuLog.setPlatformInterfacetype(baseBusinessEntity.getInterfacetype());
@@ -99,9 +97,7 @@ public class Guiji_Base_Service {
         //tuLog.setLoginName(sysUser.getLoginName());
         /** 记录操作状态、请求参数、返回结果、异常记录 lm 20220810 add **/
         tuLog.setOperationStatus(baseBusinessEntity.getOperationStatus());
-        tuLog.setParam(baseBusinessEntity.getParam());
         tuLog.setResults(baseBusinessEntity.getResults());
-        tuLog.setExceptionLog(baseBusinessEntity.getExceptionLog());
         /** 记录操作状态、请求参数、返回结果、异常记录 lm 20220810 add **/
 //        tuLog.setOperationQuantity(new Long(ls.size()));
         //共享接口

+ 1 - 13
mybusiness/src/main/resources/mapper/system/TULogMapper.xml

@@ -23,15 +23,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="os"    column="os"    />
         <result property="platformInterfacetype"    column="platform_interfacetype"    />
         <result property="browser"    column="browser"    />
-        <result property="param"    column="param"    />
         <result property="results"    column="results"    />
         <result property="operationQuantity"    column="operation_quantity"    />
         <result property="operationStatus"    column="operation_status"    />
-        <result property="exceptionLog"    column="exception_log"    />
     </resultMap>
 
     <sql id="selectTULogVo">
-        select id, status, remark, del_flag, create_by, create_time, update_by, update_time, login_user, login_name, interfaceinfo_id, interfaceinfo_name, dept_id, dept_name, ipaddress, os, platform_interfacetype, browser, param, results, operation_quantity, operation_status, exception_log from t_u_log
+        select id, status, remark, del_flag, create_by, create_time, update_by, update_time, login_user, login_name, interfaceinfo_id, interfaceinfo_name, dept_id, dept_name, ipaddress, os, platform_interfacetype, browser, results, operation_quantity, operation_status from t_u_log
     </sql>
 
     <select id="selectTULogList" parameterType="TULog" resultMap="TULogResult">
@@ -48,11 +46,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="os != null  and os != ''"> and os = #{os}</if>
             <if test="platformInterfacetype != null  and platformInterfacetype != ''"> and platform_interfacetype = #{platformInterfacetype}</if>
             <if test="browser != null  and browser != ''"> and browser = #{browser}</if>
-            <if test="param != null  and param != ''"> and param = #{param}</if>
             <if test="results != null  and results != ''"> and results = #{results}</if>
             <if test="operationQuantity != null "> and operation_quantity = #{operationQuantity}</if>
             <if test="operationStatus != null "> and operation_status = #{operationStatus}</if>
-            <if test="exceptionLog != null  and exceptionLog != ''"> and exception_log = #{exceptionLog}</if>
         </where>
         order by create_time desc
     </select>
@@ -76,11 +72,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="os != null  and os != ''"> and os = #{os}</if>
         <if test="platformInterfacetype != null  and platformInterfacetype != ''"> and platform_interfacetype = #{platformInterfacetype}</if>
         <if test="browser != null  and browser != ''"> and browser = #{browser}</if>
-        <if test="param != null  and param != ''"> and param = #{param}</if>
         <if test="results != null  and results != ''"> and results = #{results}</if>
         <if test="operationQuantity != null "> and operation_quantity = #{operationQuantity}</if>
         <if test="operationStatus != null "> and operation_status = #{operationStatus}</if>
-        <if test="exceptionLog != null  and exceptionLog != ''"> and exception_log = #{exceptionLog}</if>
         <!-- 数据分页过滤 -->
         ${params.limit}
     </select>
@@ -111,11 +105,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="os != null">os,</if>
             <if test="platformInterfacetype != null">platform_interfacetype,</if>
             <if test="browser != null">browser,</if>
-            <if test="param != null">param,</if>
             <if test="results != null">results,</if>
             <if test="operationQuantity != null">operation_quantity,</if>
             <if test="operationStatus != null">operation_status,</if>
-            <if test="exceptionLog != null">exception_log,</if>
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null">#{id},</if>
@@ -136,11 +128,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="os != null">#{os},</if>
             <if test="platformInterfacetype != null">#{platformInterfacetype},</if>
             <if test="browser != null">#{browser},</if>
-            <if test="param != null">#{param},</if>
             <if test="results != null">#{results},</if>
             <if test="operationQuantity != null">#{operationQuantity},</if>
             <if test="operationStatus != null">#{operationStatus},</if>
-            <if test="exceptionLog != null">#{exceptionLog},</if>
          </trim>
     </insert>
 
@@ -164,11 +154,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="os != null">os = #{os},</if>
             <if test="platformInterfacetype != null">platform_interfacetype = #{platformInterfacetype},</if>
             <if test="browser != null">browser = #{browser},</if>
-            <if test="param != null">param = #{param},</if>
             <if test="results != null">results = #{results},</if>
             <if test="operationQuantity != null">operation_quantity = #{operationQuantity},</if>
             <if test="operationStatus != null">operation_status = #{operationStatus},</if>
-            <if test="exceptionLog != null">exception_log = #{exceptionLog},</if>
         </trim>
         where id = #{id}
     </update>