Compare commits

...

2 Commits

Author SHA1 Message Date
8cc065e598 Merge pull request '添加预约信息' (#52) from sjy-two into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #52
2024-10-18 09:33:42 +08:00
3bc97951e5 添加预约信息 2024-10-18 09:30:19 +08:00
2 changed files with 17 additions and 7 deletions

View File

@ -53,18 +53,26 @@ public class LitemallReservationRespVO {
@DictFormat("status") // TODO 代码优化建议设置到对应的 DictTypeConstants 枚举类中
private Integer status;
@Schema(description = "备注", example = "随便")
@ExcelProperty("备注")
private String remark;
private String technicianName;
@Schema(description = "创建时间")
@ExcelProperty("创建时间")
private LocalDateTime createTime;
@ExcelProperty("用户名称")
private String nickname;
@ExcelProperty("门店")
private String brandName;
@ExcelProperty("用户名称")
private String nickname;
//电话
private String memberphone;
//门店地址
private String brandaddress;
@Schema(description = "备注", example = "随便")
@ExcelProperty("备注")
private String remark;
}

View File

@ -111,12 +111,14 @@ public class LitemallReservationServiceImpl implements LitemallReservationServic
LitemallBrandDO litemallBrandDO = litemallBrandMapper.selectOne("id", litemallReservationDO.getBrandId());
litemallReservationDO.setBrandName(litemallBrandDO.getName());
litemallReservationDO.setBrandaddress(litemallBrandDO.getAddress());
LitemallTechnicianDO litemallTechnicianDO = litemallTechnicianMapper.selectOne("id", litemallReservationDO.getTechnicianId());
litemallReservationDO.setTechnicianName(litemallTechnicianDO.getTechnicianName());
MemberUserDO memberUserDO = memberUserMapper.selectOne("id", litemallReservationDO.getUserId());
litemallReservationDO.setNickname(memberUserDO.getName());
litemallReservationDO.setNickname(memberUserDO.getNickname());
litemallReservationDO.setMemberphone(memberUserDO.getMobile());
}
return litemallReservationDOPageResult;