|
|
@@ -14,6 +14,7 @@ import com.tuoheng.admin.mapper.CameraMapper; |
|
|
|
import com.tuoheng.admin.mapper.ThMissionMapper; |
|
|
|
import com.tuoheng.common.utils.JsonResult; |
|
|
|
import com.tuoheng.system.entity.User; |
|
|
|
import com.tuoheng.system.utils.ShiroUtils; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
@@ -37,12 +38,9 @@ public class QueryEmergencyListService { |
|
|
|
|
|
|
|
public JsonResult getList(QueryEmergencyListRequest request) { |
|
|
|
// log.info("进入查询应急任务列表业务"); |
|
|
|
// User user = ShiroUtils.getUserInfo(); |
|
|
|
// Integer tenantId = user.getTenantId(); |
|
|
|
|
|
|
|
throw new ServiceException( |
|
|
|
User user = ShiroUtils.getUserInfo(); |
|
|
|
Integer tenantId = user.getTenantId(); |
|
|
|
request.setTenantId(tenantId); |
|
|
|
|
|
|
|
JsonResult result = this.check(tenantId, request); |
|
|
|
if (0 != result.getCode()) { |
|
|
|
log.info("进入查询应急任务列表业务:校验失败:{}", result.getMsg()); |