@ -36,6 +36,7 @@
LEFT JOIN bs_sgc_df_xcyj jl ON jl.id = ts.form_id
WHERE
ts.business_type = #{dto.businessType}
and ts.status in ('1','2')
<if test="dto.status != null and dto.status != ''">
AND ts.status = #{dto.status}
</if>