From 595ccfcb7d484b41e9a855d5ba1ca48edbc44ccc Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 24 十二月 2024 15:14:58 +0800 Subject: [PATCH] 日志 --- iailab-module-model/iailab-module-model-biz/src/main/resources/template/impl.java.vm | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/template/impl.java.vm b/iailab-module-model/iailab-module-model-biz/src/main/resources/template/impl.java.vm index 0ffc252..f111279 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/resources/template/impl.java.vm +++ b/iailab-module-model/iailab-module-model-biz/src/main/resources/template/impl.java.vm @@ -18,15 +18,15 @@ @Override public HashMap<String, Object> ${entity.methodName}(#foreach ($column in [1..$entity.dataLength])double data${column}[][], #{end}#{if}($entity.model==1)HashMap<String, Object> models, #{end}HashMap<String, Object> settings) { #{if}($entity.model==1) - model = utils.createPredictHashmapplus(models); + //model = utils.createPredictHashmapplus(models); + model = models; #{end} if (#{foreach} ($column in [1..$entity.dataLength])#{if}($column==1)data${column} == null || data${column}.length == 0 || data${column}[0].length == 0#{else} || data${column} == null || data${column}.length == 0 || data${column}[0].length == 0#{end}#{end}) { result = new HashMap<String, Object>(); - result.put("status_code", "400"); + result.put("status_code", "998"); return result; } result = ${pyName}${entity.methodName}(#foreach ($column in [1..$entity.dataLength])data${column}, #{end}#{if}($entity.model==1)model, #{end}settings); - return utils.reverseResult(this.result); } #{end} -- Gitblit v1.9.3