|
|
|
@ -227,8 +227,8 @@ public class IoCheckInoutService {
|
|
|
|
|
orderDetailResultEntity.setCount(orderDetailCodeEntity.getReCount());
|
|
|
|
|
orderDetailResultEntity.setReCount(orderDetailCodeEntity.getReCount());
|
|
|
|
|
orderDetailResultEntity.setId(null);
|
|
|
|
|
UdiProductEntity product = udiProductService.findProductByNameCode(orderDetailCodeEntity.getNameCode());
|
|
|
|
|
if (product.getProductsType() == 2){
|
|
|
|
|
UdiProductEntity product = udiProductService.findProductByNameCode(orderDetailCodeEntity.getNameCode());
|
|
|
|
|
if (product.getProductsType() == 2) {
|
|
|
|
|
//药品 拿到药品赋值
|
|
|
|
|
orderDetailResultEntity.setSpec(product.getBzgg());
|
|
|
|
|
}
|
|
|
|
@ -288,8 +288,8 @@ public class IoCheckInoutService {
|
|
|
|
|
orderDetailResultEntity.setCount(orderDetailCodeEntity.getReCount());
|
|
|
|
|
orderDetailResultEntity.setReCount(orderDetailCodeEntity.getReCount());
|
|
|
|
|
orderDetailResultEntity.setId(null);
|
|
|
|
|
UdiProductEntity product = udiProductService.findProductByNameCode(orderDetailCodeEntity.getNameCode());
|
|
|
|
|
if (product.getProductsType() == 2){
|
|
|
|
|
UdiProductEntity product = udiProductService.findProductByNameCode(orderDetailCodeEntity.getNameCode());
|
|
|
|
|
if (product.getProductsType() == 2) {
|
|
|
|
|
//药品 拿到药品赋值
|
|
|
|
|
orderDetailResultEntity.setSpec(product.getBzgg());
|
|
|
|
|
}
|
|
|
|
@ -344,7 +344,7 @@ public class IoCheckInoutService {
|
|
|
|
|
isTrue = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (isTrue) {
|
|
|
|
|
if (isTrue && codeLostEntity.getId() != null) {
|
|
|
|
|
codeLostEntity.setCreateTime(new Date());
|
|
|
|
|
codeLostService.insertOrUpdate(codeLostEntity);
|
|
|
|
|
}
|
|
|
|
@ -566,8 +566,8 @@ public class IoCheckInoutService {
|
|
|
|
|
orderDetailResultEntity.setCount(orderDetailCodeEntity.getReCount());
|
|
|
|
|
orderDetailResultEntity.setReCount(orderDetailCodeEntity.getReCount());
|
|
|
|
|
orderDetailResultEntity.setId(null);
|
|
|
|
|
UdiProductEntity product = udiProductService.findProductByNameCode(orderDetailCodeEntity.getNameCode());
|
|
|
|
|
if (product.getProductsType() == 2){
|
|
|
|
|
UdiProductEntity product = udiProductService.findProductByNameCode(orderDetailCodeEntity.getNameCode());
|
|
|
|
|
if (product.getProductsType() == 2) {
|
|
|
|
|
//药品 拿到药品赋值
|
|
|
|
|
orderDetailResultEntity.setSpec(product.getBzgg());
|
|
|
|
|
}
|
|
|
|
@ -701,8 +701,8 @@ public class IoCheckInoutService {
|
|
|
|
|
BeanUtils.copyProperties(orderDetailBizEntity, orderDetailResultEntity);
|
|
|
|
|
orderDetailResultEntity.setId(null);
|
|
|
|
|
orderDetailResultEntity.setReCount(orderDetailBizEntity.getScanCount());
|
|
|
|
|
UdiProductEntity product = udiProductService.findProductByNameCode(orderDetailBizEntity.getNameCode());
|
|
|
|
|
if (product.getProductsType() == 2){
|
|
|
|
|
UdiProductEntity product = udiProductService.findProductByNameCode(orderDetailBizEntity.getNameCode());
|
|
|
|
|
if (product.getProductsType() == 2) {
|
|
|
|
|
//药品 拿到药品赋值
|
|
|
|
|
orderDetailResultEntity.setSpec(product.getBzgg());
|
|
|
|
|
}
|
|
|
|
|