<update id="update" parameterType="XXX">
update XX set YY <choose> <when test="dmlItem.id != null"> where XX1 </when> <otherwise> where XX2 </otherwise> </choose></update>本文共 224 字,大约阅读时间需要 1 分钟。
<update id="update" parameterType="XXX">
update XX set YY <choose> <when test="dmlItem.id != null"> where XX1 </when> <otherwise> where XX2 </otherwise> </choose></update>转载于:https://www.cnblogs.com/huhuixin/p/6060729.html