mirror of https://github.com/jeecgboot/jeecg-boot
Remove unused methods
parent
94b53e2437
commit
a63e24ddf5
|
@ -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;
|
||||
|
@ -11,7 +10,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;
|
||||
|
||||
|
@ -50,13 +48,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])
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue