Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_ht
Commits
be37419d
Commit
be37419d
authored
Jul 08, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加根据订单编号查询订单
parent
89fa8e3b
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
57 additions
and
0 deletions
+57
-0
EquityMembersOrderConfigController.java
...controller/system/EquityMembersOrderConfigController.java
+7
-0
EquityMembersOrderController.java
...e/web/controller/system/EquityMembersOrderController.java
+11
-0
RechargeConfController.java
...a/share/web/controller/system/RechargeConfController.java
+9
-0
RechargeController.java
.../java/share/web/controller/system/RechargeController.java
+10
-0
EquityMembersOrderService.java
.../java/share/system/service/EquityMembersOrderService.java
+2
-0
RechargeService.java
...m/src/main/java/share/system/service/RechargeService.java
+2
-0
EquityMembersOrderServiceImpl.java
...re/system/service/impl/EquityMembersOrderServiceImpl.java
+8
-0
RechargeServiceImpl.java
...n/java/share/system/service/impl/RechargeServiceImpl.java
+8
-0
No files found.
share-front/src/main/java/share/web/controller/system/EquityMembersOrderConfigController.java
View file @
be37419d
...
@@ -5,6 +5,7 @@ import org.springframework.web.bind.annotation.*;
...
@@ -5,6 +5,7 @@ import org.springframework.web.bind.annotation.*;
import
share.common.annotation.Log
;
import
share.common.annotation.Log
;
import
share.common.core.controller.BaseController
;
import
share.common.core.controller.BaseController
;
import
share.common.core.domain.AjaxResult
;
import
share.common.core.domain.AjaxResult
;
import
share.common.core.domain.R
;
import
share.common.core.page.TableDataInfo
;
import
share.common.core.page.TableDataInfo
;
import
share.common.enums.BusinessType
;
import
share.common.enums.BusinessType
;
import
share.common.utils.poi.ExcelUtil
;
import
share.common.utils.poi.ExcelUtil
;
...
@@ -36,6 +37,12 @@ public class EquityMembersOrderConfigController extends BaseController {
...
@@ -36,6 +37,12 @@ public class EquityMembersOrderConfigController extends BaseController {
return
getDataTable
(
list
);
return
getDataTable
(
list
);
}
}
@GetMapping
(
"/query"
)
public
R
<
List
<
EquityMembersOrderConfig
>>
query
()
{
List
<
EquityMembersOrderConfig
>
list
=
equityMembersOrderConfigService
.
selectEquityMembersOrderConfigList
(
null
);
return
R
.
ok
(
list
);
}
/**
/**
* 导出权益会员订单配置列表
* 导出权益会员订单配置列表
*/
*/
...
...
share-front/src/main/java/share/web/controller/system/EquityMembersOrderController.java
View file @
be37419d
package
share
.
web
.
controller
.
system
;
package
share
.
web
.
controller
.
system
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.validation.annotation.Validated
;
...
@@ -109,4 +110,14 @@ public class EquityMembersOrderController extends BaseController {
...
@@ -109,4 +110,14 @@ public class EquityMembersOrderController extends BaseController {
public
R
<
Boolean
>
cancelPay
(
@RequestParam
(
"equityOrderNo"
)
String
equityOrderNo
)
{
public
R
<
Boolean
>
cancelPay
(
@RequestParam
(
"equityOrderNo"
)
String
equityOrderNo
)
{
return
R
.
ok
(
equityMembersOrderService
.
cancelPay
(
equityOrderNo
));
return
R
.
ok
(
equityMembersOrderService
.
cancelPay
(
equityOrderNo
));
}
}
/**
* 获取订单详细信息
*/
@ApiOperation
(
value
=
"通过订单编号查询订单"
)
@GetMapping
(
value
=
"/{equityOrderNo}"
)
public
R
<
EquityMembersOrderVo
>
queryEquityMembersOrderInfoByNo
(
@PathVariable
(
"equityOrderNo"
)
String
equityOrderNo
)
{
return
R
.
ok
(
equityMembersOrderService
.
queryEquityMembersOrderInfoByNo
(
equityOrderNo
));
}
}
}
share-front/src/main/java/share/web/controller/system/RechargeConfController.java
View file @
be37419d
...
@@ -5,6 +5,7 @@ import org.springframework.web.bind.annotation.*;
...
@@ -5,6 +5,7 @@ import org.springframework.web.bind.annotation.*;
import
share.common.annotation.Log
;
import
share.common.annotation.Log
;
import
share.common.core.controller.BaseController
;
import
share.common.core.controller.BaseController
;
import
share.common.core.domain.AjaxResult
;
import
share.common.core.domain.AjaxResult
;
import
share.common.core.domain.R
;
import
share.common.core.page.TableDataInfo
;
import
share.common.core.page.TableDataInfo
;
import
share.common.enums.BusinessType
;
import
share.common.enums.BusinessType
;
import
share.common.utils.poi.ExcelUtil
;
import
share.common.utils.poi.ExcelUtil
;
...
@@ -36,6 +37,14 @@ public class RechargeConfController extends BaseController {
...
@@ -36,6 +37,14 @@ public class RechargeConfController extends BaseController {
return
getDataTable
(
list
);
return
getDataTable
(
list
);
}
}
@GetMapping
(
"/query"
)
public
R
<
List
<
RechargeConf
>>
query
()
{
List
<
RechargeConf
>
list
=
rechargeConfService
.
selectRechargeConfList
(
null
);
return
R
.
ok
(
list
);
}
/**
/**
* 导出充值配置列表
* 导出充值配置列表
*/
*/
...
...
share-front/src/main/java/share/web/controller/system/RechargeController.java
View file @
be37419d
package
share
.
web
.
controller
.
system
;
package
share
.
web
.
controller
.
system
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.validation.annotation.Validated
;
...
@@ -109,4 +110,13 @@ public class RechargeController extends BaseController {
...
@@ -109,4 +110,13 @@ public class RechargeController extends BaseController {
public
R
<
Boolean
>
cancelPay
(
@RequestParam
(
"rechargeNo"
)
String
rechargeNo
)
{
public
R
<
Boolean
>
cancelPay
(
@RequestParam
(
"rechargeNo"
)
String
rechargeNo
)
{
return
R
.
ok
(
rechargeService
.
cancelPay
(
rechargeNo
));
return
R
.
ok
(
rechargeService
.
cancelPay
(
rechargeNo
));
}
}
/**
* 获取订单详细信息
*/
@ApiOperation
(
value
=
"通过订单编号查询订单"
)
@GetMapping
(
value
=
"/{rechargeNo}"
)
public
R
<
RechargeVo
>
queryRechargeInfoByNo
(
@PathVariable
(
"rechargeNo"
)
String
rechargeNo
)
{
return
R
.
ok
(
rechargeService
.
queryRechargeInfoByNo
(
rechargeNo
));
}
}
}
share-system/src/main/java/share/system/service/EquityMembersOrderService.java
View file @
be37419d
...
@@ -72,4 +72,6 @@ public interface EquityMembersOrderService extends IService<EquityMembersOrder>
...
@@ -72,4 +72,6 @@ public interface EquityMembersOrderService extends IService<EquityMembersOrder>
Boolean
cancelPay
(
String
equityOrderNo
);
Boolean
cancelPay
(
String
equityOrderNo
);
EquityMembersOrder
getByEquityOrderNo
(
String
equityOrderNo
);
EquityMembersOrder
getByEquityOrderNo
(
String
equityOrderNo
);
EquityMembersOrderVo
queryEquityMembersOrderInfoByNo
(
String
equityOrderNo
);
}
}
share-system/src/main/java/share/system/service/RechargeService.java
View file @
be37419d
...
@@ -72,4 +72,6 @@ public interface RechargeService extends IService<Recharge> {
...
@@ -72,4 +72,6 @@ public interface RechargeService extends IService<Recharge> {
Boolean
cancelPay
(
String
rechargeNo
);
Boolean
cancelPay
(
String
rechargeNo
);
Recharge
getByRechargeNo
(
String
rechargeNo
);
Recharge
getByRechargeNo
(
String
rechargeNo
);
RechargeVo
queryRechargeInfoByNo
(
String
rechargeNo
);
}
}
share-system/src/main/java/share/system/service/impl/EquityMembersOrderServiceImpl.java
View file @
be37419d
...
@@ -210,6 +210,14 @@ public class EquityMembersOrderServiceImpl extends ServiceImpl<EquityMembersOrde
...
@@ -210,6 +210,14 @@ public class EquityMembersOrderServiceImpl extends ServiceImpl<EquityMembersOrde
return
getOne
(
lqw
);
return
getOne
(
lqw
);
}
}
@Override
public
EquityMembersOrderVo
queryEquityMembersOrderInfoByNo
(
String
equityOrderNo
)
{
EquityMembersOrder
en
=
getByEquityOrderNo
(
equityOrderNo
);
EquityMembersOrderVo
vo
=
new
EquityMembersOrderVo
();
BeanUtils
.
copyProperties
(
en
,
vo
);
return
vo
;
}
private
EquityMembersOrder
generatEquityMembersOrder
(
CreateEquityMembersRequest
request
,
SConsumer
user
)
{
private
EquityMembersOrder
generatEquityMembersOrder
(
CreateEquityMembersRequest
request
,
SConsumer
user
)
{
EquityMembersOrder
equityMembersOrder
=
new
EquityMembersOrder
();
EquityMembersOrder
equityMembersOrder
=
new
EquityMembersOrder
();
BeanUtils
.
copyProperties
(
request
,
equityMembersOrder
);
BeanUtils
.
copyProperties
(
request
,
equityMembersOrder
);
...
...
share-system/src/main/java/share/system/service/impl/RechargeServiceImpl.java
View file @
be37419d
...
@@ -195,6 +195,14 @@ public class RechargeServiceImpl extends ServiceImpl<RechargeMapper, Recharge> i
...
@@ -195,6 +195,14 @@ public class RechargeServiceImpl extends ServiceImpl<RechargeMapper, Recharge> i
return
getOne
(
lqw
);
return
getOne
(
lqw
);
}
}
@Override
public
RechargeVo
queryRechargeInfoByNo
(
String
rechargeNo
)
{
Recharge
byRechargeNo
=
getByRechargeNo
(
rechargeNo
);
RechargeVo
vo
=
new
RechargeVo
();
BeanUtils
.
copyProperties
(
byRechargeNo
,
vo
);
return
vo
;
}
private
void
extracted
(
Recharge
recharge
)
{
private
void
extracted
(
Recharge
recharge
)
{
//新增会员钱包
//新增会员钱包
RechargeConf
rechargeConf
=
rechargeConfService
.
selectRechargeConfById
(
recharge
.
getRechargeConfId
());
RechargeConf
rechargeConf
=
rechargeConfService
.
selectRechargeConfById
(
recharge
.
getRechargeConfId
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment