Browse Source

定时任务

dev
HAHA 3 years ago
parent
commit
1f3c78cd9d
  1. 12
      epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/GuardarDatosTaskServiceImpl.java

12
epmet-module/open-data-worker/open-data-worker-server/src/main/java/com/epmet/opendata/service/impl/GuardarDatosTaskServiceImpl.java

@ -73,6 +73,12 @@ public class GuardarDatosTaskServiceImpl implements GuardarDatosTaskService {
@Autowired
private WghYqhjzService wghYqhjzService;
@Autowired
private CaSysDictService caSysDictService;
@Autowired
private CaBmCategoryService caBmCategoryService;
@Override
public void guardarDatosTask(PreserVationFormDTO dto) {
if (StringUtils.isNotBlank(dto.getTableName())) {
@ -137,6 +143,12 @@ public class GuardarDatosTaskServiceImpl implements GuardarDatosTaskService {
case CaWghDataConstant.SHARE_WGH_YQHJZ:
wghYqhjzService.getPreserWghYqhjzVation(dto);
break;
case CaWghDataConstant.UNICOM_BM_CATEGORY:
caBmCategoryService.preserBmCategoryVation(dto);
break;
case CaWghDataConstant.UNICOM_SYS_DICT:
caSysDictService.preserSysdictVation(dto);
break;
}
} else{
throw new Error("没传名字");

Loading…
Cancel
Save