查询区域问题修复

This commit is contained in:
donqi 2022-06-23 17:22:25 +08:00
parent ae31838c9d
commit 73d125039a
1 changed files with 4 additions and 1 deletions

View File

@ -44,6 +44,9 @@
<if test="parentCode != null and parentCode != ''"> <if test="parentCode != null and parentCode != ''">
AND parent_code = #{parentCode} AND parent_code = #{parentCode}
</if> </if>
<if test="parentCode == null">
AND parent_code is null
</if>
</where> </where>
</select> </select>
@ -130,4 +133,4 @@
) )
</insert> </insert>
</mapper> </mapper>