'123'
This commit is contained in:
parent
789ac20f7c
commit
015543ee5f
|
@ -161,7 +161,7 @@ public class storageLocationController extends BaseController
|
|||
//查询已录入库位信息
|
||||
StorageSelected storageSelected = storageLocationService.hasStorageLocation(materialBh);
|
||||
if (StringUtils.isNotNull(kw_user2_name)&&storageSelected!=null) {//已选择领用,有选择领用记录
|
||||
return error("当前库位已被其他人选择领用中,领用人账号:" + kw_user2_name + ",请先删除领用记录,再继续操作!");
|
||||
return error("当前库位已被选择领用中,领用人账号:" + kw_user2_name + ",请先删除领用记录,再继续操作!");
|
||||
} else {
|
||||
//插入操作记录表
|
||||
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
|
@ -181,7 +181,7 @@ public class storageLocationController extends BaseController
|
|||
return toAjax(storageLocationService.addStorageLocation(storageLocation));
|
||||
}
|
||||
}else{
|
||||
return error("当前库位或被其他人领用,请刷新重试!");
|
||||
return error("当前库位可能已被领用,请刷新重试!");
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -227,7 +227,7 @@ public class storageLocationController extends BaseController
|
|||
//查询已录入库位信息
|
||||
StorageSelected storageSelected = storageLocationService.hasStorageLocation(materialBh);
|
||||
if (StringUtils.isNotNull(kw_user2_name)&&storageSelected!=null) {//已选择领用,有选择领用记录
|
||||
return error("当前库位已被其他人选择领用中,领用人账号:" + kw_user2_name + ",请先删除领用记录,再继续操作!");
|
||||
return error("当前库位已被选择领用中,领用人账号:" + kw_user2_name + ",请先删除领用记录,再继续操作!");
|
||||
} else {
|
||||
//查询已录入库位信息
|
||||
StorageLocation sl = storageLocationService.selectYlrStorageLocation(materialBh);
|
||||
|
@ -235,7 +235,7 @@ public class storageLocationController extends BaseController
|
|||
}
|
||||
}
|
||||
}else{
|
||||
return error("当前库位或被其他人领用,请刷新重试!");
|
||||
return error("当前库位可能已被领用,请刷新重试!");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue