|
@@ -179,7 +179,7 @@ public class UserOpenController {
|
|
model.put("uptownId", uptown_id);
|
|
model.put("uptownId", uptown_id);
|
|
model.put("uptown_name", uptown_name);
|
|
model.put("uptown_name", uptown_name);
|
|
// 凌云集团的可以更改unit
|
|
// 凌云集团的可以更改unit
|
|
- if (uptown_id == 1238790987234L) {
|
|
|
|
|
|
+ if (uptown_id == 1238790987234L || uptown_id == 5L) {
|
|
UptownUnit unit = uptownUnitMapper.getUptownUnitByUser(userId);
|
|
UptownUnit unit = uptownUnitMapper.getUptownUnitByUser(userId);
|
|
model.put("ridgepole", unit.getRidgepole());
|
|
model.put("ridgepole", unit.getRidgepole());
|
|
model.put("unit", unit.getUnit());
|
|
model.put("unit", unit.getUnit());
|
|
@@ -227,7 +227,8 @@ public class UserOpenController {
|
|
*/
|
|
*/
|
|
@GetMapping("/home/getUptownUnitLY.json")
|
|
@GetMapping("/home/getUptownUnitLY.json")
|
|
public List<UptownUnit> getUptownUnitLY(HttpServletRequest request) {
|
|
public List<UptownUnit> getUptownUnitLY(HttpServletRequest request) {
|
|
- return uptownUnitMapper.getUptownUnitLY();
|
|
|
|
|
|
+ Long uptownId = Long.parseLong(request.getParameter("uptownId"));
|
|
|
|
+ return uptownUnitMapper.getUptownUnitLY(uptownId);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|