New file |
| | |
| | | package com.yeshi.fanli.dao.mybatis.goods; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.goods.CommonGoods; |
| | | |
| | | public interface CommonGoodsMapper { |
| | | |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | int insert(CommonGoods record); |
| | | |
| | | int insertSelective(CommonGoods record); |
| | | |
| | | CommonGoods selectByPrimaryKey(Long id); |
| | | |
| | | CommonGoods selectByGoodsIdAndGoodsType(@Param("goodsId") Long goodsId, @Param("goodsType") int goodsType); |
| | | |
| | | int updateByPrimaryKeySelective(CommonGoods record); |
| | | |
| | | int updateByPrimaryKey(CommonGoods record); |
| | | } |