IntelligentRecognition/ah-jjsp-service/.svn/pristine/4f/4f4b3052976021f043d6977d77a...

161 lines
4.6 KiB
Plaintext

package com.sercurityControl.proteam.dutyTask.service;
import com.github.pagehelper.PageInfo;
import com.sercurityControl.proteam.dutyTask.domain.ExportProData;
import com.sercurityControl.proteam.dutyTask.domain.ProEditHistoryVo;
import com.sercurityControl.proteam.dutyTask.domain.ProInfoEntity;
import java.util.List;
import java.util.Map;
public interface ProInfoMgeService {
/**
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>>
* @author cw chen
* @description 获取工程状态数量
* @Param
* @date 2023-05-24 10:22
*/
Map<String, Object> getProStatusListNum(ProInfoEntity entity);
/**
* @return java.util.Map<java.lang.String, java.lang.Object>
* @author cw chen
* @description 根据选中的工程状态,年份获取地市工程数量
* @Param entity
* @date 2023-05-24 14:33
*/
Map<String, Object> getOrgProNum(ProInfoEntity entity) throws Exception;
/**
* @return java.util.Map<java.lang.String, java.lang.Object>
* @author cw chen
* @description 工程总览-详情数据
* @Param entity
* @date 2023-05-24 15:30
*/
Map<String, Object> getProOverViewData(ProInfoEntity entity);
/**
* @return void
* @author cw chen
* @description 导入工程数据
* @Param list
* @date 2023-05-25 13:59
*/
void addProInfoData(List<ProInfoEntity> list);
/**
* @return com.github.pagehelper.PageInfo<com.sercurityControl.proteam.dutyTask.domain.ProInfoEntity>
* @author cw chen
* @description 工程管理-工程信息列表数据
* @Param entity
* @date 2023-05-25 15:19
*/
PageInfo<ProInfoEntity> getProInfoList(ProInfoEntity entity) throws Exception;
/**
* @return void
* @author cw chen
* @description 更新工程数据
* @Param entity
* @date 2023-05-25 17:54
*/
void editProInfoData(ProInfoEntity entity);
/**
* @return java.util.Map<java.lang.String, java.lang.Object>
* @author cw chen
* @description 监理单位、施工单位承包工程数
* @Param entity
* @date 2023-05-26 11:48
*/
Map<String, Object> getProByUnit(ProInfoEntity entity);
/**
* @return java.util.Map<java.lang.String, java.lang.Object>
* @author cw chen
* @description 根据选中的地市,获取输变电工程
* @Param entity
* @date 2023-07-04 16:24
*/
Map<String, Object> getProNumByOrg(ProInfoEntity entity);
/**
* @return void
* @author cw chen
* @description 新增/修改 输变电工程
* @Param entity
* @date 2023-07-05 14:50
*/
void addOrUpdatePowerProData(ProInfoEntity entity);
/**
* @return int
* @author cw chen
* @description 验证某字段是否存在
* @Param param
* @date 2023-07-05 14:50
*/
int isRepeat(String id, String param, String value, String type);
/**
* @return void
* @author cw chen
* @description 新增单项工程
* @Param entity
* @date 2023-07-05 19:55
*/
void addOrUpdateProData(ProInfoEntity entity);
/**
* @return com.sercurityControl.proteam.dutyTask.domain.ProInfoEntity
* @author cw chen
* @description 根据id获取输变电工程详情
* @Param entity
* @date 2023-07-10 16:08
*/
ProInfoEntity getPowerProInfoDataById(ProInfoEntity entity);
/**
* @return java.util.List<com.sercurityControl.proteam.dutyTask.domain.ProInfoEntity>
* @author cw chen
* @description 获取输变电工程
* @Param entity
* @date 2023-07-20 15:52
*/
List<ProInfoEntity> getPowerProData(ProInfoEntity entity);
/**
* @return java.util.List<com.sercurityControl.proteam.dutyTask.domain.ExportProData>
* @author cw chen
* @description 输变电工程列表
* @Param entity
* @date 2023-07-20 17:18
*/
List<ExportProData> getPowerProList(ProInfoEntity entity);
/**
* @return java.util.List<com.sercurityControl.proteam.dutyTask.domain.ExportProData>
* @author cw chen
* @description 根据输变电工程列表获取单项工程
* @Param entity
* @date 2023-07-20 17:18
*/
List<ExportProData> getProListById(ProInfoEntity entity);
int getChiderNum(ProInfoEntity entity);
int delPower(ProInfoEntity entity);
/**
* @param entity
* @return PageInfo<ProEditHistoryVo>
* @description 工程维护-工程修改历史记录
* @author cwchen
* @date 2023/12/4 9:46
*/
PageInfo<ProEditHistoryVo> getProEditHistoryList(ProInfoEntity entity);
}