记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
47aff269
Commit
47aff269
authored
Jul 19, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~admin.api:巡演券关联配置接口+实现;
parent
81620bed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
CandyCouponRelateAdminServiceImpl.java
...candy/service/impl/CandyCouponRelateAdminServiceImpl.java
+3
-4
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/candy/service/impl/CandyCouponRelateAdminServiceImpl.java
View file @
47aff269
...
@@ -41,14 +41,13 @@ public class CandyCouponRelateAdminServiceImpl extends ServiceImpl<CandyCouponRe
...
@@ -41,14 +41,13 @@ public class CandyCouponRelateAdminServiceImpl extends ServiceImpl<CandyCouponRe
@Override
@Override
public
AjaxResult
relate
(
CandyMgtCouponRelateParam
couponRelateParam
)
{
public
AjaxResult
relate
(
CandyMgtCouponRelateParam
couponRelateParam
)
{
String
couponId
=
couponRelateParam
.
getCouponId
();
String
couponId
=
couponRelateParam
.
getCouponId
();
LambdaQueryWrapper
<
CandyCoupon
>
couponLambdaQueryWrapper
=
Wrappers
.
lambdaQuery
();
LambdaQueryWrapper
<
CandyCoupon
>
couponLambdaQueryWrapper
=
Wrappers
.
lambdaQuery
();
couponLambdaQueryWrapper
.
eq
(
CandyCoupon:
:
getCouponId
,
couponId
);
couponLambdaQueryWrapper
.
eq
(
CandyCoupon:
:
getCouponId
,
couponId
);
couponLambdaQueryWrapper
.
eq
(
CandyCoupon:
:
getState
,
1
);
couponLambdaQueryWrapper
.
eq
(
CandyCoupon:
:
getState
,
1
);
CandyCoupon
coupon
=
candyCouponAdminService
.
getOne
(
couponLambdaQueryWrapper
);
CandyCoupon
coupon
=
candyCouponAdminService
.
getOne
(
couponLambdaQueryWrapper
);
if
(
coupon
.
getCouType
()
!=
101
)
{
if
(
null
==
coupon
)
return
AjaxResult
.
warn
(
"券不存在"
);
return
AjaxResult
.
warn
(
"当前操作只支持优先券类型"
);
if
(
coupon
.
getCouType
()
!=
101
)
return
AjaxResult
.
warn
(
"当前操作只支持优先券类型"
);
}
String
key
;
String
key
;
Integer
scope
=
couponRelateParam
.
getScope
();
Integer
scope
=
couponRelateParam
.
getScope
();
switch
(
scope
)
{
switch
(
scope
)
{
...
...
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