package cn.com.goldenwater.dcproj.dao; import cn.com.goldenwater.dcproj.dto.*; import cn.com.goldenwater.dcproj.model.*; import cn.com.goldenwater.dcproj.param.InGroupResParam; import cn.com.goldenwater.dcproj.param.InspObjParam; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; /** * Created by 61618 on 2019/4/17. */ @Repository public interface SupervisionPlanDao { List getNodeByPersid(@Param("persid") String persid, @Param("ptype") String ptype, @Param("orgId") String orgId, @Param("province") String province); List getAllInfoByPersidAndOrgId(@Param("persid") String persid, @Param("inspYear") String inspYear, @Param("inspMnth") String inspMnth, @Param("orgIdStr") String orgIdStr, @Param("orgId") String orgId, @Param("province") String province, @Param("yearPlanId") String yearPlanId); List getPersAllDtoList(@Param("id") String id, @Param("orgId") String orgId, @Param("province") String province); List getPersAllObjDtoList(@Param("id") String id, @Param("orgId") String orgId, @Param("province") String province); List getPersAllAreaDtoList(@Param("id") String id, @Param("orgId") String orgId, @Param("province") String province); List getNode(@Param("id") String id, @Param("orgId") String orgId, @Param("province") String province); AllNodeDto getNodeById(@Param("id") String id); List getSupResByGroup(InGroupResParam inGroupResParam); List getSupRivListNotInspGroupId(@Param("inspGroupId") String inspGroupId, @Param("objType") String objType, @Param("rsName") String rsName, @Param("engScal") String engScal, @Param("rsAdmDep") String rsAdmDep, @Param("adCode") String adCode); List getSupCwsListNotInspGroupId(InspObjParam inspObjParam); List getSupWtdListNotInspGroupId(@Param("inspGroupId") String inspGroupId, @Param("province") String province, @Param("objType") String objType, @Param("wtdstType") String wtdstType, @Param("wtdstNm") String wtdstNm, @Param("wtdstState") String wtdstState, @Param("adCode") String adCode, @Param("nm") String nm, @Param("orderBy") String orderBy, @Param("year") String year, @Param("prjState") String prjState); void insertPers(@Param("id") String id, @Param("guid") String guid, @Param("persType") String persType, @Param("orgId") String orgId, @Param("adCode") String province, @Param("type") String type); LgtdAndLttd getLgtdAndLttd(@Param("code") String code, @Param("type") String type); void insertSupArea(@Param("uuid") String uuid, @Param("id") String id, @Param("adCode") String adCode, @Param("adName") String adName, @Param("orgId") String orgId, @Param("province") String province); ObjIdDto getPers(@Param("id") String id, @Param("guid") String guid); int updatePersType(@Param("id") String id, @Param("guid") String guid, @Param("persType") String persType); List getPersType(@Param("persid") String persid, @Param("orgId") String orgId, @Param("province") String province); void updateTeamLeader(@Param("id") String id); void updateGroupNm(@Param("id") String id, @Param("nm") String nm); List getPersTypeByPersid(@Param("persid") String persid, @Param("orgId") String orgId, @Param("province") String province); List getPersTypeByPersidOrg(@Param("persid") String persid, @Param("province") String province); List getSupEmpListNotInspGroupId(@Param("inspGroupId") String inspGroupId, @Param("objType") String objType, @Param("nm") String nm, @Param("adCode") String adCode, @Param("engSta") String engSta, @Param("orderBy") String orderBy, @Param("orgId") String orgId, @Param("province") String province); List getSupGrwListNotInspGroupId(@Param("inspGroupId") String inspGroupId, @Param("objType") String objType, @Param("nm") String nm, @Param("adCode") String adCode, @Param("orderBy") String orderBy, @Param("sttp") String sttp, @Param("gateType") String gateType, @Param("orgId") String orgId, @Param("province") String province); List getSupWagaListNotInspGroupId(InspObjParam inspObjParam); /** * 获取不在督查组范围内的稽察项目 * inspGroupId 督查组id * objType 督查类型 * nm 督查对象名称 * adCode 行政区划 * engSta 类型 * orderBy 排序字段 * * @return */ List getSupPawpListNotInspGroupId(InspObjParam inspObjParam); List getAllInfoByPersid(@Param("persid") String persid, @Param("ptype") String ptype, @Param("id") String id, @Param("orgId") String orgId, @Param("province") String province); List getPersAllObjDtoListByType(@Param("id") String id, @Param("ptype") String ptype, @Param("orgId") String orgId, @Param("province") String province); ObjectNameDto getNodeBy(@Param("id") String id, @Param("inspYear") String inspYear, @Param("inspMnth") String inspMnth, @Param("orgId") String orgId, @Param("province") String province); ObjIdDto getMaxGroupId(@Param("id") String id, @Param("orgId") String orgId, @Param("province") String province); void insertNode(BisInspAllNodeDto bisInspAllNodeDto); void updateNode(BisInspAllDto bisInspAllDto); BisInspAllRlationPersDto getPersInfo(@Param("persid") String persid); List getNodeByOrgId(@Param("orgIdStr") String orgIdStr, @Param("orgId") String orgId, @Param("province") String province); int deleteNodeByPersid(@Param("persid") String persid); List getSupFscListNotInspGroupId(InspObjParam inspObjParam); List getSupOtherListNotInspGroupId(InspObjParam inspObjParam); List getSupSdListNotInspGroupId(InspObjParam inspObjParam); List getSupSwhsListNotInspGroupId(InspObjParam inspObjParam); List getSupWiuListNotInspGroupId(InspObjParam inspObjParam); List getAdXBaseListNotInspGroupId(InspObjParam inspObjParam); List getWuntListNotInspGroupId(InspObjParam inspObjParam); List getPrdListNotInspGroupId(InspObjParam inspObjParam); List getJSFLListNotInspGroupId(InspObjParam inspObjParam); List getJSWAListNotInspGroupId(InspObjParam inspObjParam); List getEcofrdListNotInspGroupId(InspObjParam inspObjParam); List getSupResRsmlByGroup(InGroupResParam inGroupResParam); List getAdBaseListNotInspGroupId(InspObjParam inspObjParam); List getSupResStndByGroup(InGroupResParam inGroupResParam); /** * 获取不在督查组中的对象 * * @param inspObjParam: ObjType= 11 * @return */ List getNotSuperviseGroupObj(InspObjParam inspObjParam); List getRsBaseListNotInspGroupId(InspObjParam inspObjParam); List getSupMfdpListNotInspGroupId(@Param("inspGroupId") String inspGroupId, @Param("province") String province, @Param("objType") String objType, @Param("adName") String adName, @Param("adCode") String adCode, @Param("nm") String nm, @Param("orderBy") String orderBy); List getSapBaseListNotInspGroupId(InspObjParam inspObjParam); List getEfpBaseListNotInspGroupId(InspObjParam inspObjParam); List getWintuBaseListNotInspGroupId(InspObjParam inspObjParam); List getWtuntBaseListNotInspGroupId(InspObjParam inspObjParam); List getWtgtBaseListNotInspGroupId(InspObjParam inspObjParam); List getAdBaseMunicipalLevelListNotInspGroupIds(InspObjParam inspObjParam); List getAdBaseCountyLevelListNotInspGroupIds(InspObjParam inspObjParam); List getRsListNotInGroup(InspObjParam inspObjParam); List getSamListNotInGroup(InspObjParam inspObjParam); List getSupCdepListNotInspGroupId(InspObjParam inspObjParam); List getSupBidListNotInspGroupId(InspObjParam inspObjParam); List getSupRlrwListNotInspGroupId(InspObjParam inspObjParam); List getSupGrowListNotInspGroupId(InspObjParam inspObjParam); List getSupFundListNotInspGroupId(InspObjParam inspObjParam); /** * 69 * * @param inspObjParam * @return */ List getSupDrdmpListNotInspGroupId(InspObjParam inspObjParam); /** * 72 * * @param inspObjParam * @return */ List getSupWiuqhListNotInspGroupId(InspObjParam inspObjParam); List getSafetyListNotInspGroupId(InspObjParam inspObjParam); List getYndepListNotInspGroupId(InspObjParam inspObjParam); List getRvgmListNotInspGroupId(InspObjParam inspObjParam); List getDpgmListNotInspGroupId(InspObjParam inspObjParam); List getWtprjListNotInspGroupId(InspObjParam inspObjParam); List getUnwtListNotInspGroupId(InspObjParam inspObjParam); List getFloodqhListNotInspGroupId(InspObjParam inspObjParam); List getDstfldqhListNotInspGroupId(InspObjParam inspObjParam); List getAddAxListNotInspGroupId(InspObjParam inspObjParam); List getStstnListNotInspGroupId(InspObjParam inspObjParam); List getGnrlListNotInspGroupId(InspObjParam inspObjParam); List getSwhsjsListNotInspGroupId(InspObjParam inspObjParam); //山东小水库督查 List getRsvrSdListNotInspGroupId(InspObjParam inspObjParam); List getXsdyhglListNotInspGroupId(InspObjParam inspObjParam); //广东农饮工程督查 List getRdwpGdListNotInspGroupId(InspObjParam inspObjParam); // 江苏计划用水户及取水口 List getJsPwiuListNotInspGroupId(InspObjParam inspObjParam); List getJsPwiu2024ListNotInspGroupId(InspObjParam inspObjParam); List getFjgnrlListNotInspGroupId(InspObjParam inspObjParam); Map getYearMonth(@Param("groupId") String groupId); List getPersAllDtoByIdsList(@Param("ids")String ids); List getPersAllAreaDtoByIdsList(@Param("ids")String ids); List getPersAllObjDtoByIdList(@Param("id")String id); //121福建水利工程项目法人安全生产标准化评审 List getFpjlglListNotInspGroupId(InspObjParam inspObjParam); //122福建水利工程管理单位安全生产标准化评审标准 List getFjpjmgdpListNotInspGroupId(InspObjParam inspObjParam); //123福建水利水电施工企业安全生产标准化评审标准 List getFjaccpListNotInspGroupId(InspObjParam inspObjParam); //124福建水利水电勘测设计单位安全生产标准化评审 List getFjsduListNotInspGroupId(InspObjParam inspObjParam); //125福建水利工程建设监理单位安全生产标准化评审 List getFjpjcsuListNotInspGroupId(InspObjParam inspObjParam); }