修改SQL
This commit is contained in:
parent
a90d5a8c82
commit
474aecfec6
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user