|
|
|
@ -248,8 +248,8 @@ public class StockOrderDetailController {
|
|
|
|
|
|
|
|
|
|
List<StockOrderDetailEntity> stockOrderDetailEntityList = new ArrayList<>();
|
|
|
|
|
List<StockOrderDetailEntity> originDatas = stockOrderIdsRequest.getStockOrderLists();
|
|
|
|
|
if(stockOrderIdsRequest.getDatas()== null && stockOrderIdsRequest.getDatas().size()<1){
|
|
|
|
|
return ResultVOUtils.error(500,"未选择产品!");
|
|
|
|
|
if (stockOrderIdsRequest.getDatas() == null && stockOrderIdsRequest.getDatas().size() < 1) {
|
|
|
|
|
return ResultVOUtils.error(500, "未选择产品!");
|
|
|
|
|
}
|
|
|
|
|
for (StockSelectDataEntity stockSelectDataEntity : stockOrderIdsRequest.getDatas()) {
|
|
|
|
|
CompanyProductRelevanceRequest companyProductRelevanceRequest = new CompanyProductRelevanceRequest();
|
|
|
|
@ -554,4 +554,19 @@ public class StockOrderDetailController {
|
|
|
|
|
AuthAdmin authAdmin = authAdminService.findById(Long.parseLong(userId));
|
|
|
|
|
return authAdmin.getCustomerId() + "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 更新单据详情信息
|
|
|
|
|
*
|
|
|
|
|
* @param stockOrderDetailEntities
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@PostMapping("/udiwms/stock/order/detail/update")
|
|
|
|
|
public BaseResponse updateStockOrderDetail(StockOrderDetailEntity stockOrderDetailEntity) {
|
|
|
|
|
if (null != stockOrderDetailEntity)
|
|
|
|
|
stockOrderDetailService.updateById(stockOrderDetailEntity);
|
|
|
|
|
return ResultVOUtils.success("更新成功");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|