|  |  |  | 
|---|
|  |  |  | package com.zy.asrs.controller; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.core.annotations.ManagerAuth; | 
|---|
|  |  |  | import com.core.common.Cools; | 
|---|
|  |  |  | import com.core.common.R; | 
|---|
|  |  |  | import com.zy.asrs.entity.WaitPakin; | 
|---|
|  |  |  | import com.zy.asrs.entity.param.EmptyPlateOutParam; | 
|---|
|  |  |  | 
|---|
|  |  |  | return R.ok().add(result); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @RequestMapping("/turn/over/out/start") | 
|---|
|  |  |  | @ManagerAuth(memo = "客户转换") | 
|---|
|  |  |  | public R turnOverOutStart(@RequestBody EmptyPlateOutParam param) { | 
|---|
|  |  |  | workService.turnOverOut(param, getUserId()); | 
|---|
|  |  |  | return R.ok("客户转换成功"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @RequestMapping("/available/take/check/site") | 
|---|
|  |  |  | @ManagerAuth() | 
|---|
|  |  |  | public R availableTakeCheckSite(){ | 
|---|
|  |  |  | 
|---|
|  |  |  | @RequestMapping("/full/store/put/start") | 
|---|
|  |  |  | @ManagerAuth(memo = "全板入库") | 
|---|
|  |  |  | public R fullStorePutStart(@RequestBody FullStoreParam fullStoreParam) { | 
|---|
|  |  |  | return R.ok("入库启动成功").add(workService.startupFullPutStore(fullStoreParam,getUserId())); | 
|---|
|  |  |  | try { | 
|---|
|  |  |  | String locNo = workService.startupFullPutStore(fullStoreParam, getUserId()); | 
|---|
|  |  |  | return R.ok("入库启动成功").add(locNo); | 
|---|
|  |  |  | } catch (Exception e){ | 
|---|
|  |  |  | return R.error("入库启动失败==>"+e.getMessage()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @RequestMapping("/plate/out/start") | 
|---|
|  |  |  | 
|---|
|  |  |  | return R.ok("移库启动成功"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @RequestMapping("/mat/turn/over/out/start") | 
|---|
|  |  |  | @ManagerAuth(memo = "品号移交") | 
|---|
|  |  |  | public R turnMatLocDetl(@RequestBody EmptyPlateOutParam param) { | 
|---|
|  |  |  | if (Cools.isEmpty(param) || Cools.isEmpty(param.getLocDetls(),param.getMatId()) || Cools.isEmpty(param.getLocDetls().get(0)) || Cools.isEmpty(param.getLocDetls().get(0).getMatnr())){ | 
|---|
|  |  |  | return R.error("参数为空"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (param.getLocDetls().size()>1){ | 
|---|
|  |  |  | return R.error("请单条数据修改,谨慎操作!"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | workService.turnMatLocDetl(param, getUserId()); | 
|---|
|  |  |  | return R.ok("品号移交成功"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @RequestMapping("/locDdetl/adjust/start") | 
|---|
|  |  |  | @ManagerAuth(memo = "库存调整") | 
|---|
|  |  |  | public R locDetlAdjustStart(@RequestBody LocDetlAdjustParam param) { | 
|---|