|
|
@@ -964,7 +964,7 @@ ORDER BY
|
|
|
order by BO.create_time desc
|
|
|
</select>
|
|
|
<select id="selSalesProfit" resultType="org.springblade.purchase.sales.vo.SalesDetailsVo">
|
|
|
- SELECT
|
|
|
+ SELECT DISTINCT
|
|
|
BO.id AS orderId,
|
|
|
BO.order_no AS orderNo,
|
|
|
BGD.Brand AS brand,
|
|
|
@@ -1057,7 +1057,7 @@ ORDER BY
|
|
|
order by BO.create_time desc
|
|
|
</select>
|
|
|
<select id="selSalesProfitExport" resultType="org.springblade.purchase.sales.excel.SalesProfitExcel">
|
|
|
- SELECT
|
|
|
+ SELECT DISTINCT
|
|
|
BO.order_no AS orderNo,
|
|
|
BCD.cname AS corpName,
|
|
|
BO.create_time AS careteTime,
|