StatisticsController.java
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.tianbo.analysis.controller;
import com.tianbo.analysis.dao.ORIGINMANIFESTMASTERMapper;
import com.tianbo.analysis.model.ResultJson;
import com.tianbo.analysis.model.SENDLOG;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.List;
/**
* 新舱单统计分析接口
* 航班日期/航班号
* 航班数量
* 主单单数
* 分单单数
* 舱单总件数/重量
* 理货总件数/重量
* 进出港分开
* 理货/与原始航班日期不对称
* 原始对应理货完毕配色
* 运单放行统计及配色
*/
/**
* 转运统计
*/
/**
* 关区统计
*/
@RestController
@RequestMapping("/static")
public class StatisticsController {
@Resource
ORIGINMANIFESTMASTERMapper originmanifestmasterMapper;
@RequestMapping("/import")
public ResultJson getById(@RequestParam(value = "startDate",required = true) String startDate,
@RequestParam(value = "endDate",required = true) String endDate){
return new ResultJson<>("200","success",originmanifestmasterMapper.statics(startDate,endDate));
}
}