2026.3.19 晚
缓存出库确认后台
This commit is contained in:
@@ -193,6 +193,16 @@ public class PdaController extends BaseController {
|
||||
return iToWcsService.insertAgvMoveJob(agvMoveParam);
|
||||
}
|
||||
|
||||
@RequestMapping("/hcoutMakesure")
|
||||
@ResponseBody
|
||||
@Log(title = "手持机缓存出库确认",businessType = BusinessType.OTHER)
|
||||
public AjaxResult hcoutMakesure(String trayCode ){
|
||||
|
||||
return pdaService.hcoutMakesure(trayCode);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -38,4 +38,6 @@ public interface PdaMapper {
|
||||
void pkOut(HashMap<String, Object> map);
|
||||
|
||||
void outMakeSureException(HashMap<String, Object> map);
|
||||
|
||||
void hcoutMakesure(HashMap<String, Object> map);
|
||||
}
|
||||
|
||||
@@ -58,4 +58,5 @@ public interface PdaService {
|
||||
|
||||
List<AgvPoint> selectAgvPointByType(String type);
|
||||
|
||||
AjaxResult hcoutMakesure(String trayCode);
|
||||
}
|
||||
|
||||
@@ -300,4 +300,18 @@ public class PdaServiceImp implements PdaService {
|
||||
agvPoint.setType(type);
|
||||
return agvPointService.selectAgvPointList(agvPoint);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult hcoutMakesure(String trayCode) {
|
||||
HashMap<String, Object> map = new HashMap<>();
|
||||
map.put("v_tray_code", trayCode);
|
||||
pdaMapper.hcoutMakesure(map);
|
||||
String result = map.get("v_result").toString();
|
||||
if ("10".equals(result)) {
|
||||
return AjaxResult.success();
|
||||
} else {
|
||||
return AjaxResult.error(map.get("v_resultmsg").toString());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user