取消提现限制
This commit is contained in:
@@ -221,10 +221,11 @@ public class CashServiceImpl extends ServiceImpl<CashMapper, Cash> implements Ca
|
||||
.last("limit 1");
|
||||
Cash existData = getOne(qWrapper);
|
||||
|
||||
if (existData != null && DateUtil.isSameDay(new Date(), existData.getCreateDt())) {
|
||||
//TODO 注释提现限制,后面要取消
|
||||
/* if (existData != null && DateUtil.isSameDay(new Date(), existData.getCreateDt())) {
|
||||
throw new MsgException("一天只能提现一次");
|
||||
}
|
||||
|
||||
*/
|
||||
LambdaQueryWrapper<CashAccount> qWrapper2 = Wrappers.lambdaQuery();
|
||||
qWrapper2.eq(CashAccount::getUserId, cash.getUserId())
|
||||
.last("limit 1");
|
||||
|
||||
Reference in New Issue
Block a user