双重预防项目-国泰新华二开定制版
马宇豪
2024-05-09 73f35cc648e81dee5f63d998f64a79bfa96985d6
src/main/resources/mybatis/system/DeptMapper.xml
@@ -188,4 +188,9 @@
        where dept_id in (${ancestors})
   </update>
<!--   Dept getDepById(Long deptId);-->
   <select id="getDepById" parameterType="Long" resultMap="DeptResult">
      select * from  sys_dept where dept_id = #{deptId}
   </select>
</mapper>