|
@@ -1,5 +1,6 @@
|
|
|
package com.management.platform.service.impl;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
@@ -3963,8 +3964,12 @@ public class ReportServiceImpl extends ServiceImpl<ReportMapper, Report> impleme
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public HttpRespMsg getReportListByToken(String token, String startDate, String endDate) {
|
|
|
+ public HttpRespMsg getReportListByToken(String json) {
|
|
|
HttpRespMsg msg=new HttpRespMsg();
|
|
|
+ TokenVo tokenVo = JSON.parseObject(json, TokenVo.class);
|
|
|
+ String token = tokenVo.getToken();
|
|
|
+ String startDate =tokenVo.getStartDate();
|
|
|
+ String endDate = tokenVo.getEndDate();
|
|
|
DateTimeFormatter df=DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
|
|
DateFormat dft = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
LocalDate openDate = LocalDate.parse(startDate, df);
|