Commit bd8df258 authored by wujipeng's avatar wujipeng
Browse files

优化

parent 4b4e4756
......@@ -4,10 +4,7 @@
<mapper namespace="com.platform.mapper.WhiteMapper">
<insert id="saveWhite">
insert IGNORE into white(name, account, time, user)
values
<foreach collection="whiteDTO.nameList" item="name" separator=",">
(#{name}, #{whiteDTO.account}, #{whiteDTO.time}, #{whiteDTO.user})
</foreach>
values (#{name}, #{whiteDTO.account}, #{whiteDTO.time}, #{whiteDTO.user})
</insert>
<select id="pageWhite" resultType="com.platform.model.vo.WhiteVO">
......
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