Qchen 2 лет назад
Родитель
Сommit
21c9829013
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/resources/mapper/modules/protocol/PtlAgreementHistoryMapper.xml

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

@@ -79,7 +79,7 @@
         WHERE
         WHERE
             papcnh.agreement_id = #{agreementProductQueryVo.agreementId}
             papcnh.agreement_id = #{agreementProductQueryVo.agreementId}
         <if test="agreementProductQueryVo.operatorType != null and agreementProductQueryVo.operatorType != ''">
         <if test="agreementProductQueryVo.operatorType != null and agreementProductQueryVo.operatorType != ''">
-            AND iah.operator_type = #{agreementProductQueryVo.operatorType}
+            AND papcnh.operator_type = #{agreementProductQueryVo.operatorType}
         </if>
         </if>
         <if test="agreementProductQueryVo.operator != null and agreementProductQueryVo.operator != ''">
         <if test="agreementProductQueryVo.operator != null and agreementProductQueryVo.operator != ''">
             AND su.name = #{agreementProductQueryVo.operator}
             AND su.name = #{agreementProductQueryVo.operator}