id,shop_id,count,time_over,product_id,amount
    
    
    
    
        delete from sale_statement
        where  id = #{id}
    
    
        insert into sale_statement
        
            id,
            shop_id,
            count,
            time_over,
            product_id,
            amount,
        
        
            #{id},
            #{shopId},
            #{count},
            #{timeOver},
            #{productId},
            #{amount},
        
    
    
        update sale_statement
        
            
                shop_id = #{shopId},
            
            
                count = #{count},
            
            
                time_over = #{timeOver},
            
            
                product_id = #{productId},
            
            
                amount = #{amount},
            
        
        where id = #{id}