|
|
|
@@ -103,13 +103,7 @@ public class WxCashOutController extends BaseController { |
|
|
|
WxMerchant merchant = wxMerchantService.getById(buser.getMerchantId()); |
|
|
|
WxMall mall = wxMallService.getByTenantId(buser.getTenantId()); |
|
|
|
Map<String,Object> resultMap = new HashMap<String,Object>(); |
|
|
|
//当日提现次数 |
|
|
|
Date currDateBegin = DateUtils.stringToDate(DateUtils.format(new Date())+" 00:00:00", DateUtils.DATE_TIME_PATTERN); |
|
|
|
if (null == merchant.getCashOutLastTime() || merchant.getCashOutLastTime().before(currDateBegin)) { |
|
|
|
resultMap.put("cashOutCount", 0); |
|
|
|
}else { |
|
|
|
resultMap.put("cashOutCount", merchant.getCashOutCount()); |
|
|
|
} |
|
|
|
resultMap.put("cashOutCount", merchant.getCashOutCount()); |
|
|
|
resultMap.put("cashOutNumber", merchant.getCashOutNumber()); |
|
|
|
resultMap.put("cashOutSupport", mall.getCashOutSupport()); |
|
|
|
resultMap.put("cashOutLimit", mall.getCashOutLimit()); |
|
|
|
|