id,sn_code,create_time,update_time,tb_status INSERT INTO ${tableName} ( sn_code ) VALUES ( #{entity.snCode} ) INSERT INTO ${tableName} ( sn_code ) VALUES (#{entity.snCode}) UPDATE ${tableName} SET sn_code=#{entity.snCode}, tb_status=#{entity.tbStatus} WHERE id = #{entity.id} UPDATE ${tableName} SET ${field} ${value} ${key}