|
|
@@ -64,7 +64,7 @@
|
|
|
</sql>
|
|
|
|
|
|
<!--查询单个-->
|
|
|
- <select id="selectById" resultMap="UserMap">
|
|
|
+ <select id="queryById" resultMap="UserMap">
|
|
|
select
|
|
|
<include refid="UserAllSql"/>
|
|
|
from user
|
|
|
@@ -441,7 +441,12 @@
|
|
|
<if test="listedNature != null">
|
|
|
listed_nature ,
|
|
|
</if>
|
|
|
- <if test=""
|
|
|
+ <if test="newUser != null">
|
|
|
+ new_user ,
|
|
|
+ </if>
|
|
|
+ <if test="privateValid != null">
|
|
|
+ private_valid ,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id,jdbcType=VARCHAR},</if>
|
|
|
@@ -511,6 +516,12 @@
|
|
|
<if test="listedNature != null">
|
|
|
#{listedNature},
|
|
|
</if>
|
|
|
+ <if test="newUser != null">
|
|
|
+ #{newUser},
|
|
|
+ </if>
|
|
|
+ <if test="privateValid != null">
|
|
|
+ #{privateValid},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|