|
@@ -59,8 +59,9 @@ public class OrganizationService {
|
|
|
|
|
|
/**
|
|
|
* 获取省,市,区,项目列表
|
|
|
+ *
|
|
|
* @return 省,市,区,项目列表
|
|
|
- * @since 2019/12/17 10:05
|
|
|
+ * @since 2019/12/17 10:05
|
|
|
*/
|
|
|
public RestResponse organizationTree(Long mtCompanyId) {
|
|
|
List<Organization> ps = new ArrayList<>();
|
|
@@ -71,6 +72,7 @@ public class OrganizationService {
|
|
|
//项目列表
|
|
|
List<Project> projects = projectService.list(new QueryWrapper<Project>()
|
|
|
.select("id", "project_name", "province", "city", "district", "num")
|
|
|
+ .ne("region_id", null)
|
|
|
.eq("mt_company_id", mtCompanyId)
|
|
|
);
|
|
|
|