| | |
| | | |
| | | <select id="selectDeviceLogList" parameterType="DeviceLog" resultMap="DeviceLogResult"> |
| | | <include refid="selectDeviceLogVo"/> |
| | | <where> |
| | | <where> |
| | | <if test="projectId != null and projectId != ''"> and project_id = #{projectId}</if> |
| | | <if test="deviceId != null and deviceId != ''"> and device_id = #{deviceId}</if> |
| | | <if test="code != null and code != ''"> and code = #{code}</if> |
| | | <if test="projectName != null and projectName != ''"> and project_name like concat('%', #{projectName}, '%')</if> |
| | | <if test="deviceName != null and deviceName != ''"> and device_name like concat('%', #{deviceName}, '%')</if> |