zrj
2024-11-01 1bfc7b9e9592a31ffda2a0742e74c1dc69827563
src/main/java/org/springblade/modules/yw/mapper/EmergencySuppliesMapper.xml
@@ -43,6 +43,14 @@
        <if test="emergencySupplies.type!=null">
            and yes.type = #{emergencySupplies.type}
        </if>
        <if test="emergencySupplies.ownership!=null">
            <if test="emergencySupplies.ownership==1">
                and yes.firm_id is null
            </if>
            <if test="emergencySupplies.ownership==2">
                and yes.firm_id is not null
            </if>
        </if>
    </select>
</mapper>