Package com.example.demo.product
Interface ProductMapper
@Mapper
public interface ProductMapper
-
Method Summary
Modifier and Type Method Description voiddecreaseProduct(Order o)voiddelete(int num)intgetNum()voidinsert(Product p)java.util.ListselectAll()java.util.ListselectByC1(int c1)java.util.ListselectByC2(int c2)java.util.ArrayList<Product>selectByEvent()java.util.ListselectByName(java.lang.String name)ProductselectByNum(int num)java.util.ListselectByNum(java.lang.String num)java.util.ListselectByPrice(java.util.Map map)voidupdate(Product p)
-
Method Details
-
insert
-
selectByNum
-
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
-
delete
void delete(int num) -
getNum
int getNum() -
selectByEvent
java.util.ArrayList<Product> selectByEvent() -
decreaseProduct
-