master:系统调优;
parent
f77d15f4f5
commit
dc5e629d2c
|
|
@ -14,6 +14,8 @@ import org.apache.poi.ss.usermodel.IndexedColors;
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
public class StoreProdDemandDownloadDTO {
|
public class StoreProdDemandDownloadDTO {
|
||||||
|
|
||||||
|
@Excel(name = "日期", width = 4, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
|
||||||
|
private String createTime;
|
||||||
@Excel(name = "客户", width = 10, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
|
@Excel(name = "客户", width = 10, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
|
||||||
private String partnerName;
|
private String partnerName;
|
||||||
@Excel(name = "商标", width = 10, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
|
@Excel(name = "商标", width = 10, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
|
||||||
|
|
@ -22,8 +24,6 @@ public class StoreProdDemandDownloadDTO {
|
||||||
private String facName;
|
private String facName;
|
||||||
@Excel(name = "需求单号", needMerge = true, width = 18, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
|
@Excel(name = "需求单号", needMerge = true, width = 18, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
|
||||||
private String code;
|
private String code;
|
||||||
@Excel(name = "日期", width = 4, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
|
|
||||||
private String createTime;
|
|
||||||
@Excel(name = "工厂货号", width = 10, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
|
@Excel(name = "工厂货号", width = 10, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
|
||||||
private String factoryArtNum;
|
private String factoryArtNum;
|
||||||
@Excel(name = "商品货号", width = 10, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
|
@Excel(name = "商品货号", width = 10, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
|
||||||
|
|
|
||||||
|
|
@ -38,13 +38,6 @@ public interface StoreProductMapper extends BaseMapper<StoreProduct> {
|
||||||
*/
|
*/
|
||||||
List<ProductESDTO> selectESDTOList(@Param("idList") List<Long> idList);
|
List<ProductESDTO> selectESDTOList(@Param("idList") List<Long> idList);
|
||||||
|
|
||||||
/**
|
|
||||||
* 获取风格列表
|
|
||||||
*
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
List<String> getStyleList();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取档口商品的sku列表
|
* 获取档口商品的sku列表
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -823,17 +823,6 @@ public class StoreProductServiceImpl implements IStoreProductService {
|
||||||
return this.storeProdMapper.fuzzyQueryResPicList(storeId, prodArtNum);
|
return this.storeProdMapper.fuzzyQueryResPicList(storeId, prodArtNum);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 获取商品所有的风格
|
|
||||||
*
|
|
||||||
* @return List<String>
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
@Transactional(readOnly = true)
|
|
||||||
public List<String> getStyleList() {
|
|
||||||
return this.storeProdMapper.getStyleList();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APP获取档口商品详情
|
* APP获取档口商品详情
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<select id="selectDiscPageRelate" resultType="com.ruoyi.xkt.dto.storeCusProdDiscount.StoreCusProdDiscPageResDTO">
|
<select id="selectDiscPageRelate" resultType="com.ruoyi.xkt.dto.storeCusProdDiscount.StoreCusProdDiscPageResDTO">
|
||||||
SELECT
|
SELECT
|
||||||
spc.id AS storeProdColorId,
|
spc.id AS storeProdColorId,
|
||||||
|
spc.store_prod_id,
|
||||||
|
spc.store_color_id,
|
||||||
spc.color_name,
|
spc.color_name,
|
||||||
MIN(spcs.price) AS price
|
MIN(spcs.price) AS price
|
||||||
FROM
|
FROM
|
||||||
|
|
@ -45,7 +47,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
GROUP BY
|
GROUP BY
|
||||||
spc.id,
|
spc.id,
|
||||||
spc.store_prod_id,
|
spc.store_prod_id,
|
||||||
spc.store_color_id
|
spc.store_color_id,
|
||||||
|
spc.color_name
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<update id="deleteProdDisc">
|
<update id="deleteProdDisc">
|
||||||
|
|
|
||||||
|
|
@ -55,20 +55,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
<select id="getStyleList" >
|
|
||||||
SELECT
|
|
||||||
style
|
|
||||||
FROM
|
|
||||||
store_product_category_attribute
|
|
||||||
WHERE
|
|
||||||
del_flag = 0 AND style != ''
|
|
||||||
GROUP BY
|
|
||||||
style
|
|
||||||
ORDER BY
|
|
||||||
COUNT( 1 ) DESC
|
|
||||||
</select>
|
|
||||||
|
|
||||||
|
|
||||||
<select id="selectSkuList" resultType="com.ruoyi.xkt.dto.storeProduct.StoreProdSkuDTO" >
|
<select id="selectSkuList" resultType="com.ruoyi.xkt.dto.storeProduct.StoreProdSkuDTO" >
|
||||||
SELECT
|
SELECT
|
||||||
spc.id AS storeProdColorId,
|
spc.id AS storeProdColorId,
|
||||||
|
|
@ -276,7 +262,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
AND sp.store_id = #{storeId}
|
AND sp.store_id = #{storeId}
|
||||||
GROUP BY
|
GROUP BY
|
||||||
sp.prod_status,
|
sp.prod_status,
|
||||||
sp.prod_cate_id
|
sp.prod_cate_id,
|
||||||
|
sp.prod_cate_name
|
||||||
ORDER BY
|
ORDER BY
|
||||||
cateCount DESC
|
cateCount DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue