Commit 528b3acd authored by huyuchen's avatar huyuchen

huyc 项目档案代码提交

parent fd772f5f
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
<insert id="batchInsertUser" parameterType="java.util.List"> <insert id="batchInsertUser" parameterType="java.util.List">
insert into sys_user insert into sys_user
(user_id,username,phone,email,password,nickname,ucreate_time) (user_id,username,phone,email,password,nickname,create_time)
VALUES VALUES
<foreach collection="list" item="item" index="index" separator=","> <foreach collection="list" item="item" index="index" separator=",">
( (
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="uupdate_time =case" suffix="end,"> <trim prefix="update_time =case" suffix="end,">
<foreach collection="list" item="i" index="index"> <foreach collection="list" item="i" index="index">
when username=#{i.uid} then now() when username=#{i.uid} then now()
</foreach> </foreach>
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="uupdate_time =case" suffix="end,"> <trim prefix="update_time =case" suffix="end,">
<foreach collection="list" item="i" index="index"> <foreach collection="list" item="i" index="index">
when username=#{i.userId} then now() when username=#{i.userId} then now()
</foreach> </foreach>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment