| | |
| | | package com.zy.asrs.controller; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.core.annotations.AppAuth; |
| | | import com.zy.asrs.entity.mes.TransParent; |
| | | import com.zy.asrs.entity.rcs.RcsReporterEqpt; |
| | | import com.zy.asrs.entity.rcs.RcsReporterTask; |
| | |
| | | return rcsService.hxApplyInLine(param); |
| | | } |
| | | |
| | | |
| | | @PostMapping("/api/robot/personIn") |
| | | @AppAuth(memo = "人员入侵回调接口") |
| | | public JSONObject personIn(@RequestBody JSONObject param){ |
| | | JSONObject jsonObject = new JSONObject(); |
| | | if (rcsService.personIn(param) == 1){ |
| | | jsonObject.put("code", 200); |
| | | jsonObject.put("message", "success"); |
| | | }else { |
| | | jsonObject.put("code", 500); |
| | | jsonObject.put("message", "fail"); |
| | | } |
| | | return jsonObject; |
| | | } |
| | | } |