|
|
@ -3,11 +3,13 @@ package com.epmet.opendata.service.impl; |
|
|
|
import com.epmet.opendata.dto.constant.CaWghDataConstant; |
|
|
|
import com.epmet.opendata.dto.form.PreserVationFormDTO; |
|
|
|
import com.epmet.opendata.service.*; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import net.bytebuddy.asm.Advice; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
@Slf4j |
|
|
|
@Service |
|
|
|
public class GuardarDatosTaskServiceImpl implements GuardarDatosTaskService { |
|
|
|
|
|
|
@ -73,6 +75,7 @@ public class GuardarDatosTaskServiceImpl implements GuardarDatosTaskService { |
|
|
|
|
|
|
|
@Override |
|
|
|
public void guardarDatosTask(PreserVationFormDTO dto) { |
|
|
|
log.error("传的对象",dto); |
|
|
|
if (StringUtils.isNotBlank(dto.getTableName())) { |
|
|
|
switch (dto.getTableName()) { |
|
|
|
case CaWghDataConstant.UNICOM_LOUDONG: |
|
|
|