<?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.ruoyi.project.mapper.ServiceTransportFileMapper">
|
|
<resultMap type="com.ruoyi.project.domain.ServiceTransportFile" id="ServiceTransportFileResult">
|
<result property="id" column="id"/>
|
<result property="transportId" column="transport_id"/>
|
<result property="caseNo" column="case_no"/>
|
<result property="fileName" column="file_name"/>
|
<result property="type" column="type"/>
|
<result property="path" column="path"/>
|
<result property="remart" column="remart"/>
|
<result property="delFlag" column="del_flag"/>
|
<result property="createTime" column="create_time"/>
|
<result property="createBy" column="create_by"/>
|
<result property="updateTime" column="update_time"/>
|
<result property="updateBy" column="update_by"/>
|
</resultMap>
|
|
<sql id="selectServiceTransportFileVo">
|
select id,
|
transport_id,
|
file_name,
|
case_no,
|
type,
|
path,
|
remart,
|
del_flag,
|
create_time,
|
create_by,
|
update_time,
|
update_by
|
from service_transport_file
|
</sql>
|
|
<select id="selectServiceTransportFileList" parameterType="com.ruoyi.project.domain.ServiceTransportFile"
|
resultMap="ServiceTransportFileResult">
|
<include refid="selectServiceTransportFileVo"/>
|
<where>
|
<if test="transportId != null and transportId != ''">and transport_id = #{transportId}</if>
|
<if test="fileName != null and fileName != ''">and file_name = #{fileName}</if>
|
<if test="caseNo != null and caseNo != ''">and case_no = #{caseNo}</if>
|
<if test="type != null and type != ''">and type = #{type}</if>
|
<if test="path != null and path != ''">and path = #{path}</if>
|
<if test="remart != null and remart != ''">and remart = #{remart}</if>
|
</where>
|
</select>
|
|
</mapper>
|