Browse Source

修复协议历史记录保险公司账号配置为空问题

haoyu 2 years ago
parent
commit
546692d0fd

+ 1 - 2
src/main/resources/mapper/modules/protocol/PtlAgreementHistoryMapper.xml

@@ -50,8 +50,7 @@
             iaah.password
         FROM
             ptl_agreement_history iah
-                LEFT JOIN ptl_agreement_attribution_history iaah ON iah.agreement_id = iaah.id
-                AND iah.batch = iaah.batch
+                LEFT JOIN ptl_agreement_attribution_history iaah ON iah.batch = iaah.batch
         WHERE
             iah.agreement_id = #{agreementId}
     </select>