Skip to content

Commit

Permalink
修改了一些小Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lhsjohn committed Jul 6, 2018
1 parent 285e2aa commit 73f6515
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public String processLandlordRegsiter(@Validated Landlord landlord,Errors errors
}else {
landlord=landlordService.findLandlordByUserName(landlord.getLandlordUsername());
model.addFlashAttribute("landlordInfo",landlord);

session.setAttribute("landlordInfo", landlord);
return "redirect:/landlord-dashboard";
//return "landlord-dashboard";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ public class MeetingServiceImpl implements MeetingService {
public int insertMeetingInfo(Student student, Landlord landlord, House house) {
Meeting meeting=new Meeting();
meeting.setMeetHouseHostname(landlord.getLandlordName());
meeting.setMeetHousePrice(house.getHouseCost());
meeting.setMeetHouseType(house.getHouseType());
meeting.setMeetHousePrice(house.getHouseCost());
meeting.setMeetStuName(student.getStuUsername());
meeting.setMeetPlace("会面点1");
meeting.setMeetPlace("会面点1111");
meeting.setMeetLandlordId(landlord.getLandlordId());
meeting.setMeetTime(new Date().toString());
String meetId=UUID.randomUUID().toString().replace("-", "");
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 73f6515

Please sign in to comment.