当前使用版本(必填,否则不予处理)

3.3.2

该问题是如何引起的?(确定最新版也有问题再提!!!)

insert

重现步骤(如果有就写完整)

报错信息

就是普通插入数据的时候会拼接两个一样的del_flag org.springframework.jdbc.BadSqlGrammarException:

Error updating database. Cause: java.sql.SQLSyntaxErrorException: Column 'del_flag' specified twice

The error may exist in cn/stylefeng/guns/modular/work/activity/mapper/ActivityMapper.java (best guess)

The error may involve cn.stylefeng.guns.modular.work.activity.mapper.ActivityMapper.insert-Inline

The error occurred while setting parameters

SQL: INSERT INTO xxx ( id, del_flag, del_flag, begin_time, end_time, airdrop_id, referee_num, title, introduce, images, create_time, create_user, update_time, update_user ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )

Cause: java.sql.SQLSyntaxErrorException: Column 'del_flag' specified twice

; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Column 'del_flag' specified twice

Comment From: zhangqin2016

有人吗

Comment From: miemieYaho

给出你的复现demo

Comment From: zhangqin2016

我的问题,注解复制的时候与字段不匹配