|
@@ -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>
|