Interface ProductMapper


@Mapper
public interface ProductMapper
  • Method Details

    • insert

      void insert​(Product p)
    • selectByNum

      Product selectByNum​(int num)
    • selectByNum

      java.util.List selectByNum​(java.lang.String num)
    • selectByName

      java.util.List selectByName​(java.lang.String name)
    • selectByPrice

      java.util.List selectByPrice​(java.util.Map map)
    • selectByC1

      java.util.List selectByC1​(int c1)
    • selectByC2

      java.util.List selectByC2​(int c2)
    • selectAll

      java.util.List selectAll()
    • update

      void update​(Product p)
    • delete

      void delete​(int num)
    • getNum

      int getNum()
    • selectByEvent

      java.util.ArrayList<Product> selectByEvent()
    • decreaseProduct

      void decreaseProduct​(Order o)