2/20 优化1.0

dev_drug
wangwei 1 month ago
parent eb64e95639
commit 0fbff17bd1

@ -231,6 +231,9 @@ public class IoOrderDetailBizEntity {
@TableField(exist = false)
private String bzgg;
@TableField(exist = false)
private String prepnSpec;
/**
*
*/

@ -229,8 +229,9 @@ public class IoOrderDetailBizServiceImpl implements IoOrderDetailBizService {
for (IoOrderDetailBizEntity orderDetailBizEntity : orderDetailBizEntities) {
if (orderDetailBizEntity.getBzgg() == null) {
UdiProductEntity product = udiProductService.findByNameCode(orderDetailBizEntity.getNameCode());
if (product.getBzgg() != null && product.getProductsType() == 2) {
if ( product.getProductsType() == 2) {
orderDetailBizEntity.setBzgg(product.getBzgg());
orderDetailBizEntity.setPrepnSpec(product.getPrepnSpec());
}
}
}

Loading…
Cancel
Save