package com.service;
import java.util.List;
import com.bean.Goods;
import org.apache.ibatis.annotations.Param;
public interface GoodsService {
public List<Goods> findallgoods(String name);
public int addGoods(Goods goods);
public int delGoods(int id);
}
Here, I speak query, delete, add also gave out. In the back to use.