yangys
2025-09-19 b0d0191a88912b352385349461b500a4964d693b
blade-service/blade-mdm/src/main/java/org/springblade/mdm/machinefile/mapper/MachineAcceptedFileMapper.xml
@@ -27,8 +27,14 @@
            left join mdm_machine_file mf on f.machine_file_id=mf.id
        left join mdm_machine m on mf.machine_code=m.code
        <where>
        f.status=1 and f.is_deleted=0
        f.status=#{query.status} and f.is_deleted=0
        <if test="query.status!=null and query.status!=''">
            and f.status like #{query.status}
        </if>
        <if test="query.name!=null and query.name!=''">
            <bind name="fname" value="'%'+query.name+'%'"/>
            and f.name like #{fname}
        </if>
        <if test="query.confirmTimeBegin!=null">
            and m.confirm_time$gt;=#{query.confirmTimeBegin}
        </if>