| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- package com.ruoyi.basicData.mapper;
- import com.ruoyi.basicData.domain.TCorps;
- import com.ruoyi.basicData.domain.TGoods;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Param;
- import java.util.List;
- import java.util.Map;
- /**
- * 商品详情Mapper接口
- *
- * @author ruoyi
- * @date 2020-12-11
- */
- @Mapper
- public interface TGoodsMapper {
- /**
- * 查询商品详情
- *
- * @param fId 商品详情ID
- * @return 商品详情
- */
- public TGoods selectTGoodsById(Long fId);
- /**
- * 查询商品详情列表
- *
- * @param tGoods 商品详情
- * @return 商品详情集合
- */
- public List<TGoods> selectTGoodsList(TGoods tGoods);
- /**
- * 新增商品详情
- *
- * @param tGoods 商品详情
- * @return 结果
- */
- public int insertTGoods(TGoods tGoods);
- /**
- * 修改商品详情
- *
- * @param tGoods 商品详情
- * @return 结果
- */
- public int updateTGoods(TGoods tGoods);
- /**
- * 删除商品详情
- *
- * @param fId 商品详情ID
- * @return 结果
- */
- public int deleteTGoodsById(Long fId);
- /**
- * 批量删除商品详情
- *
- * @param fIds 需要删除的数据ID
- * @return 结果
- */
- public int deleteTGoodsByIds(Long[] fIds);
- /**
- * 检验编号唯一
- * @param fNo
- * @return
- */
- public TGoods checkFNoUnique(String fNo);
- /**
- * 检验名称
- * @param fNname
- * @return
- */
- public TGoods checkUFNnameUnique(String fNname);
- /**
- * 获取商品名
- * @return
- */
- public List<Map<String,Object>> getGoodName();
- /**
- * 更具id集合查询商品集合
- * @param ids
- * @return
- */
- List<TGoods> selectByIds(@Param("ids") List<Long> ids);
- public TGoods getGoodsByNo(String fNo);
- public TGoods getGoodsByName(String fName);
- TGoods getById(String id);
- }
|