Authored by saihide

hrshopId

... ... @@ -18,8 +18,6 @@ public interface ProductPoolDetailMapper {
List<ProductPoolDetail> selectByProductId(Integer productId);
ProductPoolDetail selectByPoolId(Integer poolId);
int updateByPrimaryKeySelective(ProductPoolDetail record);
int updateByPrimaryKey(ProductPoolDetail record);
... ...
... ... @@ -51,12 +51,6 @@
from product_pool_detail
where productSkn = #{productSkn,jdbcType=INTEGER}
</select>
<select id="selectByPoolId" resultMap="BaseResultMap" parameterType="java.lang.Integer">
select
<include refid="Base_Column_List"/>
from product_pool_detail
where pool_id = #{poolId,jdbcType=INTEGER} limit 1
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from product_pool_detail
where id = #{id,jdbcType=INTEGER}
... ...
... ... @@ -19,14 +19,8 @@ import org.springframework.stereotype.Component;
@SearchMqConsumerListerner(tableName = "product_pool")
public class ProductPoolMqListener extends AbstractMqListener {
private static final Logger LOGGER = LoggerFactory.getLogger(ProductPoolMqListener.class);
@Autowired
private ProductPoolService productPoolService;
@Autowired
private ProductService productService;
@Autowired
private ProductPoolDetailService productPoolDetailService;
@Override
public String getIndexName() {
... ...
... ... @@ -36,10 +36,6 @@ public class ProductPoolDetailService {
return productPoolDetailMapper.selectByProductSkn(productSkn);
}
public ProductPoolDetail selectByPoolId(Integer poolId) {
return productPoolDetailMapper.selectByPoolId(poolId);
}
public int updateByPrimaryKeySelective(ProductPoolDetail record) {
return productPoolDetailMapper.updateByPrimaryKeySelective(record);
}
... ...