初次提交
This commit is contained in:
parent
203139a7eb
commit
8a67a6366e
|
@ -22,6 +22,7 @@ import com.hivekion.thread.SpringGlobalTaskManager;
|
|||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.List;
|
||||
import javax.annotation.Resource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
@ -34,6 +35,7 @@ import org.springframework.stereotype.Service;
|
|||
* @since 2025-09-13
|
||||
*/
|
||||
@Service
|
||||
@Slf4j
|
||||
public class ScenarioTaskServiceImpl extends
|
||||
ServiceImpl<ScenarioTaskMapper, ScenarioTask> implements
|
||||
ScenarioTaskService {
|
||||
|
@ -54,6 +56,7 @@ public class ScenarioTaskServiceImpl extends
|
|||
|
||||
@Override
|
||||
public void start(Integer id, String roomId) {
|
||||
log.info("id::{},roomId::{}",id,roomId);
|
||||
Scenario currentScenario = scenarioService.getScenarioById(id);
|
||||
//想定当前持续时间
|
||||
redisUtil.hset(roomId + "_" + id, "duringTime", "0");
|
||||
|
|
Loading…
Reference in New Issue
Block a user