Преглед изворни кода

协议费用审核费用修改

wks пре 1 година
родитељ
комит
6507312a23

+ 2 - 1
src/main/resources/mapper/modules/protocols/PtlAgreementProductCostsNewMapper.xml

@@ -7,7 +7,8 @@
     <select id="getCostsPage" resultType="com.ydtech.modules.protocols.entity.po.PtlAgreementProductCostsNew">
     <select id="getCostsPage" resultType="com.ydtech.modules.protocols.entity.po.PtlAgreementProductCostsNew">
         SELECT
         SELECT
         pa.insurance_company,
         pa.insurance_company,
-        concat(pa.agreement_name, '-', pa.business_description, '-',pa.job_description) as agreement_name,
+        concat(ifnull(pa.agreement_name,''), '-',ifnull( pa.business_description, ''), '-',ifnull(pa.job_description,
+        '')) as agreement_name,
         papcn.*,
         papcn.*,
         iuf.file_name as fee_file_name,
         iuf.file_name as fee_file_name,
         iuf.url as fee_file_url
         iuf.url as fee_file_url