Commit f7dd67d4 authored by suhuiguang's avatar suhuiguang

fix(jg): 监管企业编辑

1.企业数据同步不更新
parent 85dd4779
package com.yeejoin.amos.boot.module.jg.biz.refresh.adapter; package com.yeejoin.amos.boot.module.common.biz.refresh.adapter;
import com.yeejoin.amos.boot.module.common.biz.event.CommonPublisher; import com.yeejoin.amos.boot.module.common.biz.event.CommonPublisher;
import com.yeejoin.amos.boot.module.common.biz.refresh.DataRefreshEvent; import com.yeejoin.amos.boot.module.common.biz.refresh.DataRefreshEvent;
......
package com.yeejoin.amos.boot.module.jg.biz.refresh.adapter; package com.yeejoin.amos.boot.module.common.biz.refresh.adapter;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.yeejoin.amos.boot.module.common.api.constant.TZSCommonConstant; import com.yeejoin.amos.boot.module.common.api.constant.TZSCommonConstant;
......
package com.yeejoin.amos.boot.module.common.biz.refresh.dispatch; package com.yeejoin.amos.boot.module.common.biz.refresh.dispatch;
import com.alibaba.fastjson.JSONObject;
import com.yeejoin.amos.boot.module.common.api.entity.TzsDataRefreshMessage; import com.yeejoin.amos.boot.module.common.api.entity.TzsDataRefreshMessage;
import com.yeejoin.amos.boot.module.common.api.service.IDataRefreshDispatch; import com.yeejoin.amos.boot.module.common.api.service.IDataRefreshDispatch;
import com.yeejoin.amos.boot.module.common.api.service.IDataRefreshHandler; import com.yeejoin.amos.boot.module.common.api.service.IDataRefreshHandler;
......
...@@ -1400,6 +1400,7 @@ public class TzBaseEnterpriseInfoServiceImpl ...@@ -1400,6 +1400,7 @@ public class TzBaseEnterpriseInfoServiceImpl
*/ */
@Override @Override
@Async @Async
@Transactional(rollbackFor = Exception.class)
public void refreshCompanyInfo(JSONObject dataResult, String method) { public void refreshCompanyInfo(JSONObject dataResult, String method) {
try { try {
CompanyBo companyBo = JSON.parseObject(dataResult.toJSONString(), CompanyBo.class); CompanyBo companyBo = JSON.parseObject(dataResult.toJSONString(), CompanyBo.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment