From 6e35192ad8eb1f93a831fc6888e874344ecfd4eb Mon Sep 17 00:00:00 2001 From: 姜友瑶 <935090232@qq.com> Date: Mon, 13 Jun 2022 16:29:57 +0800 Subject: [PATCH] Merge branch 'developer' --- zq-erp/src/main/resources/mybatis/mapper/hive/ArticleTypeDao.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/ArticleTypeDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/ArticleTypeDao.xml index 1cdc488..bb312b7 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/ArticleTypeDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/ArticleTypeDao.xml @@ -232,7 +232,7 @@ <if test="record.articleTypeName != null and record.articleTypeName !='' "> and article_type_name = #{record.articleTypeName} </if> - <if test="record.parentId != null and record.parentId !='' "> + <if test="record.parentId != null or record.parentId ==0 "> and parent_id = #{record.parentId} </if> <if test="record.sort != null and record.sort !='' "> -- Gitblit v1.9.1