|
@@ -71,7 +71,7 @@ public class WorkerController {
|
|
|
return new Result<>(list);
|
|
return new Result<>(list);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ApiOperation(value = "点击待执行运单", notes = "必传参数:truckId,orderId")
|
|
|
|
|
|
|
+ @ApiOperation(value = "点击待执行运单,变成已读", notes = "必传参数:truckId,orderId")
|
|
|
@PostMapping("/add_work_order_readinfo")
|
|
@PostMapping("/add_work_order_readinfo")
|
|
|
public Result work_cycle_page(@RequestHeader(value = "orgId") Long orgId,
|
|
public Result work_cycle_page(@RequestHeader(value = "orgId") Long orgId,
|
|
|
@RequestHeader(value = "userId") Long userId, @RequestBody WorkOrderReadinfo workOrderReadinfo) {
|
|
@RequestHeader(value = "userId") Long userId, @RequestBody WorkOrderReadinfo workOrderReadinfo) {
|
|
@@ -188,7 +188,7 @@ public class WorkerController {
|
|
|
return new Result<>(flag);
|
|
return new Result<>(flag);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ApiOperation(value = "开始执行运单", notes = "点击开始执行运单按钮")
|
|
|
|
|
|
|
+ @ApiOperation(value = "1.开始执行运单", notes = "点击开始执行运单按钮")
|
|
|
@PostMapping("/start_order")
|
|
@PostMapping("/start_order")
|
|
|
public Result start_order(@RequestBody WorkOrder workOrder) {
|
|
public Result start_order(@RequestBody WorkOrder workOrder) {
|
|
|
log.info("开始执行运单,/tms/worker/start_order,参数:{}", JSON.toJSONString(workOrder));
|
|
log.info("开始执行运单,/tms/worker/start_order,参数:{}", JSON.toJSONString(workOrder));
|
|
@@ -200,7 +200,7 @@ public class WorkerController {
|
|
|
return new Result<>(flag);
|
|
return new Result<>(flag);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ApiOperation(value = "完成出车前检查,开始装卸车作业", notes = "点击完成出车前检查,开始作业按钮")
|
|
|
|
|
|
|
+ @ApiOperation(value = "2.完成出车前检查,开始装卸车作业", notes = "点击完成出车前检查,开始作业按钮")
|
|
|
@PostMapping("/start_work")
|
|
@PostMapping("/start_work")
|
|
|
public Result start_work(@RequestBody WorkOrder workOrder) {
|
|
public Result start_work(@RequestBody WorkOrder workOrder) {
|
|
|
log.info("完成出车前检查,开始作业,/tms/worker/start_work,参数:{}", JSON.toJSONString(workOrder));
|
|
log.info("完成出车前检查,开始作业,/tms/worker/start_work,参数:{}", JSON.toJSONString(workOrder));
|
|
@@ -212,7 +212,7 @@ public class WorkerController {
|
|
|
return new Result<>(flag);
|
|
return new Result<>(flag);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ApiOperation(value = "上报已到达装卸车点", notes = "点击上报已到达装卸车点")
|
|
|
|
|
|
|
+ @ApiOperation(value = "3.上报已到达装卸车点", notes = "点击上报已到达装卸车点")
|
|
|
@PostMapping("/start_wait")
|
|
@PostMapping("/start_wait")
|
|
|
public Result start_wait(@RequestBody WorkOrder workOrder) {
|
|
public Result start_wait(@RequestBody WorkOrder workOrder) {
|
|
|
log.info("上报已到达装卸车点,/tms/worker/start_wait,参数:{}", JSON.toJSONString(workOrder));
|
|
log.info("上报已到达装卸车点,/tms/worker/start_wait,参数:{}", JSON.toJSONString(workOrder));
|
|
@@ -224,7 +224,7 @@ public class WorkerController {
|
|
|
return new Result<>(flag);
|
|
return new Result<>(flag);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ApiOperation(value = "上报成果", notes = "点击上报成果")
|
|
|
|
|
|
|
+ @ApiOperation(value = "4.上报成果", notes = "点击上报成果")
|
|
|
@PostMapping("/submit_result")
|
|
@PostMapping("/submit_result")
|
|
|
public Result submit_result(@RequestBody WorkOrder workOrder) {
|
|
public Result submit_result(@RequestBody WorkOrder workOrder) {
|
|
|
log.info("上报成果,/tms/worker/submit_result,参数:{}", JSON.toJSONString(workOrder));
|
|
log.info("上报成果,/tms/worker/submit_result,参数:{}", JSON.toJSONString(workOrder));
|
|
@@ -236,7 +236,7 @@ public class WorkerController {
|
|
|
return new Result<>(flag);
|
|
return new Result<>(flag);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ApiOperation(value = "确认完成运单", notes = "点击确认完成运单")
|
|
|
|
|
|
|
+ @ApiOperation(value = "4.确认完成运单", notes = "点击确认完成运单")
|
|
|
@PostMapping("/finish_order")
|
|
@PostMapping("/finish_order")
|
|
|
public Result finish_order(@RequestBody WorkOrder workOrder) {
|
|
public Result finish_order(@RequestBody WorkOrder workOrder) {
|
|
|
log.info("确认完成运单,/tms/worker/finish_order,参数:{}", JSON.toJSONString(workOrder));
|
|
log.info("确认完成运单,/tms/worker/finish_order,参数:{}", JSON.toJSONString(workOrder));
|
|
@@ -248,7 +248,7 @@ public class WorkerController {
|
|
|
return new Result<>(flag);
|
|
return new Result<>(flag);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ApiOperation(value = "上报已到达收车点", notes = "点击上报已到达收车点")
|
|
|
|
|
|
|
+ @ApiOperation(value = "6.上报已到达收车点", notes = "点击上报已到达收车点")
|
|
|
@PostMapping("/arrive_terminal")
|
|
@PostMapping("/arrive_terminal")
|
|
|
public Result arrive_shouchedian(@RequestBody WorkOrder workOrder) {
|
|
public Result arrive_shouchedian(@RequestBody WorkOrder workOrder) {
|
|
|
log.info("上报已到达收车点,/tms/worker/arrive_shouchedian,参数:{}", JSON.toJSONString(workOrder));
|
|
log.info("上报已到达收车点,/tms/worker/arrive_shouchedian,参数:{}", JSON.toJSONString(workOrder));
|
|
@@ -260,7 +260,7 @@ public class WorkerController {
|
|
|
return new Result<>(flag);
|
|
return new Result<>(flag);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @ApiOperation(value = "完成检查,结束此次行程", notes = "点击完成检查,结束此次行程")
|
|
|
|
|
|
|
+ @ApiOperation(value = "7.完成检查,结束此次行程", notes = "点击完成检查,结束此次行程")
|
|
|
@PostMapping("/finish_work")
|
|
@PostMapping("/finish_work")
|
|
|
public Result finish_work(@RequestBody WorkOrder workOrder) {
|
|
public Result finish_work(@RequestBody WorkOrder workOrder) {
|
|
|
log.info("上报已到达收车点,/tms/worker/arrive_shouchedian,参数:{}", JSON.toJSONString(workOrder));
|
|
log.info("上报已到达收车点,/tms/worker/arrive_shouchedian,参数:{}", JSON.toJSONString(workOrder));
|