| | |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import jakarta.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.Objects; |
| | |
| | | } else { |
| | | return mobileService.getItemByContainer(params, getLoginUser()); |
| | | } |
| | | } |
| | | |
| | | @ApiOperation("获取拖盘可用库区") |
| | | @PostMapping("/asnOrderItem/container/area") |
| | | public R getItemByContainerArea(@RequestBody Map<String, Object> params) { |
| | | if (Objects.isNull(params)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | |
| | | return mobileService.getItemByContainerArea(params, getLoginUser()); |
| | | |
| | | } |
| | | |
| | | @ApiOperation("组托") |
| | |
| | | return mobileService.generateTask(map, getLoginUserId()); |
| | | } |
| | | } |
| | | |