This is an automated email from the ASF dual-hosted git repository.
leonbao pushed a commit to branch json_split
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/json_split by this push:
new f960eac [FixBug][Jsonsplit] sql condition bug #4417 (#5171)
f960eac is described below
commit f960eacdcd00fdb8680ff9d976870aa71af1035d
Author: wen-hemin <[email protected]>
AuthorDate: Mon Mar 29 22:17:28 2021 +0800
[FixBug][Jsonsplit] sql condition bug #4417 (#5171)
* fix: task page, rename "description" to "desc"
* fix: The default value of field dependence is null.
* fix: frontend compile check
* fix: When create process, the version button is set to unavailable
* fix: sql condition bug
Co-authored-by: wen-hemin <[email protected]>
---
.../org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml
b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml
index 09a6427..a16480f 100644
---
a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml
+++
b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml
@@ -49,7 +49,7 @@
<include refid="baseSql"/>
from t_ds_process_definition
where 1 = 1
- <if test="codes != null and codes.length != 0">
+ <if test="codes != null and codes.size() != 0">
and code in
<foreach collection="codes" index="index" item="i" open="("
separator="," close=")">
#{i}