This commit is contained in:
mashuai 2024-09-20 15:36:56 +08:00
parent b1e35e8f43
commit 5bd67628a8
1 changed files with 2 additions and 3 deletions

View File

@ -204,11 +204,10 @@
from tb_bd_device_record tbdr
left join tb_bd_record tbr on tbdr.record_id = tbr.id
left join sys_user su on tbr.audit_user = su.user_id
<where>
where
<if test="recordId != null">
and tbdr.record_id = #{recordId}
tbdr.record_id = #{recordId}
</if>
</where>
</select>
<select id="selectByName" resultType="com.bonus.base.domain.TbBdDeviceRecord">