|
|
|
@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
|
|
import com.wayn.common.core.domain.shop.ColumnGoodsRelation;
|
|
|
|
|
import com.wayn.common.core.mapper.shop.ColumnGoodsRelationMapper;
|
|
|
|
|
import com.wayn.common.core.service.shop.IColumnGoodsRelationService;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -17,4 +18,11 @@ import org.springframework.stereotype.Service;
|
|
|
|
|
@Service
|
|
|
|
|
public class ColumnGoodsRelationServiceImpl extends ServiceImpl<ColumnGoodsRelationMapper, ColumnGoodsRelation> implements IColumnGoodsRelationService {
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private ColumnGoodsRelationMapper columnGoodsRelationMapper;
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Integer getGoodsNum(Long columnId) {
|
|
|
|
|
return columnGoodsRelationMapper.getGoodsNum(columnId);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|