|
@@ -103,6 +103,96 @@ public class QmsQueueResultController extends BaseRESTfulController {
|
|
return success(allQueueApply);
|
|
return success(allQueueApply);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation(value="查排队开始")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
+ @ApiImplicitParam(name = "apiId(128)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "gridId", value = "仓储网格(筛选)", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "type", value = "类型3:采购、1|2:销售", required = false, dataType = "Integer"),
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+ @PostMapping("/getQueueListByQueueUp")
|
|
|
|
+ public RESTfulResult getQueueListByQueueUp(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer locationId,
|
|
|
|
+ String capacityNumber,
|
|
|
|
+ Integer isSpelling
|
|
|
|
+ ){
|
|
|
|
+ if(locationId != null)
|
|
|
|
+ mapValue.put("locationId", locationId);
|
|
|
|
+ if(capacityNumber != null && !"".equals(capacityNumber))
|
|
|
|
+ mapValue.put("capacityNumber", capacityNumber);
|
|
|
|
+ PageHelper.startPage(pageNum,pageSize);
|
|
|
|
+ if(isSpelling == 1){
|
|
|
|
+ //多拼
|
|
|
|
+ return success(qmsQueueResultService.getQueueListByQueueUpSpelling(mapValue));
|
|
|
|
+ }else {
|
|
|
|
+ //单拼
|
|
|
|
+ return success(qmsQueueResultService.getQueueListByQueueUp(mapValue));
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value="查询排队结束")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
+ @ApiImplicitParam(name = "apiId(133)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
|
+ })
|
|
|
|
+ @PostMapping("/getQueueEndResult")
|
|
|
|
+ public RESTfulResult getQueueEndResult(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ String con
|
|
|
|
+ ){
|
|
|
|
+ if(con != null && !"".equals(con) && !"null".equals(con)){
|
|
|
|
+ mapValue.put("index", con);
|
|
|
|
+ }
|
|
|
|
+ PageHelper.startPage(pageNum,pageSize);
|
|
|
|
+ //分页数据
|
|
|
|
+ List<Map<String, Object>> AllQueueEndInsert = qmsQueueResultService.getQueueEndResult(mapValue);
|
|
|
|
+ return success(AllQueueEndInsert);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value="查询排队取消")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
+ @ApiImplicitParam(name = "apiId(131)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
|
+ })
|
|
|
|
+ @PostMapping("/getQueueCancel")
|
|
|
|
+ public RESTfulResult getQueueCancel(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ String startTime,
|
|
|
|
+ String endTime,
|
|
|
|
+ String con
|
|
|
|
+ ){
|
|
|
|
+ if(con != null && !"".equals(con) && !"null".equals(con)){
|
|
|
|
+ mapValue.put("index", con);
|
|
|
|
+ }
|
|
|
|
+ DataChange.queryDataByDateTime(startTime,endTime,mapValue,sdf); //时间查询插件
|
|
|
|
+ PageHelper.startPage(pageNum,pageSize);
|
|
|
|
+ //分页数据
|
|
|
|
+ List<Map<String, Object>> AllQueueCancel = qmsQueueResultService.getQueueCancel(mapValue);
|
|
|
|
+ return success(AllQueueCancel);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
// @ApiOperation(value="查询执行中订单")
|
|
// @ApiOperation(value="查询执行中订单")
|
|
// @ApiImplicitParams({
|
|
// @ApiImplicitParams({
|
|
// @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
// @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
@@ -159,37 +249,7 @@ public class QmsQueueResultController extends BaseRESTfulController {
|
|
//
|
|
//
|
|
// }
|
|
// }
|
|
|
|
|
|
- @ApiOperation(value="查排队开始")
|
|
|
|
- @ApiImplicitParams({
|
|
|
|
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
- @ApiImplicitParam(name = "apiId(128)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
|
- @ApiImplicitParam(name = "gridId", value = "仓储网格(筛选)", required = false, dataType = "Integer"),
|
|
|
|
- @ApiImplicitParam(name = "type", value = "类型3:采购、1|2:销售", required = false, dataType = "Integer"),
|
|
|
|
|
|
|
|
- })
|
|
|
|
- @PostMapping("/getQueueListByQueueUp")
|
|
|
|
- public RESTfulResult getQueueListByQueueUp(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
|
- Integer apiId,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize,
|
|
|
|
- Integer locationId,
|
|
|
|
- String capacityNumber,
|
|
|
|
- Integer isSpelling
|
|
|
|
- ){
|
|
|
|
- if(locationId != null)
|
|
|
|
- mapValue.put("locationId", locationId);
|
|
|
|
- if(capacityNumber != null && !"".equals(capacityNumber))
|
|
|
|
- mapValue.put("capacityNumber", capacityNumber);
|
|
|
|
- PageHelper.startPage(pageNum,pageSize);
|
|
|
|
- if(isSpelling == 1){
|
|
|
|
- //多拼
|
|
|
|
- return success(qmsQueueResultService.getQueueListByQueueUpSpelling(mapValue));
|
|
|
|
- }else {
|
|
|
|
- //单拼
|
|
|
|
- return success(qmsQueueResultService.getQueueListByQueueUp(mapValue));
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
|
|
// @ApiOperation(value="查询进厂排队详情")
|
|
// @ApiOperation(value="查询进厂排队详情")
|
|
// @ApiImplicitParams({
|
|
// @ApiImplicitParams({
|
|
@@ -253,51 +313,26 @@ public class QmsQueueResultController extends BaseRESTfulController {
|
|
// return success(pageList);
|
|
// return success(pageList);
|
|
// }
|
|
// }
|
|
|
|
|
|
- @ApiOperation(value="查询排队取消")
|
|
|
|
- @ApiImplicitParams({
|
|
|
|
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
- @ApiImplicitParam(name = "apiId(131)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
|
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
|
- })
|
|
|
|
- @PostMapping("/getQueueCancel")
|
|
|
|
- public RESTfulResult getQueueCancel(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
|
- Integer apiId,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize,
|
|
|
|
- String startTime,
|
|
|
|
- String endTime,
|
|
|
|
- String con
|
|
|
|
- ){
|
|
|
|
- if(con != null && !"".equals(con) && !"null".equals(con)){
|
|
|
|
- mapValue.put("index", con);
|
|
|
|
- }
|
|
|
|
- DataChange.queryDataByDateTime(startTime,endTime,mapValue,sdf); //时间查询插件
|
|
|
|
- PageHelper.startPage(pageNum,pageSize);
|
|
|
|
- //分页数据
|
|
|
|
- List<Map<String, Object>> AllQueueCancel = qmsQueueResultService.getQueueCancel(mapValue);
|
|
|
|
- return success(AllQueueCancel);
|
|
|
|
- }
|
|
|
|
|
|
|
|
- @ApiOperation(value="通过Id查询排队取消实绩")
|
|
|
|
- @ApiImplicitParams({
|
|
|
|
- @ApiImplicitParam(name = "resultId", value = "排队取消实绩", required = false, dataType = "Integer"),
|
|
|
|
- })
|
|
|
|
- @PostMapping("/getQueueCancelByResultId/{resultId}")
|
|
|
|
- public RESTfulResult getQueueCancelByResultId(@PathVariable("resultId") Integer resultId){
|
|
|
|
- List<Map<String, Object>> mes = qmsQueueResultService.getQueueCancelByResultId(resultId);
|
|
|
|
- return success(mes);
|
|
|
|
- }
|
|
|
|
|
|
+// @ApiOperation(value="通过Id查询排队取消实绩")
|
|
|
|
+// @ApiImplicitParams({
|
|
|
|
+// @ApiImplicitParam(name = "resultId", value = "排队取消实绩", required = false, dataType = "Integer"),
|
|
|
|
+// })
|
|
|
|
+// @PostMapping("/getQueueCancelByResultId/{resultId}")
|
|
|
|
+// public RESTfulResult getQueueCancelByResultId(@PathVariable("resultId") Integer resultId){
|
|
|
|
+// List<Map<String, Object>> mes = qmsQueueResultService.getQueueCancelByResultId(resultId);
|
|
|
|
+// return success(mes);
|
|
|
|
+// }
|
|
|
|
|
|
- @ApiOperation(value="修改排队取消实绩:时间、原因")
|
|
|
|
- @ApiImplicitParams({
|
|
|
|
- @ApiImplicitParam(name = "qmsQueueResult", value = "排队取消实体类", required = false, dataType = "QmsQueueResult"),
|
|
|
|
- })
|
|
|
|
- @PostMapping("/updateQueueCancel")
|
|
|
|
- public RESTfulResult updateQueueCancel(@RequestBody QmsQueueResult qmsQueueResult){
|
|
|
|
- int i = qmsQueueResultService.updateQueueCancel(qmsQueueResult);
|
|
|
|
- return success(i);
|
|
|
|
- }
|
|
|
|
|
|
+// @ApiOperation(value="修改排队取消实绩:时间、原因")
|
|
|
|
+// @ApiImplicitParams({
|
|
|
|
+// @ApiImplicitParam(name = "qmsQueueResult", value = "排队取消实体类", required = false, dataType = "QmsQueueResult"),
|
|
|
|
+// })
|
|
|
|
+// @PostMapping("/updateQueueCancel")
|
|
|
|
+// public RESTfulResult updateQueueCancel(@RequestBody QmsQueueResult qmsQueueResult){
|
|
|
|
+// int i = qmsQueueResultService.updateQueueCancel(qmsQueueResult);
|
|
|
|
+// return success(i);
|
|
|
|
+// }
|
|
|
|
|
|
// @ApiOperation(value="查询排队插队")
|
|
// @ApiOperation(value="查询排队插队")
|
|
// @ApiImplicitParams({
|
|
// @ApiImplicitParams({
|
|
@@ -326,56 +361,34 @@ public class QmsQueueResultController extends BaseRESTfulController {
|
|
//
|
|
//
|
|
// }
|
|
// }
|
|
|
|
|
|
- @ApiOperation(value="查询排队结束")
|
|
|
|
- @ApiImplicitParams({
|
|
|
|
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
- @ApiImplicitParam(name = "apiId(133)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
|
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
|
- })
|
|
|
|
- @PostMapping("/getQueueEndResult")
|
|
|
|
- public RESTfulResult getQueueEndResult(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
|
- Integer apiId,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize,
|
|
|
|
- String con
|
|
|
|
- ){
|
|
|
|
- if(con != null && !"".equals(con) && !"null".equals(con)){
|
|
|
|
- mapValue.put("index", con);
|
|
|
|
- }
|
|
|
|
- PageHelper.startPage(pageNum,pageSize);
|
|
|
|
- //分页数据
|
|
|
|
- List<Map<String, Object>> AllQueueEndInsert = qmsQueueResultService.getQueueEndResult(mapValue);
|
|
|
|
- return success(AllQueueEndInsert);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- @ApiOperation(value="汽车监控(仓库)")
|
|
|
|
- @ApiImplicitParams({
|
|
|
|
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
- @ApiImplicitParam(name = "apiId(135)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
|
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
|
- })
|
|
|
|
- @PostMapping("/capacityMonitor")
|
|
|
|
- public RESTfulResult capacityMonitor(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
|
- Integer apiId,
|
|
|
|
- Integer pageNum,
|
|
|
|
- Integer pageSize,
|
|
|
|
- Integer gridType,
|
|
|
|
- String con
|
|
|
|
- ){
|
|
|
|
- mapValue.put("gridType", gridType);
|
|
|
|
- if(con != null && !"".equals(con) && !"null".equals(con)){
|
|
|
|
- mapValue.put("index", con);
|
|
|
|
- }
|
|
|
|
- //分页数据
|
|
|
|
- PageHelper.startPage(pageNum,pageSize);
|
|
|
|
- List<Map<String, Object>> AllCapacityMonitor = qmsQueueResultService.capacityMonitor(mapValue);
|
|
|
|
- List<Map<String, Object>> capacityMonitor = new ArrayList<>(AllCapacityMonitor);
|
|
|
|
- PageListAdd pageList = columnDataUtil.tableColumnData(apiId, AllCapacityMonitor,capacityMonitor);
|
|
|
|
- return success(pageList);
|
|
|
|
|
|
|
|
- }
|
|
|
|
|
|
+// @ApiOperation(value="汽车监控(仓库)")
|
|
|
|
+// @ApiImplicitParams({
|
|
|
|
+// @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
|
|
|
|
+// @ApiImplicitParam(name = "apiId(135)", value = "动态表头", required = false, dataType = "Integer"),
|
|
|
|
+// @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
|
|
|
|
+// @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
|
|
|
|
+// })
|
|
|
|
+// @PostMapping("/capacityMonitor")
|
|
|
|
+// public RESTfulResult capacityMonitor(@RequestBody(required=false) Map<String,Object> mapValue,
|
|
|
|
+// Integer apiId,
|
|
|
|
+// Integer pageNum,
|
|
|
|
+// Integer pageSize,
|
|
|
|
+// Integer gridType,
|
|
|
|
+// String con
|
|
|
|
+// ){
|
|
|
|
+// mapValue.put("gridType", gridType);
|
|
|
|
+// if(con != null && !"".equals(con) && !"null".equals(con)){
|
|
|
|
+// mapValue.put("index", con);
|
|
|
|
+// }
|
|
|
|
+// //分页数据
|
|
|
|
+// PageHelper.startPage(pageNum,pageSize);
|
|
|
|
+// List<Map<String, Object>> AllCapacityMonitor = qmsQueueResultService.capacityMonitor(mapValue);
|
|
|
|
+// List<Map<String, Object>> capacityMonitor = new ArrayList<>(AllCapacityMonitor);
|
|
|
|
+// PageListAdd pageList = columnDataUtil.tableColumnData(apiId, AllCapacityMonitor,capacityMonitor);
|
|
|
|
+// return success(pageList);
|
|
|
|
+//
|
|
|
|
+// }
|
|
|
|
|
|
|
|
|
|
// @ApiOperation(value="查询各仓库,门岗的排队状态列表")
|
|
// @ApiOperation(value="查询各仓库,门岗的排队状态列表")
|
|
@@ -392,12 +405,12 @@ public class QmsQueueResultController extends BaseRESTfulController {
|
|
// return success(orderReceiveMap);
|
|
// return success(orderReceiveMap);
|
|
// }
|
|
// }
|
|
|
|
|
|
- @ApiOperation(value="通过车牌号取消排队")
|
|
|
|
- @PostMapping("/cancelQueue")
|
|
|
|
- public RESTfulResult cancelQueue(@RequestBody Map<String,Object> mapValue){
|
|
|
|
- int code = qmsQueueResultService.cancelQueue(mapValue);
|
|
|
|
- return success(code);
|
|
|
|
- }
|
|
|
|
|
|
+// @ApiOperation(value="通过车牌号取消排队")
|
|
|
|
+// @PostMapping("/cancelQueue")
|
|
|
|
+// public RESTfulResult cancelQueue(@RequestBody Map<String,Object> mapValue){
|
|
|
|
+// int code = qmsQueueResultService.cancelQueue(mapValue);
|
|
|
|
+// return success(code);
|
|
|
|
+// }
|
|
|
|
|
|
//========================================仓库=====================================================
|
|
//========================================仓库=====================================================
|
|
// @ApiOperation(value="新增仓库排队")
|
|
// @ApiOperation(value="新增仓库排队")
|