Remove unused methods

pull/8040/head
Qiuyi LI 2024-08-14 12:07:02 +02:00
parent 695b9be21f
commit 0259dfbf1e
2 changed files with 0 additions and 42 deletions

View File

@ -1,7 +1,6 @@
package org.jeecg.modules.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.business.entity.ClientPlatformOrderContent;
import org.jeecg.modules.business.entity.PlatformOrderContent;
@ -12,7 +11,6 @@ import org.jeecg.modules.business.vo.SkuQuantity;
import org.jeecg.modules.business.vo.SkuWeightDiscountServiceFees;
import org.springframework.stereotype.Repository;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
@ -51,13 +49,6 @@ public interface PlatformOrderContentMapper extends BaseMapper<PlatformOrderCont
List<SkuWeightDiscountServiceFees> getAllWeightsDiscountsServiceFees();
List<PlatformOrderContent> findUninvoicedOrderContents(
@Param("shopIDs") List<String> shopIds,
@Param("begin") Date begin,
@Param("end") Date end
);
List<PlatformOrderContent> findUninvoicedOrderContents(@Param("orderIds") List<String> orderIds);
/**
* Find all uninvoiced order content for specified shop between order time period with specified status ([1,2] or [1,2,3])
*

View File

@ -109,39 +109,6 @@
</constructor>
</resultMap>
<select id="findUninvoicedOrderContents" resultType="org.jeecg.modules.business.entity.PlatformOrderContent">
SELECT poc.*
FROM platform_order_content poc
JOIN platform_order po ON poc.platform_order_id = po.id
WHERE po.shop_id IN
<foreach
collection="shopIDs"
index="index"
item="item"
open="("
close=")"
separator=",">
#{item}
</foreach>
AND po.shipping_time >= #{begin}
AND #{end} >= po.shipping_time
AND po.shipping_invoice_number IS NULL
AND poc.erp_status = 3
</select>
<select id="findUninvoicedOrderContents" resultType="org.jeecg.modules.business.entity.PlatformOrderContent">
SELECT poc.*
FROM platform_order_content poc
WHERE platform_order_id IN
<foreach
collection="orderIds"
index="index"
item="orderId"
open="("
close=")"
separator=",">
#{orderId}
</foreach>
</select>
<select id="findUninvoicedOrderContentsForShopsAndStatus" resultType="org.jeecg.modules.business.entity.PlatformOrderContent">
SELECT poc.*
FROM platform_order_content poc