<iftest="companyCode != null and companyCode != '99' and companyCode != '88' and companyCode != '' and companyCode != 'null'">
<iftest="companyCode != null and companyCode != '99' and companyCode != '88' and companyCode != '' and companyCode != 'null'">
and t.comp_code = #{companyCode}
and comp_code = #{companyCode}
</if>
</if>
<iftest="companyCode != null and companyCode != '' and companyCode == '88'">
<iftest="companyCode != null and companyCode != '' and companyCode == '88'">
and (t.comp_code = '' or t.comp_code is null)
and (comp_code = '' or comp_code is null)
</if>
</if>
<iftest="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99' and inAccountStatus == '0'.toString()">
<iftest="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99' and inAccountStatus == '0'.toString()">
and t.inaccount_status = '1'
and inaccount_status = '1'
</if>
</if>
<iftest="qsflag != null and qsflag != '' and qsflag != 'null' and qsflag == '1'.toString()">
<iftest="qsflag != null and qsflag != '' and qsflag != 'null' and qsflag == '1'.toString()">
<iftest="companyCode != null and companyCode != '99' and companyCode != '88' and companyCode != '' and companyCode != 'null'">
<iftest="companyCode != null and companyCode != '99' and companyCode != '88' and companyCode != '' and companyCode != 'null'">
and t.comp_code = #{companyCode}
and comp_code = #{companyCode}
</if>
</if>
<iftest="companyCode != null and companyCode != '' and companyCode == '88'">
<iftest="companyCode != null and companyCode != '' and companyCode == '88'">
and (t.comp_code = '' or t.comp_code is null)
and (comp_code = '' or comp_code is null)
</if>
</if>
<iftest="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99' and inAccountStatus == '0'.toString()">
<iftest="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99' and inAccountStatus == '0'.toString()">
and t.inaccount_status = '1'
and inaccount_status = '1'
</if>
</if>
<iftest="qsflag != null and qsflag != '' and qsflag != 'null' and qsflag == '1'.toString()">
<iftest="qsflag != null and qsflag != '' and qsflag != 'null' and qsflag == '1'.toString()">