@ -98,4 +98,8 @@ public class ResiUserBadgeDTO implements Serializable {
*/
private Date updatedTime;
public ResiUserBadgeDTO() {
this.delFlag = "0";
this.revision = 0;
}
@ -20,7 +20,7 @@
UPDATED_TIME
)
VALUES
<foreach collection="badges" item="b" index="b" separator=",">
<foreach collection="badges" item="b" separator=",">
(
REPLACE(UUID(),'-',''),
#{b.customerId},
@ -32,7 +32,7 @@
#{b.delFlag},
#{b.revision},
NOW(),
NOW()
</foreach>
</insert>