1.修复日志打印问题

master
x_z 2 years ago
parent 35ba46370f
commit 1247359a05

@ -19,6 +19,7 @@ import com.glxp.api.res.basic.UdiRlDlResponse;
import com.glxp.api.service.basic.BasicProductsExportLogService;
import com.glxp.api.service.basic.UdiRelevanceService;
import com.glxp.api.util.CustomUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.GetMapping;
@ -38,6 +39,7 @@ import java.util.stream.Collectors;
/**
*
*/
@Slf4j
@RestController
public class BasicProductsExportLogController {
@ -111,7 +113,7 @@ public class BasicProductsExportLogController {
}
basicProductsExportLogService.updateUdiInfoExportLog(basicProductsExportLogEntity);
} catch (Exception ex) {
System.out.println("下载失败!");
log.error("下载产品信息导出数据异常", ex);
}

Loading…
Cancel
Save