| | |
| | | import com.core.common.R; |
| | | import com.core.exception.CoolException; |
| | | import com.zy.asrs.entity.*; |
| | | import com.zy.asrs.entity.param.TaskOverParam; |
| | | import com.zy.asrs.entity.param.WMSAndAGVInterfaceParam; |
| | | import com.zy.asrs.entity.param.taskCreateParam; |
| | | import com.zy.asrs.service.*; |
| | |
| | | public static final ArrayList<String> APP_KEY_LIST = new ArrayList<String>() {{ |
| | | add("ea1f0459efc02a79f046f982767939ae"); |
| | | }}; |
| | | @PostMapping("/toAgvTaskOver") |
| | | public R getAgvTaskOver(@RequestHeader String appkey, |
| | | @RequestBody TaskOverParam param, |
| | | HttpServletRequest request){ |
| | | auth(appkey, param, request); |
| | | if (Cools.isEmpty(param)) { |
| | | return R.parse(BaseRes.PARAM); |
| | | } |
| | | if (Cools.isEmpty(param.getWharfCode())){ |
| | | return R.error("码头[wharfCode]不能为空"); |
| | | } |
| | | if (Cools.isEmpty(param.getStatus())){ |
| | | return R.error("完成标记[status]不能为空"); |
| | | } |
| | | openService.getAgvTaskOver(param); |
| | | return R.ok(); |
| | | } |
| | | |
| | | //创建任务 |
| | | @PostMapping("/taskCreate") |