|
@ -37,6 +37,7 @@ import com.epmet.dto.result.FormGroupDTO; |
|
|
import com.epmet.dto.result.FormItemResult; |
|
|
import com.epmet.dto.result.FormItemResult; |
|
|
import com.epmet.entity.*; |
|
|
import com.epmet.entity.*; |
|
|
import com.epmet.feign.EpmetHeartOpenFeignClient; |
|
|
import com.epmet.feign.EpmetHeartOpenFeignClient; |
|
|
|
|
|
import com.epmet.feign.GovAccessFeignClient; |
|
|
import com.epmet.feign.GovOrgOpenFeignClient; |
|
|
import com.epmet.feign.GovOrgOpenFeignClient; |
|
|
import com.epmet.redis.CustomerFootBarRedis; |
|
|
import com.epmet.redis.CustomerFootBarRedis; |
|
|
import com.epmet.service.IcFormService; |
|
|
import com.epmet.service.IcFormService; |
|
@ -83,6 +84,8 @@ public class IcFormServiceImpl extends BaseServiceImpl<IcFormDao, IcFormEntity> |
|
|
private EpmetHeartOpenFeignClient epmetHeartOpenFeignClient; |
|
|
private EpmetHeartOpenFeignClient epmetHeartOpenFeignClient; |
|
|
@Resource |
|
|
@Resource |
|
|
private GovOrgOpenFeignClient govOrgOpenFeignClient; |
|
|
private GovOrgOpenFeignClient govOrgOpenFeignClient; |
|
|
|
|
|
@Resource |
|
|
|
|
|
private GovAccessFeignClient govAccessFeignClient; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 获取居民信息表单 |
|
|
* 获取居民信息表单 |
|
@ -329,6 +332,12 @@ public class IcFormServiceImpl extends BaseServiceImpl<IcFormDao, IcFormEntity> |
|
|
throw new EpmetException(dictResult.getCode(), dictResult.getMsg()); |
|
|
throw new EpmetException(dictResult.getCode(), dictResult.getMsg()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//7-29 初始化为客户设置(联建单位负责人、社区自组织负责人)两个默认角色数据
|
|
|
|
|
|
Result accessResult = govAccessFeignClient.initGovRole(customerId); |
|
|
|
|
|
if (!accessResult.success()) { |
|
|
|
|
|
throw new EpmetException(accessResult.getCode(), accessResult.getMsg()); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
return "初始化成功!客户ID:" + customerId + " formCode:" + formCode; |
|
|
return "初始化成功!客户ID:" + customerId + " formCode:" + formCode; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|