|
|
@@ -20,6 +20,9 @@
|
|
20
|
20
|
<if test="null != del_flag">
|
|
21
|
21
|
del_flag,
|
|
22
|
22
|
</if>
|
|
|
23
|
+ <if test="null != user_type">
|
|
|
24
|
+ user_type,
|
|
|
25
|
+ </if>
|
|
23
|
26
|
</trim>
|
|
24
|
27
|
|
|
25
|
28
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
@@ -38,6 +41,9 @@
|
|
38
|
41
|
<if test="null != del_flag">
|
|
39
|
42
|
#{del_flag},
|
|
40
|
43
|
</if>
|
|
|
44
|
+ <if test="null != user_type">
|
|
|
45
|
+ #{user_type},
|
|
|
46
|
+ </if>
|
|
41
|
47
|
</trim>
|
|
42
|
48
|
</insert>
|
|
43
|
49
|
|
|
|
@@ -59,6 +65,9 @@
|
|
59
|
65
|
<if test="null != del_flag">
|
|
60
|
66
|
del_flag = #{del_flag},
|
|
61
|
67
|
</if>
|
|
|
68
|
+ <if test="null != user_type">
|
|
|
69
|
+ user_type = #{user_type},
|
|
|
70
|
+ </if>
|
|
62
|
71
|
</set>
|
|
63
|
72
|
where id = #{id}
|
|
64
|
73
|
</update>
|
|
|
@@ -69,14 +78,16 @@
|
|
69
|
78
|
uid,
|
|
70
|
79
|
num,
|
|
71
|
80
|
date,
|
|
72
|
|
- create_time )
|
|
|
81
|
+ create_time,
|
|
|
82
|
+ user_type )
|
|
73
|
83
|
values
|
|
74
|
84
|
<foreach collection="list" separator="," item="row">
|
|
75
|
85
|
(
|
|
76
|
86
|
#{row.uid },
|
|
77
|
87
|
#{row.num },
|
|
78
|
88
|
#{row.date },
|
|
79
|
|
- #{row.create_time } )
|
|
|
89
|
+ #{row.createTime },
|
|
|
90
|
+ #{row.userType } )
|
|
80
|
91
|
</foreach>
|
|
81
|
92
|
</insert>
|
|
82
|
93
|
</mapper>
|