修改SQL

This commit is contained in:
yuyang 2022-05-19 10:55:08 +08:00
parent a90d5a8c82
commit 474aecfec6

View File

@ -76,9 +76,9 @@
from xhpc_work_type_dict
where del_flag=0 and name = #{name}
<choose>
<if test="parentId == null">
<when test="parentId == null">
and parent_type_id is null
</if>
</when>
<otherwise>
and parent_type_id=#{parentId}
</otherwise>