瀏覽代碼

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

haoyu 2 年之前
父節點
當前提交
546692d0fd
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/main/resources/mapper/modules/protocol/PtlAgreementHistoryMapper.xml

+ 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>