wuzeyu
2024-02-27 36a6ddebd7fd24ad49d49e3962c6778cbd72fe89
pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrDivideMapper.xml
@@ -259,6 +259,7 @@
  <select id="getDivides" resultType="com.dy.pipIrrGlobal.voPr.VoDivide">
    SELECT
      (@i:=@i+1) AS id,
      CAST(divi.id AS char) AS divideId,
      divi.name AS divideName,
      blo.`name` AS blockName,
      divi.header,
@@ -297,4 +298,9 @@
    </where>
  </update>
  <!--根据分水房编号获取所属片区编号-->
  <select id="getBlockIdById" resultType="java.lang.Long">
    SELECT blockId FROM pr_divide WHERE id = ${divideId}
  </select>
</mapper>