|
@@ -50,8 +50,7 @@
|
|
|
iaah.password
|
|
iaah.password
|
|
|
FROM
|
|
FROM
|
|
|
ptl_agreement_history iah
|
|
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
|
|
WHERE
|
|
|
iah.agreement_id = #{agreementId}
|
|
iah.agreement_id = #{agreementId}
|
|
|
</select>
|
|
</select>
|