Browse Source

欠款客户备案、经销商管理维护企业开票信息时,增加采购系统sid为空判断

master
fanzongzhe 12 months ago
parent
commit
cf2a3a1430
  1. 15
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincompanyinvoicing/FinCompanyInvoicingMapper.xml

15
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincompanyinvoicing/FinCompanyInvoicingMapper.xml

@ -121,18 +121,23 @@
invoiceTypeKey as openTickTypeKey
from fin_company_invoicing
where taxpayerNo = #{taxpayerNo}
and useOrgSid = #{useOrgSid}
and isDelete = 0
and useOrgSid = #{useOrgSid}
and isDelete = 0
and (purchaseSystemSid IS NULL OR LENGTH(purchaseSystemSid) = 0)
</select>
<select id="getInvoicingList" resultType="com.yxt.anrui.fin.api.fincompanyinvoicing.CompanyInvoicingVo">
select name companyInvoicingName,sid companyInvoicingSid,purchaseSystemSid,purchaseSystemName from fin_company_invoicing where useOrgSid = #{useOrgSid} and length(purchaseSystemSid)>0
select name companyInvoicingName, sid companyInvoicingSid, purchaseSystemSid, purchaseSystemName
from fin_company_invoicing
where useOrgSid = #{useOrgSid}
and length(purchaseSystemSid) > 0
</select>
<select id="getAppInvoicingList" resultType="com.yxt.anrui.fin.api.fincompanyinvoicing.AppCompanyInvoicingVo">
select name dictValue,sid as id,purchaseSystemSid,purchaseSystemName from fin_company_invoicing where useOrgSid = #{useOrgSid} and length(purchaseSystemSid)>0
select name dictValue,sid as id,purchaseSystemSid,purchaseSystemName from fin_company_invoicing where useOrgSid
= #{useOrgSid} and length(purchaseSystemSid)>0
<if test="search != null and search != ''">
and name like concat('%',#{search},'%')
</if>
</select>
</mapper>
</mapper>

Loading…
Cancel
Save