id,email,content,create_time,update_time,rec_status,phone,note_type,note_content,state,contact,tb_status INSERT INTO ${tableName} ( email, content, rec_status, phone, note_type, note_content, state, contact ) VALUES ( #{entity.email}, #{entity.content}, #{entity.recStatus}, #{entity.phone}, #{entity.noteType}, #{entity.noteContent}, #{entity.state}, #{entity.contact} ) INSERT INTO ${tableName} ( email, content, rec_status, phone, note_type, note_content, state, contact ) VALUES (#{entity.email}, #{entity.content}, #{entity.recStatus}, #{entity.phone}, #{entity.noteType}, #{entity.noteContent}, #{entity.state}, #{entity.contact}) UPDATE ${tableName} SET email=#{entity.email}, content=#{entity.content}, rec_status=#{entity.recStatus}, phone=#{entity.phone}, note_type=#{entity.noteType}, note_content=#{entity.noteContent}, state=#{entity.state}, contact=#{entity.contact}, tb_status=#{entity.tbStatus} WHERE id = #{entity.id} UPDATE ${tableName} SET ${field} ${value} ${key}