From e1cf0b3ad257b06e7bc55bf719d06d98cb20b27a Mon Sep 17 00:00:00 2001 From: liriming <1343021927@qq.com> Date: 星期三, 16 十月 2024 16:46:34 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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 64743f5..0ffc252 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 @@ -1,7 +1,7 @@ package ${pkgName}.impl; import ${pkgName}.${pyName}; -import utils.AlgsUtils; +import iail.mdk.model.utils.AlgsUtils; import java.util.HashMap; @@ -22,12 +22,12 @@ #{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", -4); + result.put("status_code", "400"); return result; } result = ${pyName}${entity.methodName}(#foreach ($column in [1..$entity.dataLength])data${column}, #{end}#{if}($entity.model==1)model, #{end}settings); - return result; + return utils.reverseResult(this.result); } #{end} } \ No newline at end of file -- Gitblit v1.9.3