From 2b645affc1549e50d55d127ea772991384a2c196 Mon Sep 17 00:00:00 2001 From: linfso Date: Tue, 11 Mar 2025 22:38:22 +0800 Subject: [PATCH] md --- .../mapper/EmisCreditCustomerMapper.xml | 8 ++++---- .../mapper/EmisCreditSalesmenMapper.xml | 18 ++++++++++-------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/emis-biz/src/main/resources/mapper/EmisCreditCustomerMapper.xml b/emis-biz/src/main/resources/mapper/EmisCreditCustomerMapper.xml index 8f5a71749..8ceed860c 100644 --- a/emis-biz/src/main/resources/mapper/EmisCreditCustomerMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisCreditCustomerMapper.xml @@ -61,17 +61,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and a.update_site like concat('%', #{updateSite}, '%') - and a.curMoney = ]]> #{params.beginCurMoney} + and a.cur_money = ]]> #{params.beginCurMoney} - and a.curMoney #{params.endCurMoney} + and a.cur_money #{params.endCurMoney} - and a.cur_money_rate = ]]> #{params.beginCurMoneyRate} + and (a.cur_money/a.credit_money) = ]]> #{params.beginCurMoneyRate} - and a.cur_money_rate #{params.endCurMoneyRate} + and (a.cur_money/a.credit_money) #{params.endCurMoneyRate} diff --git a/emis-biz/src/main/resources/mapper/EmisCreditSalesmenMapper.xml b/emis-biz/src/main/resources/mapper/EmisCreditSalesmenMapper.xml index 6aa8b629d..990119ead 100644 --- a/emis-biz/src/main/resources/mapper/EmisCreditSalesmenMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisCreditSalesmenMapper.xml @@ -50,22 +50,24 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - and a.curMoney = ]]> #{params.beginCurMoney} + and a.cur_money = ]]> #{params.beginCurMoney} - and a.curMoney #{params.endCurMoney} + and a.cur_money #{params.endCurMoney} + + + + and (a.cur_money/a.credit_money) = ]]> #{params.beginCurMoneyRate} + + + and (a.cur_money/a.credit_money) #{params.endCurMoneyRate} and ( a.start_date #{params.sendDate} ) and ( #{params.sendDate} a.end_date ) - - and a.cur_money_rate = ]]> #{params.beginCurMoneyRate} - - - and a.cur_money_rate #{params.endCurMoneyRate} - + order by create_time desc