|
|
|
@@ -769,22 +769,16 @@ public class WxFinanceController extends BaseController { |
|
|
|
return new ResultData(); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("截止时间") |
|
|
|
@GetMapping("getReceiveEndTime") |
|
|
|
public ResultData getReceiveEndTime() { |
|
|
|
return new ResultData(wxFinanceService.getFinishEndTime(this.getTenantInfo())); |
|
|
|
} |
|
|
|
|
|
|
|
private boolean isValidPayTime(Date date) { |
|
|
|
SysConfig sysconfig = wxFinanceService.getFinishEndTime(this.getTenantInfo()); |
|
|
|
String fdatestr = sysconfig.getConfigItemValue(); |
|
|
|
if (StringUtils.isBlank(fdatestr)) { |
|
|
|
return true; |
|
|
|
} |
|
|
|
Date fdate = DateUtils.stringToDate(fdatestr, DateUtils.DATE_TIME_PATTERN); |
|
|
|
if (date.after(fdate)) { |
|
|
|
return true; |
|
|
|
} |
|
|
|
// SysConfig sysconfig = wxFinanceService.getFinishEndTime(this.getTenantInfo()); |
|
|
|
// String fdatestr = sysconfig.getConfigItemValue(); |
|
|
|
// if (StringUtils.isBlank(fdatestr)) { |
|
|
|
// return true; |
|
|
|
// } |
|
|
|
// Date fdate = DateUtils.stringToDate(fdatestr, DateUtils.DATE_TIME_PATTERN); |
|
|
|
// if (date.after(fdate)) { |
|
|
|
// return true; |
|
|
|
// } |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
|