| | |
| | | import com.zy.asrs.entity.AgvLocDetl; |
| | | import com.zy.asrs.entity.AgvLocMast; |
| | | import com.zy.asrs.entity.LocMast; |
| | | import com.zy.asrs.entity.param.AgvMobileStartPakin; |
| | | import com.zy.asrs.entity.param.AgvMobileStartParam; |
| | | import com.zy.asrs.entity.param.CombParam; |
| | | import com.zy.asrs.entity.param.PickParam; |
| | | import com.zy.asrs.entity.param.*; |
| | | import com.zy.asrs.service.*; |
| | | import com.zy.common.web.BaseController; |
| | | import io.swagger.models.auth.In; |
| | | import lombok.Synchronized; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.HashMap; |
| | |
| | | |
| | | @PostMapping("/agv/v1/locMove") |
| | | @Transactional |
| | | @ManagerAuth(memo = "调拨单任务下发") |
| | | public R agvLocMove(@RequestBody HashMap<String,Object> params){ |
| | | String fl = String.valueOf(params.get("floor")); |
| | | short floor =(short)Integer.parseInt(fl.substring(0, 1)); |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @PostMapping("/hand/control/locMove") |
| | | @Transactional |
| | | @ManagerAuth(memo = "手动库位转移") |
| | | public R handControlLocMove(@RequestBody LocMoveParam param){ |
| | | agvMobileService.handControlLocMove(param, getUserId()); |
| | | return R.ok(); |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | List<AgvLocDetl> agvLocDetls1 = new ArrayList<>(); |
| | | List<AgvLocDetl> agvLocDetls2 = new ArrayList<>(); |