Explorar el Código

防止企业类型切换,导致B端显示的采购合同的数据不准确

liangbo.huang hace 4 semanas
padre
commit
d580d7fb4f

+ 1 - 1
trade-service/src/main/resources/mapper/trade/purchasecontract/PurchaseContractMapper.xml

@@ -88,7 +88,7 @@
             </if>
             <if test="point == 0 ">
                 AND t.status = '4'
-                AND e.export_type = 'proxy_export'
+                AND s.agency_cert_no IS NOT NULL AND s.agency_cert_no != ''
             </if>
             <if test="contractStatus != null and contractStatus != ''">
                 AND t.status = #{contractStatus}