|
|
@ -9,6 +9,7 @@ import com.glxp.api.admin.entity.basic.UdiInfoImportDetailEntity;
|
|
|
|
import com.glxp.api.admin.req.basic.FilterUdiIpLogRequest;
|
|
|
|
import com.glxp.api.admin.req.basic.FilterUdiIpLogRequest;
|
|
|
|
import com.glxp.api.admin.res.basic.UdiRelevanceExportJsonResponse;
|
|
|
|
import com.glxp.api.admin.res.basic.UdiRelevanceExportJsonResponse;
|
|
|
|
import com.glxp.api.admin.service.basic.UdiInfoImportDetailService;
|
|
|
|
import com.glxp.api.admin.service.basic.UdiInfoImportDetailService;
|
|
|
|
|
|
|
|
import org.springframework.scheduling.annotation.Async;
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import javax.annotation.Resource;
|
|
|
@ -66,6 +67,7 @@ public class UdiInfoImportDetailServiceImpl implements UdiInfoImportDetailServic
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
|
|
|
|
@Async
|
|
|
|
public void importJsonData(UdiRelevanceExportJsonResponse udiRelevanceExportJsonResponse) {
|
|
|
|
public void importJsonData(UdiRelevanceExportJsonResponse udiRelevanceExportJsonResponse) {
|
|
|
|
if (CollUtil.isNotEmpty(udiRelevanceExportJsonResponse.getUdiInfoEntities())) {
|
|
|
|
if (CollUtil.isNotEmpty(udiRelevanceExportJsonResponse.getUdiInfoEntities())) {
|
|
|
|
udiInfoDao.importUdiInfo(udiRelevanceExportJsonResponse.getUdiInfoEntities());
|
|
|
|
udiInfoDao.importUdiInfo(udiRelevanceExportJsonResponse.getUdiInfoEntities());
|
|
|
|