| | |
| | | TLineUp lineUp = tLineUpService.getOne(Wrappers.lambdaQuery(TLineUp.class) |
| | | .eq(TLineUp::getUserId, userId) |
| | | .eq(TLineUp::getStoreId, storeId) |
| | | .likeRight(TLineUp::getCreateTime, LocalDate.now()) |
| | | .eq(TLineUp::getStatus, 1) |
| | | .orderByDesc(TLineUp::getCreateTime) |
| | | .last("LIMIT 1")); |
| | | TLineUpVO tLineUpVO = new TLineUpVO(); |
| | | BeanUtils.copyProperties(lineUp, tLineUpVO); |
| | |
| | | BeanUtils.copyProperties(byId,res); |
| | | res.setOrderId(byId1.getId()); |
| | | if (byId1.getUserId()!=null){ |
| | | TAppUser byId4 = appUserService.getById(byId1); |
| | | TAppUser byId4 = appUserService.getById(byId1.getUserId()); |
| | | if (byId4!=null){ |
| | | res.setPhone(byId4.getPhone()); |
| | | res.setName(byId4.getName()); |