Commit 992d316a authored by fangxinjiang's avatar fangxinjiang

客户服务平台-fxj

parent 94c89f83
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
</select> </select>
<update id="updateAllAncestors"> <update id="updateAllAncestors">
update sys_dept set ancestors = REPLACE(ancestors,#{oldStr},#{newStr}) where project_no = #{projectNo} update sys_dept set ancestors = REPLACE(ancestors,#{oldStr},#{newStr}) where project_no = #{projectNo} and ancestors like concat(#{oldStr},',', '%')
</update> </update>
</mapper> </mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment