| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.jeecg.modules.eam.mapper.EquipmentCategoryMapper"> |
| | | |
| | | </mapper> |
| | | <select id="getTreeByParentId" resultType="org.jeecg.common.api.vo.CommonGenericTree"> |
| | | select |
| | | t1.id as 'key', |
| | | CONCAT(t1.num,'/',t1.name) title, |
| | | t1.parent_id parentId, |
| | | t1.name rField1, |
| | | t1.num RField2 |
| | | from mom_eam_equipment_category t1 |
| | | where t1.del_flag = 0 |
| | | and t1.parent_id = #{parentId} |
| | | </select> |
| | | </mapper> |