|
@@ -13,6 +13,9 @@
|
|
|
<!--除主键外的所有字段,用于插入操作-->
|
|
|
<sql id="columns">
|
|
|
<trim suffixOverrides=",">
|
|
|
+ <if test="webSite != null">
|
|
|
+ `web_site`,
|
|
|
+ </if>
|
|
|
<if test="email != null">
|
|
|
`email`,
|
|
|
</if>
|
|
@@ -28,9 +31,6 @@
|
|
|
<if test="createTime != null">
|
|
|
`create_time`,
|
|
|
</if>
|
|
|
- <if test="example.webSite != null">
|
|
|
- AND `web_site` = #{example.webSite}
|
|
|
- </if>
|
|
|
</trim>
|
|
|
</sql>
|
|
|
<!--按照主键值进行操作-->
|