|
@@ -82,6 +82,8 @@ public class UserOpenController {
|
|
|
model.put("user", userOpen);
|
|
|
model.put("user_id", "\"" + userOpen.getUserId() + "\"");
|
|
|
List<Uptown> uptowns = rbMapper.selectUptown(userId);
|
|
|
+ // 新冠疫苗接种情况
|
|
|
+ model.put("vaccine", vaccineMapper.selectByUserId(userId));
|
|
|
if (uptowns != null && uptowns.size() > 0) {
|
|
|
Long uptown_id = uptowns.get(0).getUptownId();
|
|
|
String uptown_name = uptowns.get(0).getUptownName();
|
|
@@ -102,9 +104,6 @@ public class UserOpenController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // 新冠疫苗接种情况
|
|
|
- model.put("vaccine", vaccineMapper.selectByUserId(userId));
|
|
|
-
|
|
|
if (list.size() == 0) {
|
|
|
return new ModelAndView("/user/home.ftl", model);
|
|
|
}
|