From 7958f1dddb8a7f4e70d232b07a7703955ecedae0 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期六, 26 八月 2023 12:45:33 +0800
Subject: [PATCH] 优化diamante
---
service-acct/src/main/java/com/java110/acct/api/ShopVipAccountApi.java | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/service-acct/src/main/java/com/java110/acct/api/ShopVipAccountApi.java b/service-acct/src/main/java/com/java110/acct/api/ShopVipAccountApi.java
index 09a5b4f..13f028e 100644
--- a/service-acct/src/main/java/com/java110/acct/api/ShopVipAccountApi.java
+++ b/service-acct/src/main/java/com/java110/acct/api/ShopVipAccountApi.java
@@ -1,4 +1,4 @@
-package com.java110.store.api;
+package com.java110.acct.api;
import com.alibaba.fastjson.JSONObject;
import com.java110.acct.bmo.shopVipAccount.IDeleteShopVipAccountBMO;
@@ -9,10 +9,10 @@
import com.java110.acct.bmo.shopVipAccountDetail.IGetShopVipAccountDetailBMO;
import com.java110.acct.bmo.shopVipAccountDetail.ISaveShopVipAccountDetailBMO;
import com.java110.acct.bmo.shopVipAccountDetail.IUpdateShopVipAccountDetailBMO;
-import com.java110.dto.shopVipAccount.ShopVipAccountDto;
-import com.java110.dto.shopVipAccountDetail.ShopVipAccountDetailDto;
-import com.java110.po.shopVipAccount.ShopVipAccountPo;
-import com.java110.po.shopVipAccountDetail.ShopVipAccountDetailPo;
+import com.java110.dto.shop.ShopVipAccountDto;
+import com.java110.dto.shop.ShopVipAccountDetailDto;
+import com.java110.po.shop.ShopVipAccountPo;
+import com.java110.po.shop.ShopVipAccountDetailPo;
import com.java110.utils.util.Assert;
import com.java110.utils.util.BeanConvertUtil;
import org.springframework.beans.factory.annotation.Autowired;
@@ -112,12 +112,14 @@
*/
@RequestMapping(value = "/queryShopVipAccount", method = RequestMethod.GET)
public ResponseEntity<String> queryShopVipAccount(@RequestParam(value = "shopId", required = false) String shopId,
+ @RequestParam(value = "vipId", required = false) String vipId,
@RequestParam(value = "page") int page,
@RequestParam(value = "row") int row) {
ShopVipAccountDto shopVipAccountDto = new ShopVipAccountDto();
shopVipAccountDto.setPage(page);
shopVipAccountDto.setRow(row);
shopVipAccountDto.setShopId(shopId);
+ shopVipAccountDto.setVipId(vipId);
return getShopVipAccountBMOImpl.get(shopVipAccountDto);
}
@@ -198,4 +200,7 @@
shopVipAccountDetailDto.setShopId(shopId);
return getShopVipAccountDetailBMOImpl.get(shopVipAccountDetailDto);
}
+
+
+
}
--
Gitblit v1.8.0