| | |
| | | } else if(StringUtils.equals(detail.getBillStatus(), "REFUND")){ |
| | | //退款数据 |
| | | bill4.setSumRefundBill(detail.getSumBill());//退款笔数 |
| | | bill4.setSumRefundFee(detail.getRefundFee()); |
| | | bill4.setSumRefundCmmsAmt(Constants.formatDecimalNum(detail.getCmmsAmt()));//退款手续费 |
| | | } |
| | | } |
| | |
| | | //只能同步昨天10之前的数据 |
| | | Calendar caln = Calendar.getInstance(); |
| | | caln.setTime(ydate); |
| | | if(caln.get(Calendar.HOUR_OF_DAY) <= 9){ |
| | | // System.out.println(caln.get(Calendar.HOUR_OF_DAY) ); |
| | | if(caln.get(Calendar.HOUR_OF_DAY) >= 10){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"对不起,最近同步时间只能截止到昨天10点前!"); |
| | | } |
| | | } |