Commit eccce7ba authored by shenxin's avatar shenxin

蓉易办推送数据

parent 232078e7
...@@ -53,9 +53,6 @@ public class SupplementTaskImpl implements ITaskExcuteService { ...@@ -53,9 +53,6 @@ public class SupplementTaskImpl implements ITaskExcuteService {
@Autowired @Autowired
private InformationDao informationDao; private InformationDao informationDao;
@Resource
private RybMatterDao rybMatterDao;
@Override @Override
public void excuteTask(ITask task) throws AppException { public void excuteTask(ITask task) throws AppException {
//TODO:因临时对接蓉易办暂时屏蔽,等后期蓉易办对接完成后放开 //TODO:因临时对接蓉易办暂时屏蔽,等后期蓉易办对接完成后放开
......
...@@ -12,6 +12,7 @@ import com.mortals.xhx.modules.supplement.dao.SupplementDao; ...@@ -12,6 +12,7 @@ import com.mortals.xhx.modules.supplement.dao.SupplementDao;
import com.mortals.xhx.modules.supplement.listener.TemporaryDockingListener; import com.mortals.xhx.modules.supplement.listener.TemporaryDockingListener;
import com.mortals.xhx.modules.supplement.model.SupplementEntity; import com.mortals.xhx.modules.supplement.model.SupplementEntity;
import com.mortals.xhx.modules.supplement.service.SupplementService; import com.mortals.xhx.modules.supplement.service.SupplementService;
import com.mortals.xhx.modules.supplement.task.SupplementTaskImpl;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
...@@ -49,6 +50,9 @@ public class SupplementController extends BaseCRUDJsonMappingController<Suppleme ...@@ -49,6 +50,9 @@ public class SupplementController extends BaseCRUDJsonMappingController<Suppleme
@Autowired @Autowired
private SupplementDao supplementDao; private SupplementDao supplementDao;
@Autowired
private SupplementTaskImpl supplementTaskImpl;
/** /**
* 导入办件信息,一阶段通过excel表格导入,放入磁盘中,在通过文件地址去获取文件内容进行数据清洗 * 导入办件信息,一阶段通过excel表格导入,放入磁盘中,在通过文件地址去获取文件内容进行数据清洗
...@@ -92,7 +96,14 @@ public class SupplementController extends BaseCRUDJsonMappingController<Suppleme ...@@ -92,7 +96,14 @@ public class SupplementController extends BaseCRUDJsonMappingController<Suppleme
return respPdu; return respPdu;
} }
/*
*
* 蓉易办对接入口,清洗,临时接口,后期可删除,
* */
@RequestMapping("rybDocking")
public void rybDocking(){
supplementTaskImpl.excuteTask(null);
}
public SupplementController(){ public SupplementController(){
super.setFormClass(SupplementForm.class); super.setFormClass(SupplementForm.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