|
@@ -386,11 +386,13 @@ public class PlatGreenSmartServiceImpl extends ServiceImpl<PlatGreenSmartMapper,
|
|
|
for (PlatGreenSmart it : smartInfo){
|
|
|
Map<String, Object> tempMap = new HashMap<>();
|
|
|
if (StringUtils.isNull(it)) {
|
|
|
- StringUtils.getMapData("厨师人数", "chefs", 0, tempMap);
|
|
|
- StringUtils.getMapData("服务人员", "service", 0, tempMap);
|
|
|
+ tempMap.put("canteenName", "");
|
|
|
+ tempMap.put("service", 0);
|
|
|
+ tempMap.put("chefs", 0);
|
|
|
}else{
|
|
|
- StringUtils.getMapData("厨师人数", "chefs", it.getChefsNum(), tempMap);
|
|
|
- StringUtils.getMapData("服务人员", "service", it.getServiceNum(), tempMap);
|
|
|
+ tempMap.put("canteenName", it.getCanteenNum());
|
|
|
+ tempMap.put("service", it.getServiceNum());
|
|
|
+ tempMap.put("chefs", it.getChefsNum());
|
|
|
}
|
|
|
list.add(tempMap);
|
|
|
}
|