AND INSTR(s.source_no,#{sourceNo}) and s.source_type = #{sourceType} AND INSTR(s.writer,#{writer}) AND INSTR(s.product_info,#{productInfo}) and s.category_id = #{categoryId} and s.receiver_id = #{receiverId} and s.source_time >= #{sourceTimeStart} and s.source_time #{sourceTimeEnd} and a.write_time >= #{fapiaoTimeStart} and a.write_time #{fapiaoTimeEnd} and IFNULL(a.fapiao_status,0) = #{fapiaoStatus} AND INSTR(a.apply_no,#{applyNo}) AND INSTR(a.fapiao_no,#{fapiaoNo})