摘要:
sql <update id="updateDate" resultType="com.entity.User"> update 表 set <if test ="id !=null and id !=' ' " > id =#{id} </if> <if test ="name!=null and 阅读全文
摘要:
转载地址:https://blog.csdn.net/weixin_46163590/article/details/106013896 1、关键字作用:WITH AS短语,也叫做子查询部分,定义一个SQL片断后,该SQL片断可以被整个SQL语句所用到。有的时候,with as是为了提高SQL语句的 阅读全文