NodeBaseInfoMapper.xml 1010 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="org.springblade.manager.mapper.NodeBaseInfoMapper">
  4. <!-- 通用查询映射结果 -->
  5. <resultMap id="nodeBaseInfoResultMap" type="org.springblade.manager.entity.NodeBaseInfo">
  6. <result column="id" property="id"/>
  7. <result column="node_id" property="nodeId"/>
  8. <result column="unit" property="unit"/>
  9. <result column="sub_unit" property="subUnit"/>
  10. <result column="division" property="division"/>
  11. <result column="sub_division" property="subDivision"/>
  12. <result column="item" property="item"/>
  13. <result column="sub_item" property="subItem"/>
  14. <result column="processes" property="processes"/>
  15. </resultMap>
  16. <select id="selectNodeBaseInfoPage" resultMap="nodeBaseInfoResultMap">
  17. select * from m_node_base_info where is_deleted = 0
  18. </select>
  19. </mapper>