id,user_name,phone,scene_index,description,weixin,enterprise_name,count,order_time,create_time,rec_status,update_time,tb_status INSERT INTO ${tableName} ( user_name, phone, scene_index, description, weixin, enterprise_name, count, order_time, rec_status ) VALUES ( #{entity.userName}, #{entity.phone}, #{entity.sceneIndex}, #{entity.description}, #{entity.weixin}, #{entity.enterpriseName}, #{entity.count}, #{entity.orderTime}, #{entity.recStatus} ) INSERT INTO ${tableName} ( user_name, phone, scene_index, description, weixin, enterprise_name, count, order_time, rec_status ) VALUES (#{entity.userName}, #{entity.phone}, #{entity.sceneIndex}, #{entity.description}, #{entity.weixin}, #{entity.enterpriseName}, #{entity.count}, #{entity.orderTime}, #{entity.recStatus}) UPDATE ${tableName} SET user_name=#{entity.userName}, phone=#{entity.phone}, scene_index=#{entity.sceneIndex}, description=#{entity.description}, weixin=#{entity.weixin}, enterprise_name=#{entity.enterpriseName}, count=#{entity.count}, order_time=#{entity.orderTime}, rec_status=#{entity.recStatus}, tb_status=#{entity.tbStatus} WHERE id = #{entity.id} UPDATE ${tableName} SET ${field} ${value} ${key}