8 changed files with 125 additions and 1 deletions
@ -0,0 +1,41 @@ |
|||
package com.epmet.dto; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description |
|||
* @ClassName AgencySubTreeDto |
|||
* @Auth wangc |
|||
* @Date 2020-06-16 16:51 |
|||
*/ |
|||
@Data |
|||
public class AgencySubTreeDto implements Serializable { |
|||
private static final long serialVersionUID = 312765293830315198L; |
|||
/** |
|||
* 机构Id |
|||
* */ |
|||
private String agencyId; |
|||
|
|||
/** |
|||
* 机构名称 |
|||
* */ |
|||
private String agencyName; |
|||
|
|||
/** |
|||
* 直属网格Id |
|||
* */ |
|||
List<String> gridIds; |
|||
|
|||
/** |
|||
* 客户Id |
|||
* */ |
|||
String customerId; |
|||
|
|||
/** |
|||
* 下级机关集合 |
|||
* */ |
|||
List<AgencySubTreeDto> subAgencies; |
|||
} |
|||
@ -1,8 +1,12 @@ |
|||
package com.epmet.service; |
|||
|
|||
import com.epmet.dto.AgencySubTreeDto; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface StatsDemoService { |
|||
|
|||
void testList(); |
|||
void testTx(); |
|||
|
|||
List<AgencySubTreeDto> getAllAgency(); |
|||
} |
|||
|
|||
@ -1,9 +1,12 @@ |
|||
package com.epmet.service.org; |
|||
|
|||
import com.epmet.dto.AgencySubTreeDto; |
|||
import com.epmet.entity.org.CustomerAgencyEntity; |
|||
|
|||
import java.util.List; |
|||
|
|||
public interface DemoGovOrgService { |
|||
List<CustomerAgencyEntity> listAllEntities(); |
|||
|
|||
List<AgencySubTreeDto> getAllAgency(); |
|||
} |
|||
Loading…
Reference in new issue