- 
                
                    
 - 
                
hesj 初学数据Lv2
发表于2022-8-30 15:44
 
楼主
    
                        abi报表:sql主题表传参,如果参数为空则显示全部
select * from QC_XL where <#=if(@px="","1=1","BBQ='"+@px+"'")#>
 
 
        
        
    
    
    
    
    
select * from QC_XL where <#=if(@px="","1=1","BBQ='"+@px+"'")#>
                                    
                                    
                
                

