From 8c32fe69d8a0cd12617e1487f5aff689814faaaa Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 12 Mar 2021 18:28:35 +0800 Subject: [PATCH] 分销员后台0312 --- 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