2026.3.19 晚
缓存出库确认后台
This commit is contained in:
@@ -164,7 +164,6 @@ public class CheckStockinServiceImpl implements ICheckStockinService {
|
|||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public AjaxResult saveBill(CheckStockVo checkStockVo) {
|
public AjaxResult saveBill(CheckStockVo checkStockVo) {
|
||||||
CheckStockin checkStockin = checkStockVo.getCheckStockin();
|
CheckStockin checkStockin = checkStockVo.getCheckStockin();
|
||||||
|
|
||||||
List<CheckStockinDetail> detailList = checkStockVo.getDetailList();
|
List<CheckStockinDetail> detailList = checkStockVo.getDetailList();
|
||||||
String stockCheckId = basJobIdService.getJobId("PDD");
|
String stockCheckId = basJobIdService.getJobId("PDD");
|
||||||
checkStockin.setStockCheckId(stockCheckId);
|
checkStockin.setStockCheckId(stockCheckId);
|
||||||
|
|||||||
@@ -193,6 +193,16 @@ public class PdaController extends BaseController {
|
|||||||
return iToWcsService.insertAgvMoveJob(agvMoveParam);
|
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 pkOut(HashMap<String, Object> map);
|
||||||
|
|
||||||
void outMakeSureException(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);
|
List<AgvPoint> selectAgvPointByType(String type);
|
||||||
|
|
||||||
|
AjaxResult hcoutMakesure(String trayCode);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -300,4 +300,18 @@ public class PdaServiceImp implements PdaService {
|
|||||||
agvPoint.setType(type);
|
agvPoint.setType(type);
|
||||||
return agvPointService.selectAgvPointList(agvPoint);
|
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());
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -144,4 +144,15 @@
|
|||||||
#{v_resultmsg,mode=OUT,jdbcType=VARCHAR}
|
#{v_resultmsg,mode=OUT,jdbcType=VARCHAR}
|
||||||
)}
|
)}
|
||||||
</select>
|
</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>
|
</mapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user