duhuizhe
2023-10-16 3aa55dd3f62cee2c1c4c0aa74e1570acf83f8927
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.consum.base.core;
 
 
import com.consum.base.core.po.SYS_AGENCY;
 
/**
 * 组织机构类通用service
 */
public class AgencyService {
 
 
    public static void main(String[] args) {
 
    }
 
    /**
     * 根据组织机构ID,获取组织机构树
     * @param agency_id
     * @return
     */
    public AgencyEntity getAgencyTreeEntityById(long agency_id){
 
        AgencyEntity entity = new AgencyEntity(agency_id);
        entity.setAngency(new SYS_AGENCY());
        entity.setFirstAgency(new SYS_AGENCY());
        entity.setSecondAgency(new SYS_AGENCY());
        entity.setThirdAgency(new SYS_AGENCY());
        entity.setFourthAgency(new SYS_AGENCY());
        return entity;
    }
 
 
}