| | |
| | | import com.zy.asrs.service.WrkDetlService; |
| | | import com.zy.common.model.MobileLocDetlVo; |
| | | import com.zy.common.web.BaseController; |
| | | import com.zy.ints.entity.WaitMatin; |
| | | import com.zy.ints.service.WaitMatinService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | private LocDetlService locDetlService; |
| | | @Autowired |
| | | private WrkDetlService wrkDetlService; |
| | | @Autowired |
| | | private WaitMatinService waitMatinService; |
| | | |
| | | /** |
| | | * 组托 |
| | |
| | | } |
| | | return R.parse(BaseRes.PARAM); |
| | | } |
| | | |
| | | /** |
| | | * 根据通知单查询明细 |
| | | */ |
| | | @RequestMapping("/bill/query/auth") |
| | | @ManagerAuth(memo = "根据通知单查询明细") |
| | | public R billQuery(@RequestParam String billNo){ |
| | | List<WaitMatin> waitMatins = waitMatinService.selectList(new EntityWrapper<WaitMatin>().eq("bill_no", billNo)); |
| | | List<CombBillQueryVo> vos = new ArrayList<>(); |
| | | if (!Cools.isEmpty(waitPakins)) { |
| | | for (WaitMatin waitMatin : waitMatins) { |
| | | CombBillQueryVo vo = new CombBillQueryVo(); |
| | | vo.setMatNo(waitMatin.getMatnr()); |
| | | vo.setMatName(waitMatin.getMaktx()); |
| | | vo.setCount(waitMatin.getAnfme()); |
| | | vo.setSupplier(waitMatin.getSupplier()); |
| | | vo.setAltme(waitMatin.getAltme()); |
| | | vo.setType(waitMatin.getType()); |
| | | vo.setLgnum(waitMatin.getLgnum()); |
| | | vo.setColor(waitMatin.getColor()); |
| | | vos.add(vo); |
| | | } |
| | | } |
| | | return R.ok().add(vos); |
| | | } |
| | | } |