更新
This commit is contained in:
parent
36f5cbea24
commit
71a9156430
@ -1552,6 +1552,16 @@ public class AppInspectionPartnerServiceImpl extends ServiceImpl<AppInspectionPa
|
||||
} else {
|
||||
res.setLeadManName("");
|
||||
}
|
||||
/*根据工单表中的meetManId查询对应的 MeetMan*/
|
||||
if (ObjectUtil.isNotNull(info.getMeetManId())) {
|
||||
AdminUserDO meetMan = adminUserService.getById(info.getMeetManId());
|
||||
if (ObjectUtil.isNotNull(meetMan)) {
|
||||
res.setMeetManName(meetMan.getNickname());
|
||||
res.setMeetManId(info.getMeetManId());
|
||||
}
|
||||
} else {
|
||||
res.setMeetManName("");
|
||||
}
|
||||
res.setBuyUserName(Optional.ofNullable(buyUser.getNickname()).orElse(""));
|
||||
res.setBuyUserPhone(buyUser.getMobile());
|
||||
res.setCarNum(info.getCarNum());
|
||||
|
@ -92,4 +92,9 @@ public class InspectionInfoVo {
|
||||
private Long leadManId;
|
||||
@TableField(exist = false)
|
||||
private String skuName;
|
||||
/** 接车员id*/
|
||||
private Long meetManId;
|
||||
private String meetManName;
|
||||
/** 是否接车*/
|
||||
private String isMeetCar;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user