This commit is contained in:
杜建超 2020-09-22 11:35:26 +08:00
parent 2b5f36d575
commit 36972f257f

View File

@ -56,8 +56,7 @@ public class ReportResultController extends AbstractController{
@RequestMapping("chart") @RequestMapping("chart")
public R reportChart(String monthTime,String departmentId){ public R reportChart(String monthTime,String departmentId){
if(StringUtil.isBlank(monthTime)){ if(StringUtil.isBlank(monthTime)){
String time = LocalDate.now().toString(); monthTime = YearMonth.now().toString();
monthTime = time.substring(0,time.length()-3);
} }
ReportChartResp data = new ReportChartResp(); ReportChartResp data = new ReportChartResp();
//月初目标 //月初目标