修改产品套餐
This commit is contained in:
@@ -12,6 +12,9 @@ public interface PrcPriceSetMapper
|
||||
{
|
||||
public PrcPriceSet selectPrcPriceSetById(Long priceSetId);
|
||||
|
||||
/** Header only (no product/customer count subqueries). */
|
||||
public PrcPriceSet selectPrcPriceSetHeaderById(Long priceSetId);
|
||||
|
||||
public List<PrcPriceSet> selectPrcPriceSetList(PrcPriceSet set);
|
||||
|
||||
public int insertPrcPriceSet(PrcPriceSet set);
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.bms.price.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import com.bms.price.domain.PrcPriceSetProduct;
|
||||
|
||||
/**
|
||||
* Package intermediate product mapper
|
||||
*/
|
||||
public interface PrcPriceSetProductMapper
|
||||
{
|
||||
public PrcPriceSetProduct selectPrcPriceSetProductById(Long pspId);
|
||||
|
||||
public List<PrcPriceSetProduct> selectPrcPriceSetProductList(PrcPriceSetProduct query);
|
||||
|
||||
public PrcPriceSetProduct selectByPsvIdAndCode(@Param("psvId") Long psvId, @Param("productCode") String productCode);
|
||||
|
||||
public int insertPrcPriceSetProduct(PrcPriceSetProduct row);
|
||||
|
||||
public int updatePrcPriceSetProduct(PrcPriceSetProduct row);
|
||||
|
||||
public int deleteByPsvId(@Param("psvId") Long psvId);
|
||||
|
||||
public int deleteByPsvIdAndCode(@Param("psvId") Long psvId, @Param("productCode") String productCode);
|
||||
|
||||
/** Copy active library products into this version (ignore duplicates). */
|
||||
public int insertFromLibrary(@Param("priceSetId") Long priceSetId, @Param("psvId") Long psvId);
|
||||
|
||||
/** Copy set products from one version to another. */
|
||||
public int copyFromVersion(@Param("srcPsvId") Long srcPsvId, @Param("newPsvId") Long newPsvId);
|
||||
|
||||
/** Bind detail.psp_id from set product by psv + product_code. */
|
||||
public int bindDetailPspByPsvId(@Param("psvId") Long psvId);
|
||||
}
|
||||
Reference in New Issue
Block a user