| | |
| | | package com.vincent.rsf.server.api.controller.pda; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.vincent.rsf.framework.common.Cools; |
| | | import com.vincent.rsf.framework.common.R; |
| | | import com.vincent.rsf.server.api.entity.params.PdaGeneralParam; |
| | | import com.vincent.rsf.server.api.service.PdaOtherService; |
| | | import com.vincent.rsf.server.manager.entity.WkOrder; |
| | | import com.vincent.rsf.server.manager.enums.OrderType; |
| | | import com.vincent.rsf.server.system.controller.BaseController; |
| | | import io.swagger.annotations.Api; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | @Api(tags = "PDA综合操作接口") |
| | | @RequestMapping("/pda") |
| | |
| | | |
| | | return pdaOtherService.transferPage(orderNo,curr,limit); |
| | | } |
| | | |
| | | |
| | | @PostMapping(value = "/other/inspectList") |
| | | public R inspectList(@RequestBody PdaGeneralParam generalParam) { |
| | | |
| | | return pdaOtherService.inspectList(generalParam); |
| | | } |
| | | |
| | | @PostMapping(value = "/other/inspectConfirm") |
| | | public R inspectConfirm(@RequestBody PdaGeneralParam generalParam) { |
| | | |
| | | return pdaOtherService.inspectConfirm(generalParam); |
| | | } |
| | | |
| | | @PostMapping(value = "/other/inspectConfirm2") |
| | | public R inspectConfirm2(@RequestBody PdaGeneralParam generalParam) { |
| | | |
| | | return pdaOtherService.inspectConfirm2(generalParam); |
| | | } |
| | | |
| | | @RequestMapping(value = "/other/station/page") |
| | | public R stationPage(@RequestParam String staNo, |
| | | @RequestParam(defaultValue = "1") Integer curr, |
| | | @RequestParam(defaultValue = "5") Integer limit) { |
| | | |
| | | return pdaOtherService.stationPage(staNo,curr,limit); |
| | | } |
| | | |
| | | |
| | | @PostMapping(value = "/other/staOperate") |
| | | public R staOperate(@RequestBody PdaGeneralParam generalParam) { |
| | | |
| | | return pdaOtherService.staOperate(generalParam,getLoginUser()); |
| | | } |
| | | |
| | | @RequestMapping(value = "/other/loc/page") |
| | | public R locPage(@RequestParam String locNo, |
| | | @RequestParam(defaultValue = "1") Integer curr, |
| | | @RequestParam(defaultValue = "5") Integer limit) { |
| | | |
| | | return pdaOtherService.locPage(locNo,curr,limit); |
| | | } |
| | | |
| | | @PostMapping(value = "/other/locOperate") |
| | | public R locOperate(@RequestBody PdaGeneralParam generalParam) { |
| | | |
| | | return pdaOtherService.locOperate(generalParam,getLoginUser()); |
| | | } |
| | | |
| | | } |