diff --git a/pom.xml b/pom.xml
index e27a66e..b026699 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
com.imyeyu.timiserverapi
TimiServerAPI
- 1.0.78
+ 1.0.79
jar
TimiServerAPI
imyeyu.com API
diff --git a/src/main/java/com/imyeyu/api/modules/app/service/AppVersionService.java b/src/main/java/com/imyeyu/api/modules/app/service/AppVersionService.java
index 73d6acb..2c0bd4c 100644
--- a/src/main/java/com/imyeyu/api/modules/app/service/AppVersionService.java
+++ b/src/main/java/com/imyeyu/api/modules/app/service/AppVersionService.java
@@ -57,10 +57,10 @@ public class AppVersionService {
public static final String SHELL_JSON_AWARE_VERSION = "1.5.0";
/// 更新日志最多返回的版本条数
- public static final int MAX_NOTES = 20;
+ public static final int MAX_NOTES = 8;
/// 已是最新时展示的版本条数
- public static final int TAIL_NOTES = 3;
+ public static final int TAIL_NOTES = 8;
/// 灰度基数
private static final long GRAY_BASE = 10000L;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/ai/service/implement/GaoAiQueryServiceImplement.java b/src/main/java/com/imyeyu/api/modules/gao/ai/service/implement/GaoAiQueryServiceImplement.java
index 9c2b36c..1054fd4 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/ai/service/implement/GaoAiQueryServiceImplement.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/ai/service/implement/GaoAiQueryServiceImplement.java
@@ -38,17 +38,17 @@ import com.imyeyu.api.modules.gao.service.GaoSalesOrderService;
import com.imyeyu.api.modules.gao.service.GaoStoreBusinessDayService;
import com.imyeyu.api.modules.gao.service.GaoStoreDiaryService;
import com.imyeyu.api.modules.gao.service.GaoStoreService;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerPage;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerPackagePage;
-import com.imyeyu.api.modules.gao.vo.GaoEventRecordPage;
-import com.imyeyu.api.modules.gao.vo.GaoFundRecordPage;
-import com.imyeyu.api.modules.gao.vo.GaoPointLedgerPage;
-import com.imyeyu.api.modules.gao.vo.GaoPointRedemptionPage;
-import com.imyeyu.api.modules.gao.vo.GaoProductChartReq;
-import com.imyeyu.api.modules.gao.vo.GaoProductStockPage;
-import com.imyeyu.api.modules.gao.vo.GaoSalesOrderChartReq;
-import com.imyeyu.api.modules.gao.vo.GaoSalesOrderPage;
-import com.imyeyu.api.modules.gao.vo.GaoStoreDiaryPage;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerPage;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerPackagePage;
+import com.imyeyu.api.modules.gao.vo.event.GaoEventRecordPage;
+import com.imyeyu.api.modules.gao.vo.fund.GaoFundRecordPage;
+import com.imyeyu.api.modules.gao.vo.point.GaoPointLedgerPage;
+import com.imyeyu.api.modules.gao.vo.point.GaoPointRedemptionPage;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductChartReq;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductStockPage;
+import com.imyeyu.api.modules.gao.vo.salesorder.GaoSalesOrderChartReq;
+import com.imyeyu.api.modules.gao.vo.salesorder.GaoSalesOrderPage;
+import com.imyeyu.api.modules.gao.vo.store.GaoStoreDiaryPage;
import com.imyeyu.spring.bean.PageResult;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerChartController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerChartController.java
index 7f54169..0555ed6 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerChartController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerChartController.java
@@ -4,11 +4,11 @@ import com.imyeyu.api.modules.gao.annotation.RequireGaoPermission;
import com.imyeyu.api.modules.gao.bean.GaoPermissionCode;
import com.imyeyu.api.modules.gao.service.GaoCustomerChartService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerChartReq;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerDiseaseWordReq;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerDiseaseWordView;
-import com.imyeyu.api.modules.gao.vo.GaoEventRecordCalendarView;
-import com.imyeyu.api.modules.gao.vo.GaoEventRecordDailyStatView;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerChartReq;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerDiseaseWordReq;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerDiseaseWordView;
+import com.imyeyu.api.modules.gao.vo.event.GaoEventRecordCalendarView;
+import com.imyeyu.api.modules.gao.vo.event.GaoEventRecordDailyStatView;
import com.imyeyu.java.bean.timi.TimiException;
import com.imyeyu.spring.annotation.AOPLog;
import com.imyeyu.spring.annotation.RequestRateLimit;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerConsumptionRecordController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerConsumptionRecordController.java
index 18e17c4..086e367 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerConsumptionRecordController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerConsumptionRecordController.java
@@ -8,8 +8,8 @@ import com.imyeyu.api.modules.gao.entity.GaoCustomerConsumptionRecord;
import com.imyeyu.api.modules.gao.service.GaoCustomerConsumptionRecordService;
import com.imyeyu.api.modules.gao.service.GaoCustomerService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerConsumptionRecordPage;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerConsumptionRecordPageResult;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerConsumptionRecordPage;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerConsumptionRecordPageResult;
import com.imyeyu.java.bean.timi.TimiException;
import com.imyeyu.spring.annotation.AOPLog;
import com.imyeyu.spring.annotation.RequestRateLimit;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerController.java
index 2207d2f..ce16d13 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerController.java
@@ -8,10 +8,10 @@ import com.imyeyu.api.modules.gao.bean.GaoPermissionCode;
import com.imyeyu.api.modules.gao.entity.GaoCustomer;
import com.imyeyu.api.modules.gao.service.GaoCustomerService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerDailyStateView;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerGenderStatView;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerPage;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerTrendStateReq;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerDailyStateView;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerGenderStatView;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerPage;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerTrendStateReq;
import com.imyeyu.api.modules.user.service.UserService;
import com.imyeyu.java.TimiJava;
import com.imyeyu.java.bean.timi.TimiException;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerFollowUpReminderController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerFollowUpReminderController.java
index 1e64463..065ce9b 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerFollowUpReminderController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerFollowUpReminderController.java
@@ -10,8 +10,8 @@ import com.imyeyu.api.modules.gao.entity.GaoCustomerFollowUpReminder;
import com.imyeyu.api.modules.gao.service.GaoCustomerFollowUpReminderService;
import com.imyeyu.api.modules.gao.service.GaoCustomerService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerFollowUpReminderPage;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerFollowUpReminderPageResult;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerFollowUpReminderPage;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerFollowUpReminderPageResult;
import com.imyeyu.api.modules.user.entity.User;
import com.imyeyu.api.modules.user.service.UserService;
import com.imyeyu.java.bean.timi.TimiException;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerPackageController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerPackageController.java
index 7bf5bda..7557466 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerPackageController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoCustomerPackageController.java
@@ -12,9 +12,9 @@ import com.imyeyu.api.modules.gao.service.GaoCustomerService;
import com.imyeyu.api.modules.gao.service.GaoOrderFulfillmentService;
import com.imyeyu.api.modules.gao.service.GaoSalesOrderService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerPackageCancelRequest;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerPackagePage;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerPackagePurchaseRequest;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerPackageCancelRequest;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerPackagePage;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerPackagePurchaseRequest;
import com.imyeyu.api.modules.user.entity.User;
import com.imyeyu.api.modules.user.service.UserService;
import com.imyeyu.java.bean.timi.TimiException;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoEventRecordController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoEventRecordController.java
index cc64e50..7344aac 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoEventRecordController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoEventRecordController.java
@@ -12,11 +12,11 @@ import com.imyeyu.api.modules.gao.service.GaoCustomerService;
import com.imyeyu.api.modules.gao.service.GaoEventRecordService;
import com.imyeyu.api.modules.gao.service.GaoEventService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoCustomerEventRankView;
-import com.imyeyu.api.modules.gao.vo.GaoEventOptionStatView;
-import com.imyeyu.api.modules.gao.vo.GaoEventRecordPage;
-import com.imyeyu.api.modules.gao.vo.GaoEventRecordPageResult;
-import com.imyeyu.api.modules.gao.vo.GaoEventRecordRankPage;
+import com.imyeyu.api.modules.gao.vo.customer.GaoCustomerEventRankView;
+import com.imyeyu.api.modules.gao.vo.event.GaoEventOptionStatView;
+import com.imyeyu.api.modules.gao.vo.event.GaoEventRecordPage;
+import com.imyeyu.api.modules.gao.vo.event.GaoEventRecordPageResult;
+import com.imyeyu.api.modules.gao.vo.event.GaoEventRecordRankPage;
import com.imyeyu.api.modules.user.service.UserService;
import com.imyeyu.java.TimiJava;
import com.imyeyu.java.bean.timi.TimiException;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoFundRecordController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoFundRecordController.java
index aa90fdb..f7659e7 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoFundRecordController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoFundRecordController.java
@@ -10,9 +10,9 @@ import com.imyeyu.api.modules.gao.service.GaoCustomerService;
import com.imyeyu.api.modules.gao.service.GaoFundRecordService;
import com.imyeyu.api.modules.gao.service.GaoOrderPaymentService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoFundRecordPage;
-import com.imyeyu.api.modules.gao.vo.GaoFundRevokeRequest;
-import com.imyeyu.api.modules.gao.vo.GaoOrderPaymentRevokeRequest;
+import com.imyeyu.api.modules.gao.vo.fund.GaoFundRecordPage;
+import com.imyeyu.api.modules.gao.vo.fund.GaoFundRevokeRequest;
+import com.imyeyu.api.modules.gao.vo.order.GaoOrderPaymentRevokeRequest;
import com.imyeyu.api.modules.user.entity.User;
import com.imyeyu.api.modules.user.service.UserLoginService;
import com.imyeyu.api.modules.user.service.UserService;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoOrderFulfillmentController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoOrderFulfillmentController.java
index 41d6213..ac83c86 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoOrderFulfillmentController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoOrderFulfillmentController.java
@@ -14,17 +14,17 @@ import com.imyeyu.api.modules.gao.service.GaoOrderFulfillmentService;
import com.imyeyu.api.modules.gao.service.GaoSalesOrderService;
import com.imyeyu.api.modules.gao.entity.GaoSalesOrder;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoOrderFulfillmentActionRequest;
-import com.imyeyu.api.modules.gao.vo.GaoOrderFulfillmentCreateRequest;
-import com.imyeyu.api.modules.gao.vo.GaoOrderFulfillmentPage;
-import com.imyeyu.api.modules.gao.vo.GaoOrderFulfillmentPrepareStockRequest;
-import com.imyeyu.api.modules.gao.vo.GaoOrderFulfillmentRevokeRequest;
-import com.imyeyu.api.modules.gao.vo.GaoOrderFulfillmentReturnRequest;
-import com.imyeyu.api.modules.gao.vo.GaoQuickFulfillmentCreateRequest;
-import com.imyeyu.api.modules.gao.vo.GaoQuickFulfillmentCustomerRequest;
-import com.imyeyu.api.modules.gao.vo.GaoQuickFulfillmentSkuView;
-import com.imyeyu.api.modules.gao.vo.GaoQuickFulfillmentSourceOrderListRequest;
-import com.imyeyu.api.modules.gao.vo.GaoQuickFulfillmentSourceOrderView;
+import com.imyeyu.api.modules.gao.vo.order.GaoOrderFulfillmentActionRequest;
+import com.imyeyu.api.modules.gao.vo.order.GaoOrderFulfillmentCreateRequest;
+import com.imyeyu.api.modules.gao.vo.order.GaoOrderFulfillmentPage;
+import com.imyeyu.api.modules.gao.vo.order.GaoOrderFulfillmentPrepareStockRequest;
+import com.imyeyu.api.modules.gao.vo.order.GaoOrderFulfillmentRevokeRequest;
+import com.imyeyu.api.modules.gao.vo.order.GaoOrderFulfillmentReturnRequest;
+import com.imyeyu.api.modules.gao.vo.fulfillment.GaoQuickFulfillmentCreateRequest;
+import com.imyeyu.api.modules.gao.vo.fulfillment.GaoQuickFulfillmentCustomerRequest;
+import com.imyeyu.api.modules.gao.vo.fulfillment.GaoQuickFulfillmentSkuView;
+import com.imyeyu.api.modules.gao.vo.fulfillment.GaoQuickFulfillmentSourceOrderListRequest;
+import com.imyeyu.api.modules.gao.vo.fulfillment.GaoQuickFulfillmentSourceOrderView;
import com.imyeyu.api.modules.user.entity.User;
import com.imyeyu.api.modules.user.service.UserService;
import com.imyeyu.java.bean.timi.TimiException;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPackageConfigController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPackageConfigController.java
index 0474edc..4e9e440 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPackageConfigController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPackageConfigController.java
@@ -9,7 +9,7 @@ import com.imyeyu.api.modules.gao.service.GaoEventService;
import com.imyeyu.api.modules.gao.service.GaoPackageConfigService;
import com.imyeyu.api.modules.gao.service.GaoProductSkuService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoPackageConfigPage;
+import com.imyeyu.api.modules.gao.vo.packageconfig.GaoPackageConfigPage;
import com.imyeyu.api.modules.user.entity.User;
import com.imyeyu.api.modules.user.service.UserService;
import com.imyeyu.java.bean.timi.TimiException;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointAccountController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointAccountController.java
index 5e43000..52adcb1 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointAccountController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointAccountController.java
@@ -5,7 +5,7 @@ import com.imyeyu.api.modules.gao.bean.GaoPermissionCode;
import com.imyeyu.api.modules.gao.entity.GaoPointAccount;
import com.imyeyu.api.modules.gao.service.GaoPointAccountService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoPointAccountPage;
+import com.imyeyu.api.modules.gao.vo.point.GaoPointAccountPage;
import com.imyeyu.java.bean.timi.TimiException;
import com.imyeyu.spring.annotation.AOPLog;
import com.imyeyu.spring.annotation.RequestRateLimit;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointLedgerController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointLedgerController.java
index eaee296..1a2cb50 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointLedgerController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointLedgerController.java
@@ -6,8 +6,8 @@ import com.imyeyu.api.modules.gao.entity.GaoPointLedger;
import com.imyeyu.api.modules.gao.service.GaoPointLedgerService;
import com.imyeyu.api.modules.gao.service.GaoPointTriggerService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoPointAdjustRequest;
-import com.imyeyu.api.modules.gao.vo.GaoPointLedgerPage;
+import com.imyeyu.api.modules.gao.vo.point.GaoPointAdjustRequest;
+import com.imyeyu.api.modules.gao.vo.point.GaoPointLedgerPage;
import com.imyeyu.java.bean.timi.TimiException;
import com.imyeyu.spring.annotation.AOPLog;
import com.imyeyu.spring.annotation.RequestRateLimit;
@@ -16,6 +16,7 @@ import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
/// GAO 客户积分流水接口
@@ -41,6 +42,14 @@ public class GaoPointLedgerController {
return ledgerService.pageByQuery(page);
}
+ @AOPLog
+ @RequestRateLimit
+ @RequireGaoPermission(GaoPermissionCode.POINT_LEDGER_READ)
+ @PostMapping("/ledger/detail")
+ public GaoPointLedger detail(@RequestParam String id, @RequestParam(required = false) String storeId) {
+ return ledgerService.getByIdAndStoreId(storeScopeService.resolveStoreId(storeId), id);
+ }
+
@AOPLog
@RequestRateLimit
@RequireGaoPermission(GaoPermissionCode.POINT_ADJUST)
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointRedeemSkuController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointRedeemSkuController.java
index 7f583b3..5429a60 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointRedeemSkuController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointRedeemSkuController.java
@@ -5,9 +5,9 @@ import com.imyeyu.api.modules.gao.bean.GaoPermissionCode;
import com.imyeyu.api.modules.gao.entity.GaoPointRedeemSku;
import com.imyeyu.api.modules.gao.service.GaoPointRedeemSkuService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoPointRedeemSkuPage;
-import com.imyeyu.api.modules.gao.vo.GaoPointRedeemSkuPageResult;
-import com.imyeyu.api.modules.gao.vo.GaoPointRedeemSkuRequest;
+import com.imyeyu.api.modules.gao.vo.point.GaoPointRedeemSkuPage;
+import com.imyeyu.api.modules.gao.vo.point.GaoPointRedeemSkuPageResult;
+import com.imyeyu.api.modules.gao.vo.point.GaoPointRedeemSkuRequest;
import com.imyeyu.java.bean.timi.TimiException;
import com.imyeyu.spring.annotation.AOPLog;
import com.imyeyu.spring.annotation.RequestRateLimit;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointRedemptionController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointRedemptionController.java
index 2b15b6a..285ae6d 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointRedemptionController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoPointRedemptionController.java
@@ -6,9 +6,9 @@ import com.imyeyu.api.modules.gao.entity.GaoPointRedemption;
import com.imyeyu.api.modules.gao.entity.GaoPointRedemptionReturn;
import com.imyeyu.api.modules.gao.service.GaoPointRedemptionService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoPointRedemptionCreateRequest;
-import com.imyeyu.api.modules.gao.vo.GaoPointRedemptionPage;
-import com.imyeyu.api.modules.gao.vo.GaoPointRedemptionReturnRequest;
+import com.imyeyu.api.modules.gao.vo.point.GaoPointRedemptionCreateRequest;
+import com.imyeyu.api.modules.gao.vo.point.GaoPointRedemptionPage;
+import com.imyeyu.api.modules.gao.vo.point.GaoPointRedemptionReturnRequest;
import com.imyeyu.java.bean.timi.TimiException;
import com.imyeyu.spring.annotation.AOPLog;
import com.imyeyu.spring.annotation.RequestRateLimit;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductChartController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductChartController.java
index 5381646..2669f16 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductChartController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductChartController.java
@@ -4,16 +4,16 @@ import com.imyeyu.api.modules.gao.annotation.RequireGaoPermission;
import com.imyeyu.api.modules.gao.bean.GaoPermissionCode;
import com.imyeyu.api.modules.gao.service.GaoProductChartService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoProductCategoryStatView;
-import com.imyeyu.api.modules.gao.vo.GaoProductChartReq;
-import com.imyeyu.api.modules.gao.vo.GaoProductFulfillmentDailyStatView;
-import com.imyeyu.api.modules.gao.vo.GaoProductFulfillmentRankView;
-import com.imyeyu.api.modules.gao.vo.GaoProductSalesDailyStatView;
-import com.imyeyu.api.modules.gao.vo.GaoProductSalesRankView;
-import com.imyeyu.api.modules.gao.vo.GaoProductStockHealthView;
-import com.imyeyu.api.modules.gao.vo.GaoProductStockMovementDailyStatView;
-import com.imyeyu.api.modules.gao.vo.GaoProductTypeStatView;
-import com.imyeyu.api.modules.gao.vo.GaoProductUnitSalesRankView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductCategoryStatView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductChartReq;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductFulfillmentDailyStatView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductFulfillmentRankView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductSalesDailyStatView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductSalesRankView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductStockHealthView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductStockMovementDailyStatView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductTypeStatView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductUnitSalesRankView;
import com.imyeyu.java.bean.timi.TimiException;
import com.imyeyu.spring.annotation.AOPLog;
import com.imyeyu.spring.annotation.RequestRateLimit;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductController.java
index ecee578..7529f65 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductController.java
@@ -12,9 +12,9 @@ import com.imyeyu.api.modules.gao.service.GaoProductSpecService;
import com.imyeyu.api.modules.gao.entity.GaoProductSpec;
import com.imyeyu.api.modules.gao.entity.GaoProductSpecValue;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoProductCategoryPage;
-import com.imyeyu.api.modules.gao.vo.GaoProductPage;
-import com.imyeyu.api.modules.gao.vo.GaoProductSkuFulfillmentView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductCategoryPage;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductPage;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductSkuFulfillmentView;
import com.imyeyu.java.bean.timi.TimiException;
import com.imyeyu.spring.annotation.AOPLog;
import com.imyeyu.spring.annotation.RequestRateLimit;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductSkuChartController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductSkuChartController.java
index 7f6d42c..c3a2470 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductSkuChartController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductSkuChartController.java
@@ -4,14 +4,14 @@ import com.imyeyu.api.modules.gao.annotation.RequireGaoPermission;
import com.imyeyu.api.modules.gao.bean.GaoPermissionCode;
import com.imyeyu.api.modules.gao.service.GaoProductSkuChartService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoProductChartReq;
-import com.imyeyu.api.modules.gao.vo.GaoProductSkuFulfillmentDailyStatView;
-import com.imyeyu.api.modules.gao.vo.GaoProductSkuFulfillmentRankView;
-import com.imyeyu.api.modules.gao.vo.GaoProductSkuSalesDailyStatView;
-import com.imyeyu.api.modules.gao.vo.GaoProductSkuSalesRankView;
-import com.imyeyu.api.modules.gao.vo.GaoProductSkuStockHealthView;
-import com.imyeyu.api.modules.gao.vo.GaoProductSkuStockMovementDailyStatView;
-import com.imyeyu.api.modules.gao.vo.GaoProductSkuUnitSalesRankView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductChartReq;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductSkuFulfillmentDailyStatView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductSkuFulfillmentRankView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductSkuSalesDailyStatView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductSkuSalesRankView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductSkuStockHealthView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductSkuStockMovementDailyStatView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductSkuUnitSalesRankView;
import com.imyeyu.java.bean.timi.TimiException;
import com.imyeyu.spring.annotation.AOPLog;
import com.imyeyu.spring.annotation.RequestRateLimit;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductStockController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductStockController.java
index cfc82bb..3a58440 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductStockController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoProductStockController.java
@@ -7,14 +7,14 @@ import com.imyeyu.api.modules.gao.entity.GaoProductStockRecord;
import com.imyeyu.api.modules.gao.service.GaoProductStockService;
import com.imyeyu.api.modules.gao.service.GaoProductStockRecordService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoProductStockBatchRequest;
-import com.imyeyu.api.modules.gao.vo.GaoProductStockChangeRequest;
-import com.imyeyu.api.modules.gao.vo.GaoProductStockManualInBatchRequest;
-import com.imyeyu.api.modules.gao.vo.GaoProductStockManualRevokeRequest;
-import com.imyeyu.api.modules.gao.vo.GaoProductStockPage;
-import com.imyeyu.api.modules.gao.vo.GaoProductStockProductView;
-import com.imyeyu.api.modules.gao.vo.GaoProductStockRecordPage;
-import com.imyeyu.api.modules.gao.vo.GaoProductStockRecordPageResult;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductStockBatchRequest;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductStockChangeRequest;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductStockManualInBatchRequest;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductStockManualRevokeRequest;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductStockPage;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductStockProductView;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductStockRecordPage;
+import com.imyeyu.api.modules.gao.vo.product.GaoProductStockRecordPageResult;
import com.imyeyu.java.bean.timi.TimiException;
import com.imyeyu.spring.annotation.AOPLog;
import com.imyeyu.spring.annotation.RequestRateLimit;
diff --git a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoRecycleAccountController.java b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoRecycleAccountController.java
index 1e3a7ad..14aab49 100644
--- a/src/main/java/com/imyeyu/api/modules/gao/controller/GaoRecycleAccountController.java
+++ b/src/main/java/com/imyeyu/api/modules/gao/controller/GaoRecycleAccountController.java
@@ -6,136 +6,137 @@ import com.imyeyu.api.modules.gao.annotation.RequireGaoPermission;
import com.imyeyu.api.modules.gao.bean.GaoPermissionCode;
import com.imyeyu.api.modules.gao.entity.GaoCustomer;
import com.imyeyu.api.modules.gao.mapper.GaoRecycleAccountMapper;
+import com.imyeyu.api.modules.gao.mapper.GaoRecycleProductYieldMapper;
+import com.imyeyu.api.modules.gao.mapper.GaoRecycleItemMapper;
import com.imyeyu.api.modules.gao.service.GaoCustomerService;
-import com.imyeyu.api.modules.gao.service.GaoRecycleAccountService;
import com.imyeyu.api.modules.gao.service.GaoStoreScopeService;
-import com.imyeyu.api.modules.gao.vo.GaoRecycleAccountAdjustRequest;
+import com.imyeyu.api.modules.gao.entity.GaoRecycleAccount;
+import com.imyeyu.api.modules.gao.entity.GaoRecycleItem;
+import com.imyeyu.api.modules.gao.entity.GaoRecycleProductYield;
+import com.imyeyu.api.modules.gao.vo.recycle.GaoRecycleAccountCustomerPage;
+import com.imyeyu.api.modules.gao.vo.recycle.GaoRecycleAccountCustomerPageResult;
+import com.imyeyu.api.modules.gao.vo.recycle.GaoRecycleAccountCustomerView;
import com.imyeyu.java.bean.timi.TimiException;
+import com.imyeyu.utils.Time;
import lombok.RequiredArgsConstructor;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
import java.math.BigDecimal;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.ArrayList;
import java.util.List;
import java.util.Map;
+import java.util.Objects;
import java.util.UUID;
-import com.imyeyu.utils.Time;
/// 客户回收物额度接口
@RestController
@RequiredArgsConstructor
@RequestMapping("/gao/recycle/account")
public class GaoRecycleAccountController {
- private final GaoRecycleAccountMapper mapper;
- private final GaoRecycleAccountService service;
- private final GaoStoreScopeService scope;
- private final GaoCustomerService customerService;
- private final AttachmentService attachmentService;
+ private final GaoRecycleAccountMapper mapper;
+ private final GaoRecycleProductYieldMapper yieldMapper;
+ private final GaoRecycleItemMapper itemMapper;
+ private final GaoStoreScopeService scope;
+ private final GaoCustomerService customerService;
+ private final AttachmentService attachmentService;
- @RequireGaoPermission(GaoPermissionCode.RECYCLE_EXCHANGE_CONFIG_MANAGE)
- @PostMapping("/yield/list")
- public List