Compare commits
65
Commits
9256e08cfc
...
v1.0.52
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
135996ce19 | ||
|
|
e5bfb59a1c | ||
|
|
51c1d20d3c | ||
|
|
6b85cddede | ||
|
|
e486f850f2 | ||
|
|
76c2f3a5fd | ||
|
|
bb542e7510 | ||
|
|
eba4461381 | ||
|
|
f5ad238015 | ||
|
|
4bdb24e9ac | ||
|
|
425922fd04 | ||
|
|
d65424e5bf | ||
|
|
2a35793baf | ||
|
|
d22df698b6 | ||
|
|
1771bf9909 | ||
|
|
15d69f9361 | ||
|
|
2b4089ef59 | ||
|
|
20c3e1f422 | ||
|
|
3b19d9e930 | ||
|
|
5fd11e9caf | ||
|
|
0b98dcdfe9 | ||
|
|
b373cbbe46 | ||
|
|
acd97c7b9b | ||
|
|
118bdb1666 | ||
|
|
944de228f7 | ||
|
|
25c9cd4dfc | ||
|
|
882cd226ec | ||
|
|
feb4d7af66 | ||
|
|
d75ab1ed5f | ||
|
|
a501eb7443 | ||
|
|
19941d9480 | ||
|
|
cd3d522d4f | ||
|
|
181c5078e9 | ||
|
|
e97f46e6b4 | ||
|
|
c0f89deb83 | ||
|
|
ce695463d3 | ||
|
|
83c683d473 | ||
|
|
9555474b0b | ||
|
|
a150f9e017 | ||
|
|
ecd2fa1c33 | ||
|
|
e3236d262d | ||
|
|
c8e2e16ba5 | ||
|
|
99b44faf09 | ||
|
|
b3e3cbf84b | ||
|
|
0aee11d824 | ||
|
|
fcf358a768 | ||
|
|
619369104c | ||
|
|
4f1408b9d0 | ||
|
|
029eea70cc | ||
|
|
22b1e65385 | ||
|
|
2170c48763 | ||
|
|
c2d1c48aae | ||
|
|
e14958c643 | ||
|
|
da288338cd | ||
|
|
ea430f2468 | ||
|
|
f76f79744a | ||
|
|
19daaff907 | ||
|
|
db94d8f932 | ||
|
|
53618fe362 | ||
|
|
523edffc4e | ||
|
|
c7ddb1a8b0 | ||
|
|
45c9fc814a | ||
|
|
407dc13ac4 | ||
|
|
0c06bf16c2 | ||
|
|
1db39e77d3 |
@@ -11,7 +11,7 @@
|
||||
|
||||
<groupId>com.imyeyu.timiserverapi</groupId>
|
||||
<artifactId>TimiServerAPI</artifactId>
|
||||
<version>1.0.51</version>
|
||||
<version>1.0.52</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>TimiServerAPI</name>
|
||||
<description>imyeyu.com API</description>
|
||||
|
||||
@@ -5,6 +5,8 @@ import com.imyeyu.java.bean.BasePage;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/// GAO 销售订单分页请求
|
||||
///
|
||||
/// @author Codex
|
||||
@@ -25,15 +27,27 @@ public class GaoSalesOrderPage extends BasePage {
|
||||
/// 订单类型
|
||||
private GaoSalesOrder.OrderType orderType;
|
||||
|
||||
/// 订单类型列表
|
||||
private List<GaoSalesOrder.OrderType> orderTypeList;
|
||||
|
||||
/// 订单状态
|
||||
private GaoSalesOrder.Status status;
|
||||
|
||||
/// 订单状态列表
|
||||
private List<GaoSalesOrder.Status> statusList;
|
||||
|
||||
/// 付款状态
|
||||
private GaoSalesOrder.PaymentStatus paymentStatus;
|
||||
|
||||
/// 付款状态列表
|
||||
private List<GaoSalesOrder.PaymentStatus> paymentStatusList;
|
||||
|
||||
/// 退款状态
|
||||
private GaoSalesOrder.RefundStatus refundStatus;
|
||||
|
||||
/// 退款状态列表
|
||||
private List<GaoSalesOrder.RefundStatus> refundStatusList;
|
||||
|
||||
/// true 为筛选可收款且未付清订单
|
||||
private Boolean pendingReceive;
|
||||
|
||||
|
||||
@@ -31,10 +31,42 @@
|
||||
AND cp.`deleted_at` IS NULL
|
||||
)
|
||||
</if>
|
||||
<if test="orderType != null">AND o.`order_type` = #{orderType}</if>
|
||||
<if test="status != null">AND o.`status` = #{status}</if>
|
||||
<if test="paymentStatus != null">AND o.`payment_status` = #{paymentStatus}</if>
|
||||
<if test="refundStatus != null">AND o.`refund_status` = #{refundStatus}</if>
|
||||
<choose>
|
||||
<when test="orderTypeList != null and 0 < orderTypeList.size()">
|
||||
AND o.`order_type` IN
|
||||
<foreach collection="orderTypeList" item="orderTypeItem" open="(" separator="," close=")">
|
||||
#{orderTypeItem}
|
||||
</foreach>
|
||||
</when>
|
||||
<when test="orderType != null">AND o.`order_type` = #{orderType}</when>
|
||||
</choose>
|
||||
<choose>
|
||||
<when test="statusList != null and 0 < statusList.size()">
|
||||
AND o.`status` IN
|
||||
<foreach collection="statusList" item="statusItem" open="(" separator="," close=")">
|
||||
#{statusItem}
|
||||
</foreach>
|
||||
</when>
|
||||
<when test="status != null">AND o.`status` = #{status}</when>
|
||||
</choose>
|
||||
<choose>
|
||||
<when test="paymentStatusList != null and 0 < paymentStatusList.size()">
|
||||
AND o.`payment_status` IN
|
||||
<foreach collection="paymentStatusList" item="paymentStatusItem" open="(" separator="," close=")">
|
||||
#{paymentStatusItem}
|
||||
</foreach>
|
||||
</when>
|
||||
<when test="paymentStatus != null">AND o.`payment_status` = #{paymentStatus}</when>
|
||||
</choose>
|
||||
<choose>
|
||||
<when test="refundStatusList != null and 0 < refundStatusList.size()">
|
||||
AND o.`refund_status` IN
|
||||
<foreach collection="refundStatusList" item="refundStatusItem" open="(" separator="," close=")">
|
||||
#{refundStatusItem}
|
||||
</foreach>
|
||||
</when>
|
||||
<when test="refundStatus != null">AND o.`refund_status` = #{refundStatus}</when>
|
||||
</choose>
|
||||
<if test="pendingReceive != null and pendingReceive">AND o.`status` IN ('ACTIVE', 'FULFILLED') AND o.`payment_status` IN ('UNPAID', 'PARTIALLY_PAID')</if>
|
||||
<if test="fulfilledButUnpaid != null and fulfilledButUnpaid">AND o.`status` = 'FULFILLED' AND o.`paid_amount` < o.`sale_amount`</if>
|
||||
<if test="keyword != null and keyword.trim() != ''">AND (o.`order_no` LIKE CONCAT('%', #{keyword}, '%') OR c.`name` LIKE CONCAT('%', #{keyword}, '%') OR c.`code` LIKE CONCAT('%', #{keyword}, '%'))</if>
|
||||
|
||||
Reference in New Issue
Block a user