|
@ -61,7 +61,12 @@ public class StatisticsController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = "/interval")
|
|
|
@ResponseBody
|
|
|
public String indexInterval(String startDate, String endDate, int interval, String area, int level, String index) {
|
|
|
public String indexInterval(@RequestParam(required = true) String startDate,
|
|
|
@RequestParam(required = true)String endDate,
|
|
|
@RequestParam(required = true)int interval,
|
|
|
@RequestParam(required = true)String area,
|
|
|
@RequestParam(required = true)int level,
|
|
|
@RequestParam(required = true)String index) {
|
|
|
String tag = "";
|
|
|
try {
|
|
|
String[] indexes = index.split(",");
|
|
@ -92,7 +97,11 @@ public class StatisticsController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping("/increment")
|
|
|
@ResponseBody
|
|
|
public String getIndexIncrement(String startDate, String endDate, String area, int level, String index) {
|
|
|
public String getIndexIncrement(@RequestParam(required = true)String startDate,
|
|
|
@RequestParam(required = true)String endDate,
|
|
|
@RequestParam(required = true)String area,
|
|
|
@RequestParam(required = true) int level,
|
|
|
@RequestParam(required = true)String index) {
|
|
|
try {
|
|
|
String[] indexes = index.split(",");
|
|
|
JSONObject result = new JSONObject();
|
|
@ -119,7 +128,10 @@ public class StatisticsController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping("/total")
|
|
|
@ResponseBody
|
|
|
public String getIndexTotal(String endDate, String area, int level, String index) {
|
|
|
public String getIndexTotal(@RequestParam(required = true)String endDate,
|
|
|
@RequestParam(required = true) String area,
|
|
|
@RequestParam(required = true) int level,
|
|
|
@RequestParam(required = true) String index) {
|
|
|
try {
|
|
|
String[] indexes = index.split(",");
|
|
|
JSONObject result = new JSONObject();
|
|
@ -147,7 +159,13 @@ public class StatisticsController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping("/lowlevel_increment")
|
|
|
@ResponseBody
|
|
|
public String getIndexLowLevelIncrement(String startDate, String endDate, String area, int level, String index, int sort, String lowLevel) {
|
|
|
public String getIndexLowLevelIncrement(@RequestParam(required = true)String startDate,
|
|
|
@RequestParam(required = true)String endDate,
|
|
|
@RequestParam(required = true) String area,
|
|
|
@RequestParam(required = true) int level,
|
|
|
@RequestParam(required = true) String index,
|
|
|
@RequestParam(required = true)int sort,
|
|
|
@RequestParam(required = true)String lowLevel) {
|
|
|
try {
|
|
|
String[] indexes = index.split(",");
|
|
|
JSONObject result = new JSONObject();
|
|
@ -174,7 +192,12 @@ public class StatisticsController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping("/lowlevel_total")
|
|
|
@ResponseBody
|
|
|
public String getIndexLowLevelTotal(String endDate, String area, int level, String index, int sort, String lowLevel) {
|
|
|
public String getIndexLowLevelTotal(@RequestParam(required = true)String endDate,
|
|
|
@RequestParam(required = true)String area,
|
|
|
@RequestParam(required = true)int level,
|
|
|
@RequestParam(required = true)String index,
|
|
|
@RequestParam(required = true)int sort,
|
|
|
@RequestParam(required = true)String lowLevel) {
|
|
|
try {
|
|
|
String[] indexes = index.split(",");
|
|
|
JSONObject result = new JSONObject();
|
|
@ -202,7 +225,11 @@ public class StatisticsController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping("/leveltwo_increment")
|
|
|
@ResponseBody
|
|
|
public String getIndexLevelTwoIncrement(String startDate, String endDate, String area, int level, String index) {
|
|
|
public String getIndexLevelTwoIncrement(@RequestParam(required = true)String startDate,
|
|
|
@RequestParam(required = true)String endDate,
|
|
|
@RequestParam(required = true)String area,
|
|
|
@RequestParam(required = true)int level,
|
|
|
@RequestParam(required = true)String index) {
|
|
|
try {
|
|
|
String[] indexes = index.split(",");
|
|
|
JSONObject result = new JSONObject();
|
|
@ -229,7 +256,10 @@ public class StatisticsController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = "/sign_info")
|
|
|
@ResponseBody
|
|
|
public String getAreaSignInfo(String endDate, String area, int level, @RequestParam(required = false) String lowCode) {
|
|
|
public String getAreaSignInfo(@RequestParam(required = true)String endDate,
|
|
|
@RequestParam(required = true)String area,
|
|
|
@RequestParam(required = true)int level,
|
|
|
@RequestParam(required = false) String lowCode) {
|
|
|
try {
|
|
|
JSONObject result = new JSONObject();
|
|
|
|
|
@ -265,7 +295,9 @@ public class StatisticsController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = "/sixfive_statistics")
|
|
|
@ResponseBody
|
|
|
public String getSixFiveStatistics(String startDate, String endDate, String area, int level) {
|
|
|
public String getSixFiveStatistics(@RequestParam(required = true)String startDate,
|
|
|
@RequestParam(required = true)String endDate,
|
|
|
@RequestParam(required = true)String area, int level) {
|
|
|
try {
|
|
|
JSONArray result = statisticsAllService.getSixFiveStatistics(endDate, area, level);
|
|
|
|
|
@ -289,7 +321,13 @@ public class StatisticsController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = "/interval_total")
|
|
|
@ResponseBody
|
|
|
public String indexIntervalTotal(String startDate, String endDate, int interval, String area, int level, String index, @RequestParam(required = false) String lowCode) {
|
|
|
public String indexIntervalTotal(@RequestParam(required = true)String startDate,
|
|
|
@RequestParam(required = true)String endDate,
|
|
|
@RequestParam(required = true)int interval,
|
|
|
@RequestParam(required = true)String area,
|
|
|
@RequestParam(required = true)int level,
|
|
|
@RequestParam(required = true)String index,
|
|
|
@RequestParam(required = false) String lowCode) {
|
|
|
try {
|
|
|
String[] indexes = index.split(",");
|
|
|
JSONObject result = new JSONObject();
|
|
@ -318,8 +356,13 @@ public class StatisticsController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping("/lowlevel_all")
|
|
|
@ResponseBody
|
|
|
public String getIndexLowLevelTotalSign(String date, String area, int level, String index,
|
|
|
int sort, String lowLevel, @RequestParam(required = false) String lowCode) {
|
|
|
public String getIndexLowLevelTotalSign(@RequestParam(required = true)String date,
|
|
|
@RequestParam(required = true)String area,
|
|
|
@RequestParam(required = true)int level,
|
|
|
@RequestParam(required = true)String index,
|
|
|
@RequestParam(required = true)int sort,
|
|
|
@RequestParam(required = true)String lowLevel,
|
|
|
@RequestParam(required = false) String lowCode) {
|
|
|
try {
|
|
|
String[] indexes = index.split(",");
|
|
|
JSONObject result = new JSONObject();
|
|
@ -350,7 +393,10 @@ public class StatisticsController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = "/leveltwo_all")
|
|
|
@ResponseBody
|
|
|
public String getIndexLevelTwoTotal(String date, String area, int level, String index) {
|
|
|
public String getIndexLevelTwoTotal(@RequestParam(required = true)String date,
|
|
|
@RequestParam(required = true)String area,
|
|
|
@RequestParam(required = true)int level,
|
|
|
@RequestParam(required = true)String index) {
|
|
|
try {
|
|
|
String[] indexes = index.split(",");
|
|
|
JSONObject result = new JSONObject();
|
|
@ -377,7 +423,10 @@ public class StatisticsController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping("/index_all")
|
|
|
@ResponseBody
|
|
|
public String getIndexAll(String endDate, String area, int level, String index) {
|
|
|
public String getIndexAll(@RequestParam(required = true)String endDate,
|
|
|
@RequestParam(required = true)String area,
|
|
|
@RequestParam(required = true)int level,
|
|
|
@RequestParam(required = true)String index) {
|
|
|
try {
|
|
|
String[] indexes = index.split(",");
|
|
|
JSONObject result = new JSONObject();
|