|
@@ -11,6 +11,8 @@ import com.sundata.internalevaluation.configuration.model.SysInterface;
|
|
|
import com.sundata.internalevaluation.configuration.service.DataSourcesService;
|
|
|
import com.sundata.internalevaluation.configuration.service.SysInterfaceService;
|
|
|
import com.sundata.internalevaluation.script.TemplateUtil;
|
|
|
+import org.slf4j.Logger;
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.HashMap;
|
|
@@ -28,6 +30,8 @@ import java.util.stream.Collectors;
|
|
|
|
|
|
public class DataSourcesCalcUnit extends CalcUnit {
|
|
|
|
|
|
+ private static final Logger log = LoggerFactory.getLogger(DataSourcesCalcUnit.class);
|
|
|
+
|
|
|
final DataSourcesModel dataSourcesModel;
|
|
|
|
|
|
/**
|
|
@@ -135,7 +139,7 @@ public class DataSourcesCalcUnit extends CalcUnit {
|
|
|
*/
|
|
|
@Override
|
|
|
public void calc(CalcResult<String, Object> thisResult, String calculateInstanceNumber, Map<String, Object> context, Map<CalcUnit, CalcResult<String, Object>> sourceResults) {
|
|
|
-
|
|
|
+ log.info("当前计算节点为:[{}-{}-{}],计算流水号为:{}", this.getCalcType(), this.getCalcCode(), this.getCalcName(), calculateInstanceNumber);
|
|
|
sourceResults.forEach((calcUnit,result)->{
|
|
|
|
|
|
if ("INTERFACE".equals(dataSourcesModel.getDataSourcesType())) {
|