| | |
| | | |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.dto.WmsPalletDto; |
| | | import com.whyc.pojo.db_wms.Task; |
| | | import com.whyc.service.WmsService; |
| | | import io.swagger.annotations.Api; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | return service.getLocationList(); |
| | | } |
| | | |
| | | @GetMapping("getPalletList") |
| | | public Response getPalletList(){ |
| | | |
| | | return service.getPalletList(); |
| | | } |
| | | |
| | | /** |
| | | * 提供给第三方的接口,用于接收任务状态 |
| | | * @param task |
| | | * @return |
| | | */ |
| | | @PostMapping("sendTaskStatus") |
| | | public Response sendTaskStatus(@RequestBody Task task){ |
| | | return service.sendTaskStatus(task); |
| | | } |
| | | |
| | | } |