11 changed files with 135 additions and 9 deletions
@ -1,23 +1,32 @@ |
|||||
package com.epmet.controller; |
package com.epmet.controller; |
||||
|
|
||||
|
import com.epmet.commons.tools.utils.Result; |
||||
import com.epmet.service.StatsDemoService; |
import com.epmet.service.StatsDemoService; |
||||
import com.epmet.service.StatsProjectService; |
import com.epmet.service.StatsProjectService; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
import org.springframework.web.bind.annotation.*; |
||||
import org.springframework.web.bind.annotation.RequestMapping; |
|
||||
import org.springframework.web.bind.annotation.RestController; |
|
||||
|
|
||||
/** |
/** |
||||
* 数据统计-项目 |
* 数据统计-项目 |
||||
* @author sun |
* @author sun |
||||
*/ |
*/ |
||||
@RequestMapping("statsProject") |
@RequestMapping("statsproject") |
||||
@RestController |
@RestController |
||||
public class StatsProjectController { |
public class StatsProjectController { |
||||
|
|
||||
@Autowired |
@Autowired |
||||
private StatsProjectService statsProjectService; |
private StatsProjectService statsProjectService; |
||||
|
|
||||
|
/** |
||||
|
* @param customerId |
||||
|
* @return |
||||
|
* @Author sun |
||||
|
* @Description 数据-项目-机关日(月)统计 |
||||
|
**/ |
||||
|
@PostMapping("agencyproject/{customerId}") |
||||
|
public Result statsAgencyProject(@PathVariable("customerId") String customerId) { |
||||
|
statsProjectService.statsAgencyProject(customerId); |
||||
|
return new Result(); |
||||
|
} |
||||
|
|
||||
} |
} |
||||
|
Loading…
Reference in new issue