master:系统调优;

pull/1121/head
liujiang 2025-11-18 11:35:02 +08:00
parent f77d15f4f5
commit dc5e629d2c
5 changed files with 8 additions and 36 deletions

View File

@ -14,6 +14,8 @@ import org.apache.poi.ss.usermodel.IndexedColors;
@Accessors(chain = true)
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)
private String partnerName;
@Excel(name = "商标", width = 10, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
@ -22,8 +24,6 @@ public class StoreProdDemandDownloadDTO {
private String facName;
@Excel(name = "需求单号", needMerge = true, width = 18, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)
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)
private String factoryArtNum;
@Excel(name = "商品货号", width = 10, height = 24, headerBackgroundColor = IndexedColors.SKY_BLUE)

View File

@ -38,13 +38,6 @@ public interface StoreProductMapper extends BaseMapper<StoreProduct> {
*/
List<ProductESDTO> selectESDTOList(@Param("idList") List<Long> idList);
/**
*
*
* @return
*/
List<String> getStyleList();
/**
* sku
*

View File

@ -823,17 +823,6 @@ public class StoreProductServiceImpl implements IStoreProductService {
return this.storeProdMapper.fuzzyQueryResPicList(storeId, prodArtNum);
}
/**
*
*
* @return List<String>
*/
@Override
@Transactional(readOnly = true)
public List<String> getStyleList() {
return this.storeProdMapper.getStyleList();
}
/**
* APP
*

View File

@ -32,6 +32,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectDiscPageRelate" resultType="com.ruoyi.xkt.dto.storeCusProdDiscount.StoreCusProdDiscPageResDTO">
SELECT
spc.id AS storeProdColorId,
spc.store_prod_id,
spc.store_color_id,
spc.color_name,
MIN(spcs.price) AS price
FROM
@ -45,7 +47,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
GROUP BY
spc.id,
spc.store_prod_id,
spc.store_color_id
spc.store_color_id,
spc.color_name
</select>
<update id="deleteProdDisc">

View File

@ -55,20 +55,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</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
spc.id AS storeProdColorId,
@ -276,7 +262,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND sp.store_id = #{storeId}
GROUP BY
sp.prod_status,
sp.prod_cate_id
sp.prod_cate_id,
sp.prod_cate_name
ORDER BY
cateCount DESC
</select>