| | |
| | | spring: |
| | | profiles: |
| | | active: pro |
| | | active: dev |
| | | application: |
| | | name: system_gateway |
| | | # 安全配置 |
| | |
| | | spring: |
| | | profiles: |
| | | active: pro |
| | | active: dev |
| | | application: |
| | | name: visitsAdmin |
| | | # 安全配置 |
| | |
| | | queryWrapper.eq(Company::getIsdeleted,Constants.ZERO); |
| | | if(Objects.nonNull(type) && ( Constants.equalsInteger(type,Constants.ONE) || Constants.equalsInteger(type,Constants.ZERO))){ |
| | | queryWrapper.eq(type!=null,Company::getType,type); |
| | | }else{ |
| | | }else if(Objects.nonNull(type) && Constants.equalsInteger(type,Constants.TWO)){ |
| | | String companySpecialId = systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.SPECIAL_COMPANY_ID).getCode(); |
| | | if(StringUtils.isNotBlank(companySpecialId)){ |
| | | queryWrapper.apply(" (find_in_set('"+companySpecialId+"',REPLACE(t.company_path,'/',',')) or t.parent_id is null ) "); |