|
@@ -11,6 +11,7 @@ import com.steerinfo.dil.util.PageListAdd;
|
|
|
|
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
import com.steerinfo.framework.service.pagehelper.PageHelper;
|
|
import com.steerinfo.framework.service.pagehelper.PageHelper;
|
|
|
|
+import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -312,6 +313,16 @@ public class OmstruckOrderController extends BaseRESTfulController {
|
|
return success(pageList);
|
|
return success(pageList);
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+ @ApiOperation(value="判断一车多单是否还有订单,如果还有就推送消息再给司机")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name ="mapValue",value = "orderId")
|
|
|
|
+ })
|
|
|
|
+ @PostMapping("/pushMessageToDriver")
|
|
|
|
+ public RESTfulResult pushMessageToDriver(@RequestBody Map<String,Object> mapValue){
|
|
|
|
+
|
|
|
|
+ omstruckOrderService.pushMessageToDriver(mapValue);
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
|
|
@ApiOperation(value = "司机接收、拒绝接单")
|
|
@ApiOperation(value = "司机接收、拒绝接单")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|