|
|
|
@ -40,15 +40,15 @@ public class QcCheckReportIncomeController extends BaseController {
|
|
|
|
|
@GetMapping("/list")
|
|
|
|
|
public TableDataInfo list(QcCheckReportIncome qcCheckReportIncome) {
|
|
|
|
|
|
|
|
|
|
//默认时间范围T 00:00:00~T+1 00:00:00
|
|
|
|
|
if (StringUtils.isEmpty(qcCheckReportIncome.getCheckTimeStart())) {
|
|
|
|
|
qcCheckReportIncome.setCheckTimeStart(DateUtils.getDate() + " 00:00:00");//start
|
|
|
|
|
LocalDate date = LocalDate.now();
|
|
|
|
|
LocalDate dateEnd = date.plusDays(1);
|
|
|
|
|
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
|
|
|
|
String dateEndStr = dtf.format(dateEnd) + " 23:59:59";
|
|
|
|
|
qcCheckReportIncome.setCheckTimeEnd(dateEndStr);//end
|
|
|
|
|
}
|
|
|
|
|
// //默认时间范围T 00:00:00~T+1 00:00:00
|
|
|
|
|
// if (StringUtils.isEmpty(qcCheckReportIncome.getCheckTimeStart())) {
|
|
|
|
|
// qcCheckReportIncome.setCheckTimeStart(DateUtils.getDate() + " 00:00:00");//start
|
|
|
|
|
// LocalDate date = LocalDate.now();
|
|
|
|
|
// LocalDate dateEnd = date.plusDays(1);
|
|
|
|
|
// DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
|
|
|
|
// String dateEndStr = dtf.format(dateEnd) + " 23:59:59";
|
|
|
|
|
// qcCheckReportIncome.setCheckTimeEnd(dateEndStr);//end
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
// if(StringUtils.isEmpty(qcCheckReportIncome.getCheckTimeStart())){
|
|
|
|
|
// qcCheckReportIncome.setCheckTimeStart(qcCheckReportIncome.getIncomeTimeStart());//start
|
|
|
|
|