2f04c3dcee1fa35eeefd3ce1b5e45887dfb54072.svn-base 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. package cn.com.goldenwater.dcproj.dao;
  2. import cn.com.goldenwater.dcproj.dto.*;
  3. import cn.com.goldenwater.dcproj.model.*;
  4. import cn.com.goldenwater.dcproj.param.InGroupResParam;
  5. import cn.com.goldenwater.dcproj.param.InspObjParam;
  6. import org.apache.ibatis.annotations.Param;
  7. import org.springframework.stereotype.Repository;
  8. import java.util.List;
  9. import java.util.Map;
  10. /**
  11. * Created by 61618 on 2019/4/17.
  12. */
  13. @Repository
  14. public interface SupervisionPlanDao {
  15. List<AllNodeDto> getNodeByPersid(@Param("persid") String persid, @Param("ptype") String ptype, @Param("orgId") String orgId, @Param("province") String province);
  16. List<PersAllInfoDto> 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);
  17. List<PersAllDto> getPersAllDtoList(@Param("id") String id, @Param("orgId") String orgId, @Param("province") String province);
  18. List<PersAllObjDto> getPersAllObjDtoList(@Param("id") String id, @Param("orgId") String orgId, @Param("province") String province);
  19. List<PersAllAreaDto> getPersAllAreaDtoList(@Param("id") String id, @Param("orgId") String orgId, @Param("province") String province);
  20. List<AllNodeDto> getNode(@Param("id") String id, @Param("orgId") String orgId, @Param("province") String province);
  21. AllNodeDto getNodeById(@Param("id") String id);
  22. List<AttSupResBase> getSupResByGroup(InGroupResParam inGroupResParam);
  23. List<AttSupResBase> 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);
  24. List<AttSupAdBase> getSupCwsListNotInspGroupId(InspObjParam inspObjParam);
  25. List<BisInspSupWtdst> 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);
  26. 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);
  27. LgtdAndLttd getLgtdAndLttd(@Param("code") String code, @Param("type") String type);
  28. 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);
  29. ObjIdDto getPers(@Param("id") String id, @Param("guid") String guid);
  30. int updatePersType(@Param("id") String id, @Param("guid") String guid, @Param("persType") String persType);
  31. List<PersTypeDto> getPersType(@Param("persid") String persid, @Param("orgId") String orgId, @Param("province") String province);
  32. void updateTeamLeader(@Param("id") String id);
  33. void updateGroupNm(@Param("id") String id, @Param("nm") String nm);
  34. List<PersTypeDto> getPersTypeByPersid(@Param("persid") String persid, @Param("orgId") String orgId, @Param("province") String province);
  35. List<PersTypeDto> getPersTypeByPersidOrg(@Param("persid") String persid, @Param("province") String province);
  36. List<EmpwtprjDto> 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);
  37. List<GrwDto> 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);
  38. List<WagaDto> getSupWagaListNotInspGroupId(InspObjParam inspObjParam);
  39. /**
  40. * 获取不在督查组范围内的稽察项目
  41. * inspGroupId 督查组id
  42. * objType 督查类型
  43. * nm 督查对象名称
  44. * adCode 行政区划
  45. * engSta 类型
  46. * orderBy 排序字段
  47. *
  48. * @return
  49. */
  50. List<TacAttPawpBase> getSupPawpListNotInspGroupId(InspObjParam inspObjParam);
  51. List<PersAllInfoDto> getAllInfoByPersid(@Param("persid") String persid, @Param("ptype") String ptype, @Param("id") String id, @Param("orgId") String orgId, @Param("province") String province);
  52. List<PersAllObjDto> getPersAllObjDtoListByType(@Param("id") String id, @Param("ptype") String ptype, @Param("orgId") String orgId, @Param("province") String province);
  53. ObjectNameDto getNodeBy(@Param("id") String id, @Param("inspYear") String inspYear, @Param("inspMnth") String inspMnth, @Param("orgId") String orgId, @Param("province") String province);
  54. ObjIdDto getMaxGroupId(@Param("id") String id, @Param("orgId") String orgId, @Param("province") String province);
  55. void insertNode(BisInspAllNodeDto bisInspAllNodeDto);
  56. void updateNode(BisInspAllDto bisInspAllDto);
  57. BisInspAllRlationPersDto getPersInfo(@Param("persid") String persid);
  58. List<AllNodeDto> getNodeByOrgId(@Param("orgIdStr") String orgIdStr, @Param("orgId") String orgId, @Param("province") String province);
  59. int deleteNodeByPersid(@Param("persid") String persid);
  60. List<AttFscBaseDto> getSupFscListNotInspGroupId(InspObjParam inspObjParam);
  61. List<AttOtherBaseDto> getSupOtherListNotInspGroupId(InspObjParam inspObjParam);
  62. List<AttSdBase> getSupSdListNotInspGroupId(InspObjParam inspObjParam);
  63. List<AttSwhsBase> getSupSwhsListNotInspGroupId(InspObjParam inspObjParam);
  64. List<AttWiuBase> getSupWiuListNotInspGroupId(InspObjParam inspObjParam);
  65. List<SupervisionPlanDto> getAdXBaseListNotInspGroupId(InspObjParam inspObjParam);
  66. List<SupervisionPlanDto> getWuntListNotInspGroupId(InspObjParam inspObjParam);
  67. List<SupervisionPlanDto> getPrdListNotInspGroupId(InspObjParam inspObjParam);
  68. List<SupervisionPlanDto> getJSFLListNotInspGroupId(InspObjParam inspObjParam);
  69. List<SupervisionPlanDto> getJSWAListNotInspGroupId(InspObjParam inspObjParam);
  70. List<SupervisionPlanDto> getEcofrdListNotInspGroupId(InspObjParam inspObjParam);
  71. List<AttSupResBase> getSupResRsmlByGroup(InGroupResParam inGroupResParam);
  72. List<SupervisionPlanDto> getAdBaseListNotInspGroupId(InspObjParam inspObjParam);
  73. List<AttSupResBase> getSupResStndByGroup(InGroupResParam inGroupResParam);
  74. /**
  75. * 获取不在督查组中的对象
  76. *
  77. * @param inspObjParam: ObjType= 11
  78. * @return
  79. */
  80. List<SupervisionPlanDto> getNotSuperviseGroupObj(InspObjParam inspObjParam);
  81. List<AttRsBase> getRsBaseListNotInspGroupId(InspObjParam inspObjParam);
  82. List<AttSupAdBase> 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);
  83. List<BisInspWagaSapRgstr> getSapBaseListNotInspGroupId(InspObjParam inspObjParam);
  84. List<SupervisionPlanDto> getEfpBaseListNotInspGroupId(InspObjParam inspObjParam);
  85. List<BisInspWintRgstr> getWintuBaseListNotInspGroupId(InspObjParam inspObjParam);
  86. List<SupervisionPlanDto> getWtuntBaseListNotInspGroupId(InspObjParam inspObjParam);
  87. List<SupervisionPlanDto> getWtgtBaseListNotInspGroupId(InspObjParam inspObjParam);
  88. List<SupervisionPlanDto> getAdBaseMunicipalLevelListNotInspGroupIds(InspObjParam inspObjParam);
  89. List<SupervisionPlanDto> getAdBaseCountyLevelListNotInspGroupIds(InspObjParam inspObjParam);
  90. List<SupervisionPlanDto> getRsListNotInGroup(InspObjParam inspObjParam);
  91. List<SupervisionPlanDto> getSamListNotInGroup(InspObjParam inspObjParam);
  92. List<SupervisionPlanDto> getSupCdepListNotInspGroupId(InspObjParam inspObjParam);
  93. List<SupervisionPlanDto> getSupBidListNotInspGroupId(InspObjParam inspObjParam);
  94. List<SupervisionPlanDto> getSupRlrwListNotInspGroupId(InspObjParam inspObjParam);
  95. List<SupervisionPlanDto> getSupGrowListNotInspGroupId(InspObjParam inspObjParam);
  96. List<SupervisionPlanDto> getSupFundListNotInspGroupId(InspObjParam inspObjParam);
  97. /**
  98. * 69
  99. *
  100. * @param inspObjParam
  101. * @return
  102. */
  103. List<SupervisionPlanDto> getSupDrdmpListNotInspGroupId(InspObjParam inspObjParam);
  104. /**
  105. * 72
  106. *
  107. * @param inspObjParam
  108. * @return
  109. */
  110. List<SupervisionPlanDto> getSupWiuqhListNotInspGroupId(InspObjParam inspObjParam);
  111. List<SupervisionPlanDto> getSafetyListNotInspGroupId(InspObjParam inspObjParam);
  112. List<SupervisionPlanDto> getYndepListNotInspGroupId(InspObjParam inspObjParam);
  113. List<SupervisionPlanDto> getRvgmListNotInspGroupId(InspObjParam inspObjParam);
  114. List<SupervisionPlanDto> getDpgmListNotInspGroupId(InspObjParam inspObjParam);
  115. List<SupervisionPlanDto> getWtprjListNotInspGroupId(InspObjParam inspObjParam);
  116. List<SupervisionPlanDto> getUnwtListNotInspGroupId(InspObjParam inspObjParam);
  117. List<SupervisionPlanDto> getFloodqhListNotInspGroupId(InspObjParam inspObjParam);
  118. List<SupervisionPlanDto> getDstfldqhListNotInspGroupId(InspObjParam inspObjParam);
  119. List<AttSupAdBase> getAddAxListNotInspGroupId(InspObjParam inspObjParam);
  120. List<SupervisionPlanDto> getStstnListNotInspGroupId(InspObjParam inspObjParam);
  121. List<SupervisionPlanDto> getGnrlListNotInspGroupId(InspObjParam inspObjParam);
  122. List<SupervisionPlanDto> getSwhsjsListNotInspGroupId(InspObjParam inspObjParam);
  123. //山东小水库督查
  124. List<SupervisionPlanDto> getRsvrSdListNotInspGroupId(InspObjParam inspObjParam);
  125. List<SupervisionPlanDto> getXsdyhglListNotInspGroupId(InspObjParam inspObjParam);
  126. //广东农饮工程督查
  127. List<SupervisionPlanDto> getRdwpGdListNotInspGroupId(InspObjParam inspObjParam);
  128. // 江苏计划用水户及取水口
  129. List<SupervisionPlanDto> getJsPwiuListNotInspGroupId(InspObjParam inspObjParam);
  130. List<SupervisionPlanDto> getJsPwiu2024ListNotInspGroupId(InspObjParam inspObjParam);
  131. List<SupervisionPlanDto> getFjgnrlListNotInspGroupId(InspObjParam inspObjParam);
  132. Map<String,String> getYearMonth(@Param("groupId") String groupId);
  133. List<PersAllDto> getPersAllDtoByIdsList(@Param("ids")String ids);
  134. List<PersAllAreaDto> getPersAllAreaDtoByIdsList(@Param("ids")String ids);
  135. List<PersAllObjDto> getPersAllObjDtoByIdList(@Param("id")String id);
  136. //121福建水利工程项目法人安全生产标准化评审
  137. List<SupervisionPlanDto> getFpjlglListNotInspGroupId(InspObjParam inspObjParam);
  138. //122福建水利工程管理单位安全生产标准化评审标准
  139. List<SupervisionPlanDto> getFjpjmgdpListNotInspGroupId(InspObjParam inspObjParam);
  140. //123福建水利水电施工企业安全生产标准化评审标准
  141. List<SupervisionPlanDto> getFjaccpListNotInspGroupId(InspObjParam inspObjParam);
  142. //124福建水利水电勘测设计单位安全生产标准化评审
  143. List<SupervisionPlanDto> getFjsduListNotInspGroupId(InspObjParam inspObjParam);
  144. //125福建水利工程建设监理单位安全生产标准化评审
  145. List<SupervisionPlanDto> getFjpjcsuListNotInspGroupId(InspObjParam inspObjParam);
  146. }