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