@@ -13,6 +13,7 @@ import com.tuoheng.admin.enums.MarkEnum; | |||
import com.tuoheng.admin.mapper.AccidentMapper; | |||
import com.tuoheng.admin.mapper.DeptMapper; | |||
import com.tuoheng.admin.request.accident.QueryAccidentPageListRequest; | |||
import com.tuoheng.admin.utils.CurrentUserUtil; | |||
import com.tuoheng.admin.vo.accident.AccidentVo; | |||
import com.tuoheng.common.core.exception.ServiceException; | |||
import com.tuoheng.common.core.utils.JsonResult; | |||
@@ -42,10 +43,7 @@ public class QueryAccidentByIdService { | |||
public JsonResult getInfoById(String id) { | |||
// log.info("进入根据ID查询事件业务"); | |||
// String tenantId = CurrentUserUtil.getTenantId(); | |||
String tenantId = "1"; | |||
String tenantId = CurrentUserUtil.getTenantId(); | |||
JsonResult result = this.check(tenantId, id); | |||
if (0 != result.getCode()) { | |||
log.info("进入根据ID查询事件业务:校验失败:{}", result.getMsg()); |
@@ -57,10 +57,7 @@ public class QueryAccidentPageListService { | |||
public JsonResult getPageList(QueryAccidentPageListRequest request) { | |||
// log.info("进入查询事件分页列表业务"); | |||
// String tenantId = CurrentUserUtil.getTenantId(); | |||
String tenantId = "1"; | |||
String tenantId = CurrentUserUtil.getTenantId(); | |||
request.setTenantId(tenantId); | |||
JsonResult result = this.check(tenantId, request); |
@@ -142,6 +142,7 @@ public class DspCallbackServiceImpl implements IDspCallbackService { | |||
List<QuestionFile> questionFiles = dspCallbackRequest.getQuestionFiles(); | |||
if (!CollectionUtils.isEmpty(questionFiles)) { | |||
log.info("问题图片处理开始, 图片数量:{}", questionFiles.size()); | |||
log.info("问题图片处理开始, isLive:{}", inspection.getIsLive()); | |||
// 坐标 | |||
boolean online_condition = AiAnalyseTypeEnum.ONLINE.getCode() == inspection.getIsLive(); | |||
boolean offline_condition = AiAnalyseTypeEnum.OFFLINE.getCode() == inspection.getIsLive(); |