19 changed files with 154 additions and 141 deletions
@ -0,0 +1,13 @@ |
|||||
|
package com.epmet.dto; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class OrgTreeNode { |
||||
|
private String orgId; |
||||
|
private String orgName; |
||||
|
private String orgType; |
||||
|
private List<OrgTreeNode> subOrgs; |
||||
|
} |
@ -1,9 +1,9 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
<?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"> |
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
|
||||
<mapper namespace="com.epmet.dao.CustomerOrganizationDao"> |
<mapper namespace="com.epmet.dao.CustomerAgencyDao"> |
||||
|
|
||||
<resultMap type="com.epmet.entity.CustomerOrganizationEntity" id="customerOrganizationMap"> |
<resultMap type="com.epmet.entity.CustomerAgencyEntity" id="customerAgencyMap"> |
||||
<result property="id" column="ID"/> |
<result property="id" column="ID"/> |
||||
<result property="customerId" column="CUSTOMER_ID"/> |
<result property="customerId" column="CUSTOMER_ID"/> |
||||
<result property="pid" column="PID"/> |
<result property="pid" column="PID"/> |
@ -1,9 +1,9 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
<?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"> |
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
|
||||
<mapper namespace="com.epmet.dao.CustomerStaffOrganizationDao"> |
<mapper namespace="com.epmet.dao.CustomerStaffAgencyDao"> |
||||
|
|
||||
<resultMap type="com.epmet.entity.CustomerStaffOrganizationEntity" id="customerStaffOrganizationMap"> |
<resultMap type="com.epmet.entity.CustomerStaffAgencyEntity" id="customerStaffAgencyMap"> |
||||
<result property="id" column="ID"/> |
<result property="id" column="ID"/> |
||||
<result property="customerId" column="CUSTOMER_ID"/> |
<result property="customerId" column="CUSTOMER_ID"/> |
||||
<result property="userId" column="USER_ID"/> |
<result property="userId" column="USER_ID"/> |
Loading…
Reference in new issue