Commit 76a908bc LN

bug修改

1 个父辈 4592f99c
......@@ -65,7 +65,6 @@ public class MicronSpUnloadController {
@ApiOperation("Withdraw Offline出库: GetEquipIDList")
@GetMapping(value = "/unload/getEquipIdList")
public ResultBean getEquipIdList() {
try {
List<String> equipIdList = Micron20031Api.getEquipIDList();
return ResultBean.newOkResult(equipIdList);
......@@ -103,8 +102,8 @@ public class MicronSpUnloadController {
posList) {
try {
//验证
int MaxQuantity=dataCache.getCache(Constants.CACHE_MaxQuantity);
if( MaxQuantity<=0){
Integer MaxQuantity=dataCache.getCache(Constants.CACHE_MaxQuantity);
if( MaxQuantity==null|| MaxQuantity<0){
MaxQuantity=2;
}
Micron20031Api.chkAuthoriseToDispatch(pos.getBarcode(), Micron20031Api.MODE_ENABLE_MAM_SAP, SecurityUtils.getCurrentUsername(),lineId, MaxQuantity);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!