|
@@ -2,14 +2,12 @@ package com.sooka.sponest.data.digitalemergency.service.impl;
|
|
|
|
|
|
import com.ruoyi.common.datascope.annotation.DataScopeMutiDept;
|
|
|
import com.ruoyi.common.security.utils.SecurityUtils;
|
|
|
-import com.sooka.sponest.data.app.domain.VisuForestCloudMapVO;
|
|
|
import com.sooka.sponest.data.base.service.impl.BaseServiceImpl;
|
|
|
import com.sooka.sponest.data.digitalemergency.domain.CenterdataTEmergencyMaterial;
|
|
|
import com.sooka.sponest.data.digitalemergency.domain.CenterdataTEmergencyTeam;
|
|
|
import com.sooka.sponest.data.digitalemergency.domain.vo.*;
|
|
|
import com.sooka.sponest.data.digitalemergency.mapper.EmergencyBigDataMapper;
|
|
|
import com.sooka.sponest.data.digitalemergency.service.IEmergencyBigDataService;
|
|
|
-import com.sooka.sponest.data.digitalfirecontrol.mapper.FireControlBigDataMapper;
|
|
|
import com.sooka.sponest.data.other.person.domain.CenterdataTEmergencyPerson;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -29,8 +27,6 @@ import java.util.Map;
|
|
|
public class EmergencyBigDataServiceImpl extends BaseServiceImpl implements IEmergencyBigDataService{
|
|
|
@Autowired
|
|
|
private EmergencyBigDataMapper emergencyBigDataMapper;
|
|
|
- @Autowired
|
|
|
- private FireControlBigDataMapper fireControlBigDataMapper;
|
|
|
|
|
|
/**
|
|
|
* 获取行业高危企业
|
|
@@ -39,7 +35,7 @@ public class EmergencyBigDataServiceImpl extends BaseServiceImpl implements IEme
|
|
|
*/
|
|
|
@DataScopeMutiDept(deptAlias = "z")
|
|
|
@Override
|
|
|
- public List selectIndustryHighList(TBasicEnterindesmapCount tBasicEnterindesmapCount) {
|
|
|
+ public List<Map<String, Object>> selectIndustryHighList(TBasicEnterindesmapCount tBasicEnterindesmapCount) {
|
|
|
setSookaDataBase(tBasicEnterindesmapCount);
|
|
|
return emergencyBigDataMapper.selectIndustryHighList(tBasicEnterindesmapCount);
|
|
|
}
|
|
@@ -53,7 +49,7 @@ public class EmergencyBigDataServiceImpl extends BaseServiceImpl implements IEme
|
|
|
* @author phy
|
|
|
*/
|
|
|
@Override
|
|
|
- public List selectPersonnelList() {
|
|
|
+ public List<Map<String, Object>> selectPersonnelList() {
|
|
|
CenterdataTEmergencyPerson centerdataTEmergencyPerson=new CenterdataTEmergencyPerson();
|
|
|
setSookaDataBase(centerdataTEmergencyPerson);
|
|
|
return emergencyBigDataMapper.selectPersonnelList(centerdataTEmergencyPerson);
|
|
@@ -69,13 +65,9 @@ public class EmergencyBigDataServiceImpl extends BaseServiceImpl implements IEme
|
|
|
*/
|
|
|
@Override
|
|
|
@DataScopeMutiDept(deptAlias = "d")
|
|
|
- public List getEmergencyResourceCount(VisuEmergencyCenterDataVO vo) {
|
|
|
+ public List<Map<String, Object>> getEmergencyResourceCount(VisuEmergencyCenterDataVO vo) {
|
|
|
setSookaDataBase(vo);
|
|
|
- VisuForestCloudMapVO visuForestCloudMapVO = new VisuForestCloudMapVO();
|
|
|
- setSookaDataBase(visuForestCloudMapVO);
|
|
|
- List list = emergencyBigDataMapper.getEmergencyResourceCount(vo);
|
|
|
- list.addAll(fireControlBigDataMapper.geFireControltTotal(visuForestCloudMapVO));
|
|
|
- return list;
|
|
|
+ return emergencyBigDataMapper.getEmergencyResourceCount(vo);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -87,7 +79,7 @@ public class EmergencyBigDataServiceImpl extends BaseServiceImpl implements IEme
|
|
|
* @author phy
|
|
|
*/
|
|
|
@Override
|
|
|
- public List selectCategoryClassificationList() {
|
|
|
+ public List<Map<String, Object>> selectCategoryClassificationList() {
|
|
|
CenterdataTEmergencyMaterial centerdataTEmergencyMaterial = new CenterdataTEmergencyMaterial();
|
|
|
setSookaDataBase(centerdataTEmergencyMaterial);
|
|
|
return emergencyBigDataMapper.selectCategoryClassificationList(centerdataTEmergencyMaterial);
|
|
@@ -100,7 +92,7 @@ public class EmergencyBigDataServiceImpl extends BaseServiceImpl implements IEme
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
- public List selectHightEnterpriseDistributionList(CenterdataTEmergencyEnterpriseMessageBody centerdataTEmergencyEnterpriseMessageBody) {
|
|
|
+ public List<Map<String, Object>> selectHightEnterpriseDistributionList(CenterdataTEmergencyEnterpriseMessageBody centerdataTEmergencyEnterpriseMessageBody) {
|
|
|
centerdataTEmergencyEnterpriseMessageBody.setId(SecurityUtils.getUserId().toString());
|
|
|
setSookaDataBase(centerdataTEmergencyEnterpriseMessageBody);
|
|
|
return emergencyBigDataMapper.selectHightEnterpriseDistributionList(centerdataTEmergencyEnterpriseMessageBody);
|
|
@@ -113,7 +105,7 @@ public class EmergencyBigDataServiceImpl extends BaseServiceImpl implements IEme
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
- public List selectEnterpriseDistributionList(CenterdataTEmergencyEnterpriseMessageBody centerdataTEmergencyEnterpriseMessageBody) {
|
|
|
+ public List<Map<String, Object>> selectEnterpriseDistributionList(CenterdataTEmergencyEnterpriseMessageBody centerdataTEmergencyEnterpriseMessageBody) {
|
|
|
centerdataTEmergencyEnterpriseMessageBody.setId(SecurityUtils.getUserId().toString());
|
|
|
setSookaDataBase(centerdataTEmergencyEnterpriseMessageBody);
|
|
|
return emergencyBigDataMapper.selectEnterpriseDistributionList(centerdataTEmergencyEnterpriseMessageBody);
|