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