| | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @Service |
| | | public class ShopFileServiceImpl extends ServiceImpl<ShopFileMapper, ShopFile> implements ShopFileService { |
| | | |
| | | @Resource |
| | | private ShopFileMapper shopFileMapper; |
| | | |
| | | /** |
| | | * 通过商户id获取商户文件 |
| | |
| | | return this.list(queryWrapper); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 通过商户id删除关联 |
| | | * @param shopId |
| | | */ |
| | | @Override |
| | | public void deleteByShopId(Long shopId){ |
| | | shopFileMapper.deleteByShopId(shopId); |
| | | } |
| | | } |