|
@@ -2,12 +2,14 @@ package com.lantone.qc.trans;
|
|
|
|
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
|
import com.lantone.qc.pub.model.vo.QueryVo;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
/**
|
|
|
* @Description:
|
|
|
* @author: rengb
|
|
|
* @time: 2020/3/5 19:49
|
|
|
*/
|
|
|
+@Slf4j
|
|
|
public class TransDispatch {
|
|
|
|
|
|
public static InputInfo trans(QueryVo queryVo) {
|
|
@@ -21,6 +23,7 @@ public class TransDispatch {
|
|
|
DocTrans docTrans = (DocTrans) Class.forName(classPath).newInstance();
|
|
|
return docTrans.extract(queryVo);
|
|
|
} catch (Exception e) {
|
|
|
+ log.info(e.getMessage(), e);
|
|
|
return null;
|
|
|
}
|
|
|
}
|