yaowanxin
5 天以前 377900a395f0238c98c5fbc945c2bea302b964f1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?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.device.mapper.DeviceMaintenanceFileMapper">
    <select id="deviceMaintenanceFileListPage" resultType="com.ruoyi.device.pojo.DeviceMaintenanceFile">
        SELECT
        *
        FROM device_maintenance_file
        where
        1=1
        <if test="deviceMaintenanceFile.deviceMaintenanceId != null and deviceMaintenanceFile.deviceMaintenanceId != ''">
            AND device_maintenance_id = #{deviceMaintenanceFile.deviceMaintenanceId}
        </if>
        <if test="deviceMaintenanceFile.name != null and deviceMaintenanceFile.name != '' ">
            AND name = #{deviceMaintenanceFile.name}
        </if>
    </select>
</mapper>