11 changed files with 135 additions and 9 deletions
@ -1,23 +1,32 @@ |
|||
package com.epmet.controller; |
|||
|
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.service.StatsDemoService; |
|||
import com.epmet.service.StatsProjectService; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
/** |
|||
* 数据统计-项目 |
|||
* @author sun |
|||
*/ |
|||
@RequestMapping("statsProject") |
|||
@RequestMapping("statsproject") |
|||
@RestController |
|||
public class StatsProjectController { |
|||
|
|||
@Autowired |
|||
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