From 2147d023563a7c9d05d97547c00d6b0162c0644c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 09 十一月 2020 18:37:24 +0800 Subject: [PATCH] 刷单风险规则优化 --- fanli/src/main/java/com/yeshi/fanli/util/factory/AccountDetailsFactory.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/factory/AccountDetailsFactory.java b/fanli/src/main/java/com/yeshi/fanli/util/factory/AccountDetailsFactory.java index eef9e5c..7864538 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/factory/AccountDetailsFactory.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/factory/AccountDetailsFactory.java @@ -7,8 +7,8 @@ import com.yeshi.fanli.dto.money.AccountDetails; import com.yeshi.fanli.entity.money.UserMoneyDetail; import com.yeshi.fanli.entity.money.UserMoneyDetail.UserMoneyDetailTypeEnum; -import com.yeshi.fanli.util.MoneyBigDecimalUtil; -import com.yeshi.fanli.util.TimeUtil; +import org.yeshi.utils.MoneyBigDecimalUtil; +import org.yeshi.utils.TimeUtil; public class AccountDetailsFactory { private static final Map<Integer, String> map = new HashMap<Integer, String>(); @@ -109,7 +109,7 @@ accountDetails.setType(AccountDetailsFactory.TUIKUAN); else accountDetails.setType(AccountDetailsFactory.QITA); - accountDetails.setTitle(map.get(accountDetails.getType())); + accountDetails.setTitle(accountDetails.getTitle()); accountDetails.setUserInfo(userMoneyDetail.getUserInfo()); return accountDetails; } -- Gitblit v1.8.0