2026.3.19 晚

缓存出库确认后台
This commit is contained in:
1009473166@qq.com
2026-03-19 18:33:27 +08:00
parent f25bb2a549
commit 10fa4b3b15
6 changed files with 38 additions and 1 deletions

View File

@@ -164,7 +164,6 @@ public class CheckStockinServiceImpl implements ICheckStockinService {
@Transactional(rollbackFor = Exception.class)
public AjaxResult saveBill(CheckStockVo checkStockVo) {
CheckStockin checkStockin = checkStockVo.getCheckStockin();
List<CheckStockinDetail> detailList = checkStockVo.getDetailList();
String stockCheckId = basJobIdService.getJobId("PDD");
checkStockin.setStockCheckId(stockCheckId);

View File

@@ -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);
}
}

View File

@@ -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);
}

View File

@@ -58,4 +58,5 @@ public interface PdaService {
List<AgvPoint> selectAgvPointByType(String type);
AjaxResult hcoutMakesure(String trayCode);
}

View File

@@ -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());
}
}
}

View File

@@ -144,4 +144,15 @@
#{v_resultmsg,mode=OUT,jdbcType=VARCHAR}
)}
</select>
<select id="hcoutMakesure" parameterType="java.util.Map" statementType="CALLABLE">
{call proc_hc_out_make_sure(
#{v_tray_code,mode=IN,jdbcType=VARCHAR},
#{v_result,mode=OUT,jdbcType=INTEGER},
#{v_resultmsg,mode=OUT,jdbcType=VARCHAR}
)}
</select>
</mapper>