Commit 56f875b2 authored by dahai's avatar dahai

push

parent e05be1c2
......@@ -286,7 +286,7 @@ public class ReceiptApi {
*/
@RequestMapping("queryReceiptDateByCheckDate")
public List<Map<String, Object>> queryReceiptDateByCheckDate(@RequestParam("startDate") String startDate,@RequestParam("endDate") String endDate) {
return receiptService.selectReceiptDateByCheckDate(replaceNullString(replaceDate(startDate)),replaceNullString(replaceDate(endDate)));
return receiptService.selectReceiptDateByCheckDate(replaceDate(startDate).replaceAll(" ", ""),replaceDate(endDate).replaceAll(" ", ""));
}
......@@ -298,7 +298,7 @@ public class ReceiptApi {
*/
@RequestMapping("queryReceiptDateByReceiptDate")
public List<Map<String, Object>> queryReceiptDateByReceiptDate(String startDate, String endDate) {
return receiptService.selectReceiptDateByReceiptDate(replaceNullString(replaceDate(startDate)),replaceNullString(replaceDate(endDate)));
return receiptService.selectReceiptDateByReceiptDate(replaceDate(startDate).replaceAll(" ", ""),replaceDate(endDate).replaceAll(" ", ""));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment