-- 审核类命名空间
#namespace("Verification")
    -- 获取审核列表
    #sql("getVerifcationList")
        select * from t_verification_record where module_id=#para(module_id)
        and step_id in (select step_id from t_verification_step where identity_id=#para(identity_id) and b_use=1)
       -- 如果限定了状态
       #if(verification_status)
            and verification_status=#para(verification_status)
       #end
    #end
#end