|
@ -246,6 +246,7 @@ public class AgencyServiceImpl implements AgencyService { |
|
|
parentList = customerAgencyDao.selectPAgencyById(listStr); |
|
|
parentList = customerAgencyDao.selectPAgencyById(listStr); |
|
|
agencysResultDTO.setParentList(parentList); |
|
|
agencysResultDTO.setParentList(parentList); |
|
|
agencysResultDTO.setAreaCodeSwitch(customerOrgParameterService.getAreaCodeSwitch(entity.getCustomerId())); |
|
|
agencysResultDTO.setAreaCodeSwitch(customerOrgParameterService.getAreaCodeSwitch(entity.getCustomerId())); |
|
|
|
|
|
agencysResultDTO.setAreaName(StrConstant.EPMETY_STR); |
|
|
//查询组织区划的名称
|
|
|
//查询组织区划的名称
|
|
|
if (null != entity && StringUtils.isNotBlank(entity.getAreaCode())) { |
|
|
if (null != entity && StringUtils.isNotBlank(entity.getAreaCode())) { |
|
|
switch (entity.getLevel()) { |
|
|
switch (entity.getLevel()) { |
|
@ -271,6 +272,10 @@ public class AgencyServiceImpl implements AgencyService { |
|
|
return new Result<AgencysResultDTO>().ok(agencysResultDTO); |
|
|
return new Result<AgencysResultDTO>().ok(agencysResultDTO); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
|
|
String m="1234"; |
|
|
|
|
|
System.out.println(m.equals("1234") ? "yes" : "no"); |
|
|
|
|
|
} |
|
|
/** |
|
|
/** |
|
|
* @param formDTO |
|
|
* @param formDTO |
|
|
* @return |
|
|
* @return |
|
|