商品信息(检测类型)显示不正确,应为(年审、非定检、定检、其他等)

This commit is contained in:
xiaofajia 2024-12-09 11:17:17 +08:00
parent 21e8ccab35
commit bb58e9a074

View File

@ -1458,6 +1458,7 @@ public class AppInspectionPartnerServiceImpl extends ServiceImpl<AppInspectionPa
public InspectionInfoVo inspectionDetail(Long inspectionInfoId) {
InspectionInfo info = inspectionInfoService.getById(inspectionInfoId);
OrderInfo order = orderService.getById(info.getInspectionOrderId());
InspectionGoodsSku sku = skuService.getById(order.getSkuId());
AdminUserDO buyUser = userService.getUser(info.getUserId());
AdminUserDO worker = userService.getUser(info.getWorkId());
InspectionInfoVo res =new InspectionInfoVo();
@ -1485,7 +1486,7 @@ public class AppInspectionPartnerServiceImpl extends ServiceImpl<AppInspectionPa
res.setStatus(info.getStatus());
res.setGoodsId(order.getGoodsId());
res.setGoodsPrice(order.getGoodsPrice());
res.setGoodsName(order.getGoodsTitle());
res.setGoodsName(sku.getSkuName());
res.setIsOnline(order.getIsOnline());
res.setIsRetrial(info.getIsRetrial());
res.setIsPass(info.getIsPass());