ezhizao_zx il y a 1 an
Parent
commit
aba2d8f94d

+ 1 - 1
src/main/resources/mybatis/business/BizArchiveInputMapper.xml

@@ -44,7 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="verifyRemark != null  and verifyRemark != ''"> AND t1.verify_remark = #{verifyRemark}</if>
             <if test="tenantId != null"> AND t1.tenant_id = #{tenantId}</if>
             <if test="nonpayment == true">
-                AND (select ifnull(sum(col.amount), 0) from biz_collection col where col.contract_id = t1.id and col.status = 1) &lt; t1.true_amount
+                AND (select ifnull(sum(col.arrive_amount), 0) from biz_collection col where col.contract_id = t1.id and col.status = 1) &lt; t1.true_amount
             </if>
         </trim>
     </select>