|
@@ -28,7 +28,7 @@ import org.springframework.stereotype.Service;
|
|
|
import com.ruoyi.system.mapper.BomanReservatMapper;
|
|
|
import com.ruoyi.system.domain.BomanReservat;
|
|
|
import com.ruoyi.system.service.IBomanReservatService;
|
|
|
-import sun.misc.BASE64Encoder;
|
|
|
+
|
|
|
|
|
|
import static com.ruoyi.common.constant.Constants.RESERVAT_PERSONNEL_NUM;
|
|
|
|
|
@@ -370,7 +370,13 @@ public class BomanReservatServiceImpl implements IBomanReservatService {
|
|
|
map.put("monthYy" , monthYy);
|
|
|
map.put("todayYy" , todayYy);
|
|
|
//todo 今日参观人数
|
|
|
- map.put("todayVisit" , 10);
|
|
|
+
|
|
|
+ String configKey = "lyssllsj";
|
|
|
+ String configValue = Convert.toStr(redisCache.getCacheObject(configKey));
|
|
|
+ if(StringUtils.isEmpty(configValue) || "0".equals(configValue)){
|
|
|
+ configValue = "0";
|
|
|
+ }
|
|
|
+ map.put("todayVisit" , configValue);
|
|
|
|
|
|
Map<String, Object> sevenMap = new HashMap<>();
|
|
|
//获取近7天的数组
|