eight
2024-11-14 9abd695cac8c79a41b6497e0e9c8414138210f90
jh-module-ecg/jh-module-ecg-biz/src/main/resources/mapper/devrent/DevRentMapper.xml
@@ -9,20 +9,4 @@
        文档可见:https://www.iocoder.cn/MyBatis/x-plugins/
     -->
    <select id="getDismantleRentByState" resultType="cn.lihu.jh.module.ecg.dal.dataobject.devrent.DevRentDO">
        select * from lihu.dev_rent
        <where>
            <if test="state != null">
                and state = #{state}
            </if>
            <if test="devId != null and devId != ''">
             and dev_id = #{devId}
            </if>
            <if test="patId != null and patId != ''">
             and pat_id = #{patId}
            </if>
        </where>
        limit 1
    </select>
</mapper>
</mapper>