2025-01-24 22:26:28 +08:00
|
|
|
<?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.nflg.mobilebroken.repository.mapper.TBaseRequestLogMapper">
|
2025-01-26 20:08:56 +08:00
|
|
|
<sql id="whr">
|
|
|
|
|
<if test="query.requestResult!=null">
|
|
|
|
|
and request_result=#{query.requestResult}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="query.menuName!=null and query.menuName!=''">
|
|
|
|
|
and menu_name=#{query.menuName}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="query.methodName!=null and query.methodName!=''">
|
|
|
|
|
and method_name=#{query.methodName}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="query.dataCreateUserNo!=null and query.dataCreateUserNo!=''">
|
|
|
|
|
and data_create_user_no=#{query.dataCreateUserNo}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="query.createStartTime!=null and query.createStartTime!=''">
|
|
|
|
|
and data_create_time>= #{query.createStartTime} and data_create_time <= #{query.createEndTime}
|
|
|
|
|
</if>
|
|
|
|
|
</sql>
|
2025-01-24 22:26:28 +08:00
|
|
|
|
2025-01-26 20:08:56 +08:00
|
|
|
<select id="getList" resultType="com.nflg.mobilebroken.repository.entity.TBaseRequestLog">
|
|
|
|
|
select * from t_base_request_log
|
|
|
|
|
where 1=1
|
|
|
|
|
<include refid="whr"/>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<delete id="delByIds">
|
|
|
|
|
delete from t_base_request_log where id in
|
|
|
|
|
<foreach collection="ids" open="(" close=")" separator="," item="item">
|
|
|
|
|
#{item}
|
|
|
|
|
</foreach>
|
|
|
|
|
</delete>
|
2025-01-24 22:26:28 +08:00
|
|
|
</mapper>
|