提现debug
This commit is contained in:
parent
8760f7a39e
commit
4cfc1d49f2
|
@ -63,7 +63,7 @@ public enum TransactionBillStatus {
|
|||
* 限额统计的提现状态
|
||||
*/
|
||||
public static List<String> countOfLimit() {
|
||||
return asList(WITHDRAW_SUCCESS, WITHDRAW_APPROVING, WITHDRAW_FAIL, WITHDRAW_PASSED, WITHDRAW_PAYING);
|
||||
return asList(WITHDRAW_SUCCESS, WITHDRAW_APPROVING, WITHDRAW_PASSED, WITHDRAW_PAYING);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -15,6 +15,7 @@ import com.ruoyi.ss.user.service.ISmUserService;
|
|||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
@ -71,7 +72,8 @@ public class TransferConverterImpl implements TransferConverter {
|
|||
detail.setAmount(bill.getArrivalAmount());
|
||||
detail.setAccountNo(bill.getAccountNo());
|
||||
detail.setRemark(String.format("提现申请%s转账", bill.getBillNo()));
|
||||
if (user != null) {
|
||||
// 当转账达到2000时,需要实名
|
||||
if (user != null && bill.getArrivalAmount().compareTo(new BigDecimal(2000)) >= 0) {
|
||||
detail.setUserName(user.getRealName());
|
||||
}
|
||||
detailList.add(detail);
|
||||
|
|
Loading…
Reference in New Issue
Block a user