记得上下班打卡 | 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
5290964e
Commit
5290964e
authored
Jul 29, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
ccc04695
bf7f1b3f
Changes
25
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
358 additions
and
306 deletions
+358
-306
AdamThirdPartParam.java
...va/com/liquidnet/service/adam/dto/AdamThirdPartParam.java
+1
-1
AdamLoginController.java
...iquidnet/service/adam/controller/AdamLoginController.java
+4
-2
DragonPayBiz.java
...net/service/dragon/channel/strategy/biz/DragonPayBiz.java
+91
-86
ObjectUtil.java
...n/java/com/liquidnet/service/dragon/utils/ObjectUtil.java
+8
-1
KylinOrderTicketsServiceImpl.java
...vice/kylin/service/impl/KylinOrderTicketsServiceImpl.java
+9
-5
KylinRefundsStatusServiceImpl.java
...ice/kylin/service/impl/KylinRefundsStatusServiceImpl.java
+7
-5
DataUtils.java
...ain/java/com/liquidnet/service/kylin/utils/DataUtils.java
+1
-1
DragonPayBiz.java
...net/service/dragon/channel/strategy/biz/DragonPayBiz.java
+91
-86
ObjectUtil.java
...n/java/com/liquidnet/service/dragon/utils/ObjectUtil.java
+8
-1
KylinOrderTicketsServiceImpl.java
...vice/order/service/impl/KylinOrderTicketsServiceImpl.java
+5
-5
KylinRefundsStatusServiceImpl.java
...ice/order/service/impl/KylinRefundsStatusServiceImpl.java
+8
-6
SweetAppletController.java
...idnet/service/sweet/controller/SweetAppletController.java
+15
-15
SweetArtistsController.java
...dnet/service/sweet/controller/SweetArtistsController.java
+13
-13
SweetManualArtistsController.java
...ervice/sweet/controller/SweetManualArtistsController.java
+21
-21
SweetManualController.java
...idnet/service/sweet/controller/SweetManualController.java
+8
-8
SweetManualNotifyController.java
...service/sweet/controller/SweetManualNotifyController.java
+13
-13
SweetManualSortController.java
...t/service/sweet/controller/SweetManualSortController.java
+3
-3
SweetRichtextController.java
...net/service/sweet/controller/SweetRichtextController.java
+12
-12
SweetStageController.java
...uidnet/service/sweet/controller/SweetStageController.java
+11
-11
SweetManualDto.java
.../java/com/liquidnet/service/sweet/dto/SweetManualDto.java
+1
-0
SweetArtistsServiceImpl.java
...t/service/sweet/service/impl/SweetArtistsServiceImpl.java
+6
-1
SweetManualNotifyServiceImpl.java
...vice/sweet/service/impl/SweetManualNotifyServiceImpl.java
+13
-8
SweetManualServiceImpl.java
...et/service/sweet/service/impl/SweetManualServiceImpl.java
+1
-1
SweetStageServiceImpl.java
...net/service/sweet/service/impl/SweetStageServiceImpl.java
+6
-1
SweetManualMapper.xml
.../com/liquidnet/service/sweet/mapper/SweetManualMapper.xml
+2
-0
No files found.
liquidnet-bus-api/liquidnet-service-adam-api/src/main/java/com/liquidnet/service/adam/dto/AdamThirdPartParam.java
View file @
5290964e
...
@@ -14,7 +14,7 @@ import java.io.Serializable;
...
@@ -14,7 +14,7 @@ import java.io.Serializable;
@Data
@Data
public
class
AdamThirdPartParam
implements
Serializable
{
public
class
AdamThirdPartParam
implements
Serializable
{
private
static
final
long
serialVersionUID
=
675588088506034208L
;
private
static
final
long
serialVersionUID
=
675588088506034208L
;
@ApiModelProperty
(
position
=
11
,
required
=
true
,
value
=
"第三方
OPENID
[64]"
)
@ApiModelProperty
(
position
=
11
,
required
=
true
,
value
=
"第三方
账号唯一标识
[64]"
)
@NotBlank
(
message
=
"OPENID不能为空"
)
@NotBlank
(
message
=
"OPENID不能为空"
)
private
String
openId
;
private
String
openId
;
@ApiModelProperty
(
position
=
12
,
required
=
true
,
value
=
"昵称[64]"
,
example
=
"Swagger"
)
@ApiModelProperty
(
position
=
12
,
required
=
true
,
value
=
"昵称[64]"
,
example
=
"Swagger"
)
...
...
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/controller/AdamLoginController.java
View file @
5290964e
...
@@ -346,7 +346,7 @@ public class AdamLoginController {
...
@@ -346,7 +346,7 @@ public class AdamLoginController {
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"WX.API调用异常[jsCode:{},respJStr={}]"
,
jsCode
,
respJStr
,
e
);
log
.
error
(
"WX.API调用异常[jsCode:{},respJStr={}]"
,
jsCode
,
respJStr
,
e
);
}
}
log
.
debug
(
"jsCode={},
openid={}"
,
jsCode
,
openId
);
log
.
debug
(
"jsCode={},
respJStr={}"
,
jsCode
,
respJStr
);
return
ResponseDto
.
success
(
openId
);
return
ResponseDto
.
success
(
openId
);
}
}
...
@@ -369,10 +369,12 @@ public class AdamLoginController {
...
@@ -369,10 +369,12 @@ public class AdamLoginController {
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"WX.API调用异常[jsCode:{},respJStr={}]"
,
code
,
respJStr
,
e
);
log
.
error
(
"WX.API调用异常[jsCode:{},respJStr={}]"
,
code
,
respJStr
,
e
);
}
}
log
.
debug
(
"code={},
openid={}"
,
code
,
openId
);
log
.
debug
(
"code={},
respJStr={}"
,
code
,
respJStr
);
return
ResponseDto
.
success
(
openId
);
return
ResponseDto
.
success
(
openId
);
}
}
/* ---------------------------- Internal Method ---------------------------- */
/* ---------------------------- Internal Method ---------------------------- */
/* ---------------------------- Internal Method ---------------------------- */
/* ---------------------------- Internal Method ---------------------------- */
private
ResponseDto
checkSmsCode
(
String
mobile
,
String
code
)
{
private
ResponseDto
checkSmsCode
(
String
mobile
,
String
code
)
{
...
...
liquidnet-bus-service/liquidnet-service-dragon/liquidnet-service-dragon-impl/src/main/java/com/liquidnet/service/dragon/channel/strategy/biz/DragonPayBiz.java
View file @
5290964e
This diff is collapsed.
Click to expand it.
liquidnet-bus-service/liquidnet-service-dragon/liquidnet-service-dragon-impl/src/main/java/com/liquidnet/service/dragon/utils/ObjectUtil.java
View file @
5290964e
...
@@ -3,8 +3,10 @@ package com.liquidnet.service.dragon.utils;
...
@@ -3,8 +3,10 @@ package com.liquidnet.service.dragon.utils;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alipay.api.request.AlipayTradeWapPayRequest
;
import
com.alipay.api.request.AlipayTradeWapPayRequest
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
org.springframework.util.LinkedMultiValueMap
;
import
java.util.*
;
import
java.util.HashMap
;
import
java.util.LinkedList
;
/**
/**
* @author AnJiabin <anjiabin@zhengzai.tv>
* @author AnJiabin <anjiabin@zhengzai.tv>
...
@@ -23,6 +25,7 @@ public class ObjectUtil {
...
@@ -23,6 +25,7 @@ public class ObjectUtil {
private
static
final
HashMap
<
String
,
Object
>
hashMapStringAndObj
=
new
HashMap
<>();
private
static
final
HashMap
<
String
,
Object
>
hashMapStringAndObj
=
new
HashMap
<>();
private
static
final
AlipayTradeWapPayRequest
alipayTradeWapPayRequest
=
new
AlipayTradeWapPayRequest
();
private
static
final
AlipayTradeWapPayRequest
alipayTradeWapPayRequest
=
new
AlipayTradeWapPayRequest
();
private
static
final
JSONObject
jsonObjectObj
=
new
JSONObject
();
private
static
final
JSONObject
jsonObjectObj
=
new
JSONObject
();
private
static
final
LinkedMultiValueMap
<
String
,
String
>
linkedMultiValueMapStringAndString
=
new
LinkedMultiValueMap
<
String
,
String
>();
public
static
LinkedList
<
Object
[]>
cloneLinkedListObj
()
{
public
static
LinkedList
<
Object
[]>
cloneLinkedListObj
()
{
return
(
LinkedList
<
Object
[]>)
linkedListObj
.
clone
();
return
(
LinkedList
<
Object
[]>)
linkedListObj
.
clone
();
...
@@ -47,4 +50,8 @@ public class ObjectUtil {
...
@@ -47,4 +50,8 @@ public class ObjectUtil {
public
static
JSONObject
cloneJsonObjectObj
()
{
public
static
JSONObject
cloneJsonObjectObj
()
{
return
(
JSONObject
)
jsonObjectObj
.
clone
();
return
(
JSONObject
)
jsonObjectObj
.
clone
();
}
}
public
static
LinkedMultiValueMap
<
String
,
String
>
cloneLinkedMultiValueMapStringAndString
()
{
return
linkedMultiValueMapStringAndString
.
clone
();
}
}
}
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/KylinOrderTicketsServiceImpl.java
View file @
5290964e
...
@@ -431,7 +431,8 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
...
@@ -431,7 +431,8 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
List
<
KylinOrderRefundsVo
>
orderRefundsVoList
=
dataUtils
.
getOrderRefundVoByOrderId
(
orderTicketsId
);
List
<
KylinOrderRefundsVo
>
orderRefundsVoList
=
dataUtils
.
getOrderRefundVoByOrderId
(
orderTicketsId
);
for
(
KylinOrderRefundsVo
item
:
orderRefundsVoList
)
{
for
(
KylinOrderRefundsVo
item
:
orderRefundsVoList
)
{
int
status
=
item
.
getStatus
();
int
status
=
item
.
getStatus
();
if
(
status
!=
2
&&
status
!=
4
&&
status
!=
6
&&
!
item
.
getOrderRefundsId
().
equals
(
orderRefundsId
))
{
log
.
info
(
"status = "
+
status
);
if
(
status
!=
2
&&
status
!=
4
&&
status
!=
5
&&
status
!=
6
&&
!
item
.
getOrderRefundsId
().
equals
(
orderRefundsId
))
{
refundingCount
+=
1
;
refundingCount
+=
1
;
}
}
}
}
...
@@ -449,10 +450,12 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
...
@@ -449,10 +450,12 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
}
}
KylinOrderTicketStatus
orderStatusTable
=
KylinOrderTicketStatus
.
getNew
();
KylinOrderTicketStatus
orderStatusTable
=
KylinOrderTicketStatus
.
getNew
();
log
.
info
(
"newStatus = "
+
newStatus
);
orderStatusTable
.
setStatus
(
newStatus
);
orderStatusTable
.
setStatus
(
newStatus
);
orderStatusTable
.
setUpdatedAt
(
time
);
orderStatusTable
.
setUpdatedAt
(
time
);
LocalDateTime
now
=
LocalDateTime
.
now
();
sqlsDataA
.
add
(
new
Object
[]{
sqlsDataA
.
add
(
new
Object
[]{
orderStatusTable
.
getStatus
(),
orderStatusTable
.
getUpdatedAt
(),
orderTicketsId
,
orderTicketVo
.
getChangeDate
(),
orderTicketVo
.
getChangeDate
()
orderStatusTable
.
getStatus
(),
orderStatusTable
.
getUpdatedAt
(),
orderTicketsId
,
now
,
now
});
});
KylinOrderTicketVo
kylinOrderTicketVo
=
KylinOrderTicketVo
.
getNew
();
KylinOrderTicketVo
kylinOrderTicketVo
=
KylinOrderTicketVo
.
getNew
();
...
@@ -502,7 +505,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
...
@@ -502,7 +505,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
entitiesTable
.
setUpdatedAt
(
time
);
entitiesTable
.
setUpdatedAt
(
time
);
sqlsDataB
.
add
(
new
Object
[]{
sqlsDataB
.
add
(
new
Object
[]{
entitiesTable
.
getIsPayment
(),
entitiesTable
.
getUpdatedAt
(),
item
.
getOrderTicketEntitiesId
(),
entitiesVo
.
getChangeDate
(),
entitiesVo
.
getChangeDate
()
entitiesTable
.
getIsPayment
(),
entitiesTable
.
getUpdatedAt
(),
item
.
getOrderTicketEntitiesId
(),
now
,
now
});
});
KylinOrderTicketEntitiesVo
kylinOrderTicketEntitiesVo
=
KylinOrderTicketEntitiesVo
.
getNew
();
KylinOrderTicketEntitiesVo
kylinOrderTicketEntitiesVo
=
KylinOrderTicketEntitiesVo
.
getNew
();
...
@@ -513,11 +516,11 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
...
@@ -513,11 +516,11 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
// if(item2.getOrderTicketEntitiesId().equalsIgnoreCase(item.getOrderTicketEntitiesId())){
// if(item2.getOrderTicketEntitiesId().equalsIgnoreCase(item.getOrderTicketEntitiesId())){
// log.info("entitiesVo.getRefundPrice() = "+entitiesVo.getRefundPrice());
// log.info("entitiesVo.getRefundPrice() = "+entitiesVo.getRefundPrice());
// log.info("item2.getRefundPrice() = "+item2.getRefundPrice());
// log.info("item2.getRefundPrice() = "+item2.getRefundPrice());
kylinOrderTicketEntitiesVo
.
setRefundPrice
(
entitiesVo
.
getRefundPrice
());
kylinOrderTicketEntitiesVo
.
setRefundPrice
(
entitiesVo
.
getRefundPrice
());
// }
// }
// }
// }
log
.
info
(
"entitiesVo.getRefundPrice() = "
+
entitiesVo
.
getRefundPrice
());
log
.
info
(
"entitiesVo.getRefundPrice() = "
+
entitiesVo
.
getRefundPrice
());
BasicDBObject
entitiesObject
=
new
BasicDBObject
(
"$set"
,
JSON
.
parse
(
JsonUtils
.
toJson
(
kylinOrderTicketEntitiesVo
)));
BasicDBObject
entitiesObject
=
new
BasicDBObject
(
"$set"
,
JSON
.
parse
(
JsonUtils
.
toJson
(
kylinOrderTicketEntitiesVo
)));
mongoTemplate
.
getCollection
(
KylinOrderTicketEntitiesVo
.
class
.
getSimpleName
()).
updateOne
(
mongoTemplate
.
getCollection
(
KylinOrderTicketEntitiesVo
.
class
.
getSimpleName
()).
updateOne
(
Query
.
query
(
Criteria
.
where
(
"orderTicketEntitiesId"
).
is
(
item
.
getOrderTicketEntitiesId
())).
getQueryObject
(),
Query
.
query
(
Criteria
.
where
(
"orderTicketEntitiesId"
).
is
(
item
.
getOrderTicketEntitiesId
())).
getQueryObject
(),
...
@@ -544,6 +547,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
...
@@ -544,6 +547,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
dataUtils
.
delOrderRefundVo
(
orderRefundsId
);
dataUtils
.
delOrderRefundVo
(
orderRefundsId
);
dataUtils
.
delOrderRefundVoByOrderId
(
orderTicketsId
);
dataUtils
.
delOrderRefundVoByOrderId
(
orderTicketsId
);
dataUtils
.
delOrderTicketRedis
(
orderTicketsId
);
dataUtils
.
delOrderTicketRedis
(
orderTicketsId
);
orderUtils
.
resetOrderListVo
(
CurrentUtil
.
getCurrentUid
(),
2
,
orderTicketsId
,
null
);
sqls
.
add
(
SqlMapping
.
get
(
"kylin_order_ticket_status.withDraw"
));
sqls
.
add
(
SqlMapping
.
get
(
"kylin_order_ticket_status.withDraw"
));
...
...
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/KylinRefundsStatusServiceImpl.java
View file @
5290964e
...
@@ -101,8 +101,9 @@ public class KylinRefundsStatusServiceImpl {
...
@@ -101,8 +101,9 @@ public class KylinRefundsStatusServiceImpl {
LinkedList
<
Object
[]>
sqlsDataB
=
CollectionUtil
.
linkedListObjectArr
();
LinkedList
<
Object
[]>
sqlsDataB
=
CollectionUtil
.
linkedListObjectArr
();
for
(
String
v
:
ticketEntityIds
)
{
for
(
String
v
:
ticketEntityIds
)
{
LocalDateTime
now1
=
LocalDateTime
.
now
();
sqlsDataB
.
add
(
new
Object
[]{
sqlsDataB
.
add
(
new
Object
[]{
entitiesTable
.
getIsPayment
(),
entitiesTable
.
getUpdatedAt
(),
v
,
orderInfo
.
getChangeDate
(),
orderInfo
.
getChangeDate
()
entitiesTable
.
getIsPayment
(),
entitiesTable
.
getUpdatedAt
(),
v
,
now1
,
now1
});
});
/*kylinOrderTicketEntitiesMapper.update(entitiesTable, new UpdateWrapper<KylinOrderTicketEntities>()
/*kylinOrderTicketEntitiesMapper.update(entitiesTable, new UpdateWrapper<KylinOrderTicketEntities>()
.eq("order_ticket_entities_id", v));*/
.eq("order_ticket_entities_id", v));*/
...
@@ -176,9 +177,9 @@ public class KylinRefundsStatusServiceImpl {
...
@@ -176,9 +177,9 @@ public class KylinRefundsStatusServiceImpl {
sqls
.
add
(
SqlMapping
.
get
(
"kylin_order_ticket_entities.overtimeRefund"
));
sqls
.
add
(
SqlMapping
.
get
(
"kylin_order_ticket_entities.overtimeRefund"
));
sqls
.
add
(
SqlMapping
.
get
(
"kylin_order_refund.overtimeRefund"
));
sqls
.
add
(
SqlMapping
.
get
(
"kylin_order_refund.overtimeRefund"
));
sqls
.
add
(
SqlMapping
.
get
(
"kylin_order_refund_entities.overtimeRefund"
));
sqls
.
add
(
SqlMapping
.
get
(
"kylin_order_refund_entities.overtimeRefund"
));
LocalDateTime
now1
=
LocalDateTime
.
now
();
sqlsDataA
.
add
(
new
Object
[]{
sqlsDataA
.
add
(
new
Object
[]{
orderStatusTable
.
getStatus
(),
orderStatusTable
.
getUpdatedAt
(),
orderInfo
.
getOrderTicketsId
(),
orderInfo
.
getChangeDate
(),
orderInfo
.
getChangeDate
()
orderStatusTable
.
getStatus
(),
orderStatusTable
.
getUpdatedAt
(),
orderInfo
.
getOrderTicketsId
(),
now1
,
now1
});
});
sqlsDataC
.
add
(
new
Object
[]{
sqlsDataC
.
add
(
new
Object
[]{
...
@@ -326,11 +327,12 @@ public class KylinRefundsStatusServiceImpl {
...
@@ -326,11 +327,12 @@ public class KylinRefundsStatusServiceImpl {
sqls
.
add
(
SqlMapping
.
get
(
"kylin_order_refund_entities.refund"
));
sqls
.
add
(
SqlMapping
.
get
(
"kylin_order_refund_entities.refund"
));
sqls
.
add
(
SqlMapping
.
get
(
"kylin_order_refund_pic.refund"
));
sqls
.
add
(
SqlMapping
.
get
(
"kylin_order_refund_pic.refund"
));
LocalDateTime
now1
=
LocalDateTime
.
now
();
sqlsDataA
.
add
(
new
Object
[]{
sqlsDataA
.
add
(
new
Object
[]{
orderStatusTable
.
getStatus
(),
orderStatusTable
.
getUpdatedAt
(),
orderInfo
.
getOrderTicketsId
(),
orderInfo
.
getChangeDate
(),
orderInfo
.
getChangeDate
()
orderStatusTable
.
getStatus
(),
orderStatusTable
.
getUpdatedAt
(),
orderInfo
.
getOrderTicketsId
(),
now1
,
now1
});
});
sqlsDataB
.
add
(
new
Object
[]{
sqlsDataB
.
add
(
new
Object
[]{
entitiesTable
.
getIsPayment
(),
entitiesTable
.
getUpdatedAt
(),
orderEntitiesId
,
orderInfo
.
getChangeDate
(),
orderInfo
.
getChangeDate
()
entitiesTable
.
getIsPayment
(),
entitiesTable
.
getUpdatedAt
(),
orderEntitiesId
,
now1
,
now1
});
});
sqlsDataC
.
add
(
new
Object
[]{
sqlsDataC
.
add
(
new
Object
[]{
kylinOrderRefunds
.
getOrderRefundsId
(),
kylinOrderRefunds
.
getOrderTicketsId
(),
kylinOrderRefunds
.
getOrderRefundCode
(),
kylinOrderRefunds
.
getOrderRefundsId
(),
kylinOrderRefunds
.
getOrderTicketsId
(),
kylinOrderRefunds
.
getOrderRefundCode
(),
...
...
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/utils/DataUtils.java
View file @
5290964e
...
@@ -466,7 +466,7 @@ public class DataUtils {
...
@@ -466,7 +466,7 @@ public class DataUtils {
BigDecimal
orderLockPrice
=
new
BigDecimal
(
"0.00"
);
BigDecimal
orderLockPrice
=
new
BigDecimal
(
"0.00"
);
for
(
KylinOrderRefundsVo
refundVo
:
kylinOrderRefundsVoBaseList
)
{
for
(
KylinOrderRefundsVo
refundVo
:
kylinOrderRefundsVoBaseList
)
{
int
status
=
refundVo
.
getStatus
();
int
status
=
refundVo
.
getStatus
();
if
(
status
==
0
||
status
==
3
||
status
==
5
||
status
==
7
)
{
//退款流程未完成 金额锁定
if
(
status
==
0
||
status
==
3
||
status
==
7
)
{
//退款流程未完成 金额锁定
List
<
KylinOrderRefundEntitiesVo
>
refundEntitiesVos
=
refundVo
.
getOrderRefundEntitiesVoList
();
List
<
KylinOrderRefundEntitiesVo
>
refundEntitiesVos
=
refundVo
.
getOrderRefundEntitiesVoList
();
for
(
KylinOrderRefundEntitiesVo
refundEntitiesVo
:
refundEntitiesVos
)
{
for
(
KylinOrderRefundEntitiesVo
refundEntitiesVo
:
refundEntitiesVos
)
{
if
(
refundEntitiesVo
.
getOrderTicketEntitiesId
().
equals
(
orderTicketEntitiesId
))
{
if
(
refundEntitiesVo
.
getOrderTicketEntitiesId
().
equals
(
orderTicketEntitiesId
))
{
...
...
liquidnet-bus-service/liquidnet-service-notify/liquidnet-service-notify-impl/src/main/java/com/liquidnet/service/dragon/channel/strategy/biz/DragonPayBiz.java
View file @
5290964e
This diff is collapsed.
Click to expand it.
liquidnet-bus-service/liquidnet-service-notify/liquidnet-service-notify-impl/src/main/java/com/liquidnet/service/dragon/utils/ObjectUtil.java
View file @
5290964e
...
@@ -3,8 +3,10 @@ package com.liquidnet.service.dragon.utils;
...
@@ -3,8 +3,10 @@ package com.liquidnet.service.dragon.utils;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alipay.api.request.AlipayTradeWapPayRequest
;
import
com.alipay.api.request.AlipayTradeWapPayRequest
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
org.springframework.util.LinkedMultiValueMap
;
import
java.util.*
;
import
java.util.HashMap
;
import
java.util.LinkedList
;
/**
/**
* @author AnJiabin <anjiabin@zhengzai.tv>
* @author AnJiabin <anjiabin@zhengzai.tv>
...
@@ -23,6 +25,7 @@ public class ObjectUtil {
...
@@ -23,6 +25,7 @@ public class ObjectUtil {
private
static
final
HashMap
<
String
,
Object
>
hashMapStringAndObj
=
new
HashMap
<>();
private
static
final
HashMap
<
String
,
Object
>
hashMapStringAndObj
=
new
HashMap
<>();
private
static
final
AlipayTradeWapPayRequest
alipayTradeWapPayRequest
=
new
AlipayTradeWapPayRequest
();
private
static
final
AlipayTradeWapPayRequest
alipayTradeWapPayRequest
=
new
AlipayTradeWapPayRequest
();
private
static
final
JSONObject
jsonObjectObj
=
new
JSONObject
();
private
static
final
JSONObject
jsonObjectObj
=
new
JSONObject
();
private
static
final
LinkedMultiValueMap
<
String
,
String
>
linkedMultiValueMapStringAndString
=
new
LinkedMultiValueMap
<
String
,
String
>();
public
static
LinkedList
<
Object
[]>
cloneLinkedListObj
()
{
public
static
LinkedList
<
Object
[]>
cloneLinkedListObj
()
{
return
(
LinkedList
<
Object
[]>)
linkedListObj
.
clone
();
return
(
LinkedList
<
Object
[]>)
linkedListObj
.
clone
();
...
@@ -47,4 +50,8 @@ public class ObjectUtil {
...
@@ -47,4 +50,8 @@ public class ObjectUtil {
public
static
JSONObject
cloneJsonObjectObj
()
{
public
static
JSONObject
cloneJsonObjectObj
()
{
return
(
JSONObject
)
jsonObjectObj
.
clone
();
return
(
JSONObject
)
jsonObjectObj
.
clone
();
}
}
public
static
LinkedMultiValueMap
<
String
,
String
>
cloneLinkedMultiValueMapStringAndString
()
{
return
linkedMultiValueMapStringAndString
.
clone
();
}
}
}
liquidnet-bus-service/liquidnet-service-order/liquidnet-service-order-impl/src/main/java/com/liquidnet/service/order/service/impl/KylinOrderTicketsServiceImpl.java
View file @
5290964e
...
@@ -100,9 +100,9 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
...
@@ -100,9 +100,9 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
List
<
AdamEntersVo
>
entersVoList
=
ObjectUtil
.
cloneArrayListObject
();
List
<
AdamEntersVo
>
entersVoList
=
ObjectUtil
.
cloneArrayListObject
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
lock
=
"userId:"
+
uid
;
String
lock
=
"userId:"
+
uid
;
if
(!
redisLockUtil
.
tryLock
(
lock
,
1
,
5
))
{
//
if (!redisLockUtil.tryLock(lock, 1, 5)) {
return
ResponseDto
.
failure
(
ErrorMapping
.
get
(
"20023"
));
//参数错误
//
return ResponseDto.failure(ErrorMapping.get("20023"));//参数错误
}
//
}
try
{
try
{
currentTime
=
System
.
currentTimeMillis
();
currentTime
=
System
.
currentTimeMillis
();
KylinPerformanceVo
performanceData
=
dataUtils
.
getPerformanceVo
(
payOrderParam
.
getPerformanceId
());
KylinPerformanceVo
performanceData
=
dataUtils
.
getPerformanceVo
(
payOrderParam
.
getPerformanceId
());
...
@@ -674,7 +674,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
...
@@ -674,7 +674,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
ObjectUtil
.
cloneBasicDBObject
().
append
(
"$set"
,
mongoConverter
.
convertToMongoType
(
map
))
ObjectUtil
.
cloneBasicDBObject
().
append
(
"$set"
,
mongoConverter
.
convertToMongoType
(
map
))
);
);
LocalDateTime
strTime
=
orderTicketData
.
getChangeDate
();
LocalDateTime
strTime
=
LocalDateTime
.
now
();
dataUtils
.
delOrderTicketRedis
(
orderTickets
.
getOrderTicketsId
());
dataUtils
.
delOrderTicketRedis
(
orderTickets
.
getOrderTicketsId
());
LinkedList
<
String
>
sqls
=
ObjectUtil
.
cloneLinkedListStr
();
LinkedList
<
String
>
sqls
=
ObjectUtil
.
cloneLinkedListStr
();
...
@@ -764,7 +764,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
...
@@ -764,7 +764,7 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsOrderServ
LinkedList
<
Object
[]>
sqlsDataC
=
ObjectUtil
.
cloneLinkedListObj
();
LinkedList
<
Object
[]>
sqlsDataC
=
ObjectUtil
.
cloneLinkedListObj
();
LinkedList
<
Object
[]>
sqlsDataD
=
ObjectUtil
.
cloneLinkedListObj
();
LinkedList
<
Object
[]>
sqlsDataD
=
ObjectUtil
.
cloneLinkedListObj
();
LocalDateTime
strTime
=
orderTicketData
.
getChangeDate
();
LocalDateTime
strTime
=
LocalDateTime
.
now
();
KylinOrderTickets
orderTickets
=
KylinOrderTickets
.
getNew
();
KylinOrderTickets
orderTickets
=
KylinOrderTickets
.
getNew
();
KylinOrderTicketStatus
orderTicketStatus
=
KylinOrderTicketStatus
.
getNew
();
KylinOrderTicketStatus
orderTicketStatus
=
KylinOrderTicketStatus
.
getNew
();
...
...
liquidnet-bus-service/liquidnet-service-order/liquidnet-service-order-impl/src/main/java/com/liquidnet/service/order/service/impl/KylinRefundsStatusServiceImpl.java
View file @
5290964e
...
@@ -106,8 +106,9 @@ public class KylinRefundsStatusServiceImpl {
...
@@ -106,8 +106,9 @@ public class KylinRefundsStatusServiceImpl {
objectB
[
0
]
=
entitiesTable
.
getIsPayment
();
objectB
[
0
]
=
entitiesTable
.
getIsPayment
();
objectB
[
1
]
=
entitiesTable
.
getUpdatedAt
();
objectB
[
1
]
=
entitiesTable
.
getUpdatedAt
();
objectB
[
2
]
=
v
;
objectB
[
2
]
=
v
;
objectB
[
3
]
=
orderInfo
.
getChangeDate
();
LocalDateTime
now1
=
LocalDateTime
.
now
();
objectB
[
4
]
=
orderInfo
.
getChangeDate
();
objectB
[
3
]
=
now1
;
objectB
[
4
]
=
now1
;
sqlsDataB
.
add
(
objectB
);
sqlsDataB
.
add
(
objectB
);
mongoTemplate
.
getCollection
(
KylinOrderTicketEntitiesVo
.
class
.
getSimpleName
()).
updateOne
(
mongoTemplate
.
getCollection
(
KylinOrderTicketEntitiesVo
.
class
.
getSimpleName
()).
updateOne
(
...
@@ -189,16 +190,17 @@ public class KylinRefundsStatusServiceImpl {
...
@@ -189,16 +190,17 @@ public class KylinRefundsStatusServiceImpl {
objectE
[
1
]
=
paymentType
;
objectE
[
1
]
=
paymentType
;
objectE
[
2
]
=
orderStatusTable
.
getUpdatedAt
();
objectE
[
2
]
=
orderStatusTable
.
getUpdatedAt
();
objectE
[
3
]
=
orderInfo
.
getOrderTicketsId
();
objectE
[
3
]
=
orderInfo
.
getOrderTicketsId
();
objectE
[
4
]
=
orderInfo
.
getChangeDate
();
LocalDateTime
now1
=
LocalDateTime
.
now
();
objectE
[
5
]
=
orderInfo
.
getChangeDate
();
objectE
[
4
]
=
now1
;
objectE
[
5
]
=
now1
;
sqlsDataE
.
add
(
objectE
);
sqlsDataE
.
add
(
objectE
);
Object
[]
objectA
=
ObjectUtil
.
cloneObjectsArray
(
5
);
Object
[]
objectA
=
ObjectUtil
.
cloneObjectsArray
(
5
);
objectA
[
0
]
=
orderStatusTable
.
getStatus
();
objectA
[
0
]
=
orderStatusTable
.
getStatus
();
objectA
[
1
]
=
orderStatusTable
.
getUpdatedAt
();
objectA
[
1
]
=
orderStatusTable
.
getUpdatedAt
();
objectA
[
2
]
=
orderInfo
.
getOrderTicketsId
();
objectA
[
2
]
=
orderInfo
.
getOrderTicketsId
();
objectA
[
3
]
=
orderInfo
.
getChangeDate
()
;
objectA
[
3
]
=
now1
;
objectA
[
4
]
=
orderInfo
.
getChangeDate
()
;
objectA
[
4
]
=
now1
;
sqlsDataA
.
add
(
objectA
);
sqlsDataA
.
add
(
objectA
);
Object
[]
objectC
=
ObjectUtil
.
cloneObjectsArray
(
13
);
Object
[]
objectC
=
ObjectUtil
.
cloneObjectsArray
(
13
);
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetAppletController.java
View file @
5290964e
...
@@ -40,7 +40,7 @@ public class SweetAppletController {
...
@@ -40,7 +40,7 @@ public class SweetAppletController {
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
})
})
public
ResponseDto
<
SweetManualAppletDto
>
details
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
)
{
public
ResponseDto
<
SweetManualAppletDto
>
details
(
@RequestParam
()
String
manualId
)
{
return
ResponseDto
.
success
(
redisDataUtils
.
getAppletPerformance
(
manualId
));
return
ResponseDto
.
success
(
redisDataUtils
.
getAppletPerformance
(
manualId
));
}
}
...
@@ -49,7 +49,7 @@ public class SweetAppletController {
...
@@ -49,7 +49,7 @@ public class SweetAppletController {
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
})
})
public
ResponseDto
<
List
<
SweetManualNotify
>>
notify
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
)
{
public
ResponseDto
<
List
<
SweetManualNotify
>>
notify
(
@RequestParam
()
String
manualId
)
{
return
ResponseDto
.
success
(
redisDataUtils
.
getNotifyRedisData
(
manualId
));
return
ResponseDto
.
success
(
redisDataUtils
.
getNotifyRedisData
(
manualId
));
}
}
...
@@ -58,7 +58,7 @@ public class SweetAppletController {
...
@@ -58,7 +58,7 @@ public class SweetAppletController {
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
})
})
public
ResponseDto
<
List
<
String
>>
tag
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
)
{
public
ResponseDto
<
List
<
String
>>
tag
(
@RequestParam
()
String
manualId
)
{
return
ResponseDto
.
success
(
redisDataUtils
.
getTagRedisData
(
manualId
));
return
ResponseDto
.
success
(
redisDataUtils
.
getTagRedisData
(
manualId
));
}
}
...
@@ -72,12 +72,12 @@ public class SweetAppletController {
...
@@ -72,12 +72,12 @@ public class SweetAppletController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"page"
,
value
=
"页数"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"page"
,
value
=
"页数"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
})
})
public
ResponseDto
<
SweetManualArtistList2Dto
>
timeList
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
,
public
ResponseDto
<
SweetManualArtistList2Dto
>
timeList
(
@RequestParam
(
)
String
manualId
,
@RequestParam
(
defaultValue
=
"2021-12-01"
)
String
dateTime
,
@RequestParam
()
String
dateTime
,
@RequestParam
(
defaultValue
=
"测试舞台"
)
String
stage
,
@RequestParam
()
String
stage
,
@RequestParam
(
defaultValue
=
"isSign"
)
Integer
isSign
,
@RequestParam
()
Integer
isSign
,
@RequestParam
(
defaultValue
=
"page"
)
Integer
page
,
@RequestParam
()
Integer
page
,
@RequestParam
(
defaultValue
=
"size"
)
Integer
size
)
{
@RequestParam
()
Integer
size
)
{
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
int
startPosition
=
(
page
-
1
)
*
size
;
int
startPosition
=
(
page
-
1
)
*
size
;
int
endPosition
=
(
page
)
*
size
;
int
endPosition
=
(
page
)
*
size
;
...
@@ -151,8 +151,8 @@ public class SweetAppletController {
...
@@ -151,8 +151,8 @@ public class SweetAppletController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"type"
,
value
=
"类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"type"
,
value
=
"类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)"
,
required
=
true
),
})
})
public
ResponseDto
<
SweetRichtext
>
richText
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
,
public
ResponseDto
<
SweetRichtext
>
richText
(
@RequestParam
()
String
manualId
,
@RequestParam
(
defaultValue
=
"1"
)
String
type
)
{
@RequestParam
()
String
type
)
{
return
ResponseDto
.
success
(
redisDataUtils
.
getRichTextRedisData
(
manualId
,
type
));
return
ResponseDto
.
success
(
redisDataUtils
.
getRichTextRedisData
(
manualId
,
type
));
}
}
...
@@ -162,8 +162,8 @@ public class SweetAppletController {
...
@@ -162,8 +162,8 @@ public class SweetAppletController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"uid"
,
value
=
"用户id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"uid"
,
value
=
"用户id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"artistsId"
,
value
=
"艺人id"
,
required
=
true
)
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"artistsId"
,
value
=
"艺人id"
,
required
=
true
)
})
})
public
ResponseDto
<
Boolean
>
watch
(
@RequestParam
(
defaultValue
=
"1"
)
String
uid
,
public
ResponseDto
<
Boolean
>
watch
(
@RequestParam
()
String
uid
,
@RequestParam
(
defaultValue
=
"1"
)
String
artistsId
)
{
@RequestParam
()
String
artistsId
)
{
redisDataUtils
.
setArtistsRelationRedisVo
(
uid
,
artistsId
,
"sign"
);
redisDataUtils
.
setArtistsRelationRedisVo
(
uid
,
artistsId
,
"sign"
);
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
}
}
...
@@ -174,8 +174,8 @@ public class SweetAppletController {
...
@@ -174,8 +174,8 @@ public class SweetAppletController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"uid"
,
value
=
"用户id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"uid"
,
value
=
"用户id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"artistsId"
,
value
=
"艺人id"
,
required
=
true
)
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"artistsId"
,
value
=
"艺人id"
,
required
=
true
)
})
})
public
ResponseDto
<
Boolean
>
sign
(
@RequestParam
(
defaultValue
=
"1"
)
String
uid
,
public
ResponseDto
<
Boolean
>
sign
(
@RequestParam
()
String
uid
,
@RequestParam
(
defaultValue
=
"1"
)
String
artistsId
)
{
@RequestParam
()
String
artistsId
)
{
redisDataUtils
.
setArtistsRelationRedisVo
(
uid
,
artistsId
,
"watch"
);
redisDataUtils
.
setArtistsRelationRedisVo
(
uid
,
artistsId
,
"watch"
);
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
}
}
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetArtistsController.java
View file @
5290964e
...
@@ -37,9 +37,9 @@ public class SweetArtistsController {
...
@@ -37,9 +37,9 @@ public class SweetArtistsController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"name"
,
value
=
"艺人姓名 不查询从传递null"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"name"
,
value
=
"艺人姓名 不查询从传递null"
,
required
=
false
),
})
})
public
ResponseDto
<
PageInfo
<
SweetArtists
>>
getList
(
@RequestParam
(
defaultValue
=
"1"
)
Integer
page
,
public
ResponseDto
<
PageInfo
<
SweetArtists
>>
getList
(
@RequestParam
()
Integer
page
,
@RequestParam
(
defaultValue
=
"10"
)
Integer
size
,
@RequestParam
()
Integer
size
,
@RequestParam
(
defaultValue
=
"艺人姓名"
,
required
=
false
)
String
name
)
{
@RequestParam
(
required
=
false
)
String
name
)
{
return
sweetArtistsService
.
getList
(
page
,
size
,
name
);
return
sweetArtistsService
.
getList
(
page
,
size
,
name
);
}
}
...
@@ -51,10 +51,10 @@ public class SweetArtistsController {
...
@@ -51,10 +51,10 @@ public class SweetArtistsController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"pinyin"
,
value
=
"姓名拼音"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"pinyin"
,
value
=
"姓名拼音"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"describe"
,
value
=
"艺人简介"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"describe"
,
value
=
"艺人简介"
,
required
=
true
),
})
})
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
(
defaultValue
=
""
)
String
picUrl
,
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
()
String
picUrl
,
@RequestParam
(
defaultValue
=
"艺人姓名"
)
String
name
,
@RequestParam
()
String
name
,
@RequestParam
(
defaultValue
=
"pinyin"
)
String
pinyin
,
@RequestParam
()
String
pinyin
,
@RequestParam
(
defaultValue
=
"艺人简介"
)
String
describe
)
{
@RequestParam
()
String
describe
)
{
return
sweetArtistsService
.
add
(
picUrl
,
name
,
pinyin
,
describe
);
return
sweetArtistsService
.
add
(
picUrl
,
name
,
pinyin
,
describe
);
}
}
...
@@ -63,7 +63,7 @@ public class SweetArtistsController {
...
@@ -63,7 +63,7 @@ public class SweetArtistsController {
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"artistsId"
,
value
=
"艺人Id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"artistsId"
,
value
=
"艺人Id"
,
required
=
true
),
})
})
public
ResponseDto
<
SweetArtists
>
detail
(
@RequestParam
(
defaultValue
=
"1"
)
String
artistsId
)
{
public
ResponseDto
<
SweetArtists
>
detail
(
@RequestParam
()
String
artistsId
)
{
return
sweetArtistsService
.
detail
(
artistsId
);
return
sweetArtistsService
.
detail
(
artistsId
);
}
}
...
@@ -76,11 +76,11 @@ public class SweetArtistsController {
...
@@ -76,11 +76,11 @@ public class SweetArtistsController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"pinyin"
,
value
=
"姓名拼音"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"pinyin"
,
value
=
"姓名拼音"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"describe"
,
value
=
"艺人简介"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"describe"
,
value
=
"艺人简介"
,
required
=
true
),
})
})
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
(
defaultValue
=
"1"
)
String
artistsId
,
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
()
String
artistsId
,
@RequestParam
(
defaultValue
=
""
)
String
picUrl
,
@RequestParam
()
String
picUrl
,
@RequestParam
(
defaultValue
=
"艺人姓名"
)
String
name
,
@RequestParam
()
String
name
,
@RequestParam
(
defaultValue
=
"pinyin"
)
String
pinyin
,
@RequestParam
()
String
pinyin
,
@RequestParam
(
defaultValue
=
"艺人简介"
)
String
describe
)
{
@RequestParam
()
String
describe
)
{
return
sweetArtistsService
.
change
(
artistsId
,
picUrl
,
name
,
pinyin
,
describe
);
return
sweetArtistsService
.
change
(
artistsId
,
picUrl
,
name
,
pinyin
,
describe
);
}
}
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetManualArtistsController.java
View file @
5290964e
...
@@ -37,9 +37,9 @@ public class SweetManualArtistsController {
...
@@ -37,9 +37,9 @@ public class SweetManualArtistsController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manaulId"
,
value
=
"手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manaulId"
,
value
=
"手册id"
,
required
=
true
),
})
})
public
ResponseDto
<
PageInfo
<
SweetManualArtistListDto
>>
getList
(
@RequestParam
(
defaultValue
=
"1"
)
Integer
page
,
public
ResponseDto
<
PageInfo
<
SweetManualArtistListDto
>>
getList
(
@RequestParam
()
Integer
page
,
@RequestParam
(
defaultValue
=
"10"
)
Integer
size
,
@RequestParam
()
Integer
size
,
@RequestParam
(
defaultValue
=
""
)
String
manualId
)
{
@RequestParam
()
String
manualId
)
{
return
sweetManualArtistsService
.
getList
(
page
,
size
,
manualId
);
return
sweetManualArtistsService
.
getList
(
page
,
size
,
manualId
);
}
}
...
@@ -48,7 +48,7 @@ public class SweetManualArtistsController {
...
@@ -48,7 +48,7 @@ public class SweetManualArtistsController {
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualRelationId"
,
value
=
"手册艺人id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualRelationId"
,
value
=
"手册艺人id"
,
required
=
true
),
})
})
public
ResponseDto
<
SweetManualArtistListDto
>
details
(
@RequestParam
(
defaultValue
=
""
)
String
manualRelationId
)
{
public
ResponseDto
<
SweetManualArtistListDto
>
details
(
@RequestParam
()
String
manualRelationId
)
{
return
sweetManualArtistsService
.
details
(
manualRelationId
);
return
sweetManualArtistsService
.
details
(
manualRelationId
);
}
}
...
@@ -63,13 +63,13 @@ public class SweetManualArtistsController {
...
@@ -63,13 +63,13 @@ public class SweetManualArtistsController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"signatureStart"
,
value
=
"签售开始时间"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"signatureStart"
,
value
=
"签售开始时间"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"signatureEnd"
,
value
=
"签售结束时间"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"signatureEnd"
,
value
=
"签售结束时间"
,
required
=
false
),
})
})
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
,
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
()
String
manualId
,
@RequestParam
(
defaultValue
=
"10"
)
String
artistId
,
@RequestParam
()
String
artistId
,
@RequestParam
(
defaultValue
=
""
)
String
stageId
,
@RequestParam
()
String
stageId
,
@RequestParam
(
defaultValue
=
""
,
required
=
false
)
String
performanceStart
,
@RequestParam
(
required
=
false
)
String
performanceStart
,
@RequestParam
(
defaultValue
=
""
,
required
=
false
)
String
performanceEnd
,
@RequestParam
(
required
=
false
)
String
performanceEnd
,
@RequestParam
(
defaultValue
=
""
,
required
=
false
)
String
signatureStart
,
@RequestParam
(
required
=
false
)
String
signatureStart
,
@RequestParam
(
defaultValue
=
""
,
required
=
false
)
String
signatureEnd
)
{
@RequestParam
(
required
=
false
)
String
signatureEnd
)
{
return
sweetManualArtistsService
.
add
(
manualId
,
artistId
,
stageId
,
performanceStart
,
performanceEnd
,
signatureStart
,
signatureEnd
);
return
sweetManualArtistsService
.
add
(
manualId
,
artistId
,
stageId
,
performanceStart
,
performanceEnd
,
signatureStart
,
signatureEnd
);
}
}
...
@@ -85,14 +85,14 @@ public class SweetManualArtistsController {
...
@@ -85,14 +85,14 @@ public class SweetManualArtistsController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"signatureStart"
,
value
=
"签售开始时间"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"signatureStart"
,
value
=
"签售开始时间"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"signatureEnd"
,
value
=
"签售结束时间"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"signatureEnd"
,
value
=
"签售结束时间"
,
required
=
false
),
})
})
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualRelationId
,
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
()
String
manualRelationId
,
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
,
@RequestParam
()
String
manualId
,
@RequestParam
(
defaultValue
=
"10"
)
String
artistId
,
@RequestParam
()
String
artistId
,
@RequestParam
(
defaultValue
=
""
)
String
stageId
,
@RequestParam
()
String
stageId
,
@RequestParam
(
defaultValue
=
""
,
required
=
false
)
String
performanceStart
,
@RequestParam
(
required
=
false
)
String
performanceStart
,
@RequestParam
(
defaultValue
=
""
,
required
=
false
)
String
performanceEnd
,
@RequestParam
(
required
=
false
)
String
performanceEnd
,
@RequestParam
(
defaultValue
=
""
,
required
=
false
)
String
signatureStart
,
@RequestParam
(
required
=
false
)
String
signatureStart
,
@RequestParam
(
defaultValue
=
""
,
required
=
false
)
String
signatureEnd
)
{
@RequestParam
(
required
=
false
)
String
signatureEnd
)
{
return
sweetManualArtistsService
.
change
(
manualRelationId
,
manualId
,
artistId
,
stageId
,
performanceStart
,
performanceEnd
,
signatureStart
,
signatureEnd
);
return
sweetManualArtistsService
.
change
(
manualRelationId
,
manualId
,
artistId
,
stageId
,
performanceStart
,
performanceEnd
,
signatureStart
,
signatureEnd
);
}
}
...
@@ -102,8 +102,8 @@ public class SweetManualArtistsController {
...
@@ -102,8 +102,8 @@ public class SweetManualArtistsController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualRelationId"
,
value
=
"手册艺人id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualRelationId"
,
value
=
"手册艺人id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
)
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
)
})
})
public
ResponseDto
<
Boolean
>
delete
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualRelationId
,
public
ResponseDto
<
Boolean
>
delete
(
@RequestParam
()
String
manualRelationId
,
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
)
{
@RequestParam
()
String
manualId
)
{
return
sweetManualArtistsService
.
delete
(
manualRelationId
,
manualId
);
return
sweetManualArtistsService
.
delete
(
manualRelationId
,
manualId
);
}
}
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetManualController.java
View file @
5290964e
...
@@ -37,9 +37,9 @@ public class SweetManualController {
...
@@ -37,9 +37,9 @@ public class SweetManualController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"name"
,
value
=
"姓名"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"name"
,
value
=
"姓名"
,
required
=
false
),
})
})
public
ResponseDto
<
PageInfo
<
SweetManualDto
>>
getList
(
@RequestParam
(
defaultValue
=
"1"
)
Integer
page
,
public
ResponseDto
<
PageInfo
<
SweetManualDto
>>
getList
(
@RequestParam
()
Integer
page
,
@RequestParam
(
defaultValue
=
"10"
)
Integer
size
,
@RequestParam
()
Integer
size
,
@RequestParam
(
defaultValue
=
""
,
required
=
false
)
String
name
)
{
@RequestParam
(
required
=
false
)
String
name
)
{
return
sweetManualService
.
getManualList
(
page
,
size
,
name
);
return
sweetManualService
.
getManualList
(
page
,
size
,
name
);
}
}
...
@@ -49,8 +49,8 @@ public class SweetManualController {
...
@@ -49,8 +49,8 @@ public class SweetManualController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"page"
,
value
=
"页数"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"page"
,
value
=
"页数"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
})
})
public
ResponseDto
<
Boolean
>
changeRelease
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
,
public
ResponseDto
<
Boolean
>
changeRelease
(
@RequestParam
()
String
manualId
,
@RequestParam
(
defaultValue
=
"1"
)
Integer
isRelease
)
{
@RequestParam
()
Integer
isRelease
)
{
return
sweetManualService
.
changeRelease
(
manualId
,
isRelease
);
return
sweetManualService
.
changeRelease
(
manualId
,
isRelease
);
}
}
...
@@ -61,9 +61,9 @@ public class SweetManualController {
...
@@ -61,9 +61,9 @@ public class SweetManualController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"performancesId"
,
value
=
"演出id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"performancesId"
,
value
=
"演出id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"status"
,
value
=
"开启状态"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"status"
,
value
=
"开启状态"
,
required
=
true
),
})
})
public
ResponseDto
<
Boolean
>
changeStatus
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
,
public
ResponseDto
<
Boolean
>
changeStatus
(
@RequestParam
()
String
manualId
,
@RequestParam
(
defaultValue
=
"1"
)
String
performancesId
,
@RequestParam
()
String
performancesId
,
@RequestParam
(
defaultValue
=
"1"
)
Integer
status
)
{
@RequestParam
()
Integer
status
)
{
return
sweetManualService
.
changeStatus
(
manualId
,
performancesId
,
status
);
return
sweetManualService
.
changeStatus
(
manualId
,
performancesId
,
status
);
}
}
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetManualNotifyController.java
View file @
5290964e
...
@@ -39,10 +39,10 @@ public class SweetManualNotifyController {
...
@@ -39,10 +39,10 @@ public class SweetManualNotifyController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"name"
,
value
=
"通知标题 不查询从传递null"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"name"
,
value
=
"通知标题 不查询从传递null"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
),
})
})
public
ResponseDto
<
PageInfo
<
SweetManualNotify
>>
getList
(
@RequestParam
(
defaultValue
=
"1"
)
Integer
page
,
public
ResponseDto
<
PageInfo
<
SweetManualNotify
>>
getList
(
@RequestParam
()
Integer
page
,
@RequestParam
(
defaultValue
=
"10"
)
Integer
size
,
@RequestParam
()
Integer
size
,
@RequestParam
(
defaultValue
=
"标题"
,
required
=
false
)
String
name
,
@RequestParam
(
required
=
false
)
String
name
,
@RequestParam
(
defaultValue
=
"手册id"
)
String
manualId
)
{
@RequestParam
()
String
manualId
)
{
return
sweetManualNotifyService
.
getList
(
page
,
size
,
name
,
manualId
);
return
sweetManualNotifyService
.
getList
(
page
,
size
,
name
,
manualId
);
}
}
...
@@ -53,9 +53,9 @@ public class SweetManualNotifyController {
...
@@ -53,9 +53,9 @@ public class SweetManualNotifyController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"title"
,
value
=
"标题"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"title"
,
value
=
"标题"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"content"
,
value
=
"内容"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"content"
,
value
=
"内容"
,
required
=
true
),
})
})
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
(
defaultValue
=
""
)
String
manualId
,
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
()
String
manualId
,
@RequestParam
(
defaultValue
=
"标题"
)
String
title
,
@RequestParam
()
String
title
,
@RequestParam
(
defaultValue
=
"内容"
)
String
content
)
{
@RequestParam
()
String
content
)
{
return
sweetManualNotifyService
.
add
(
manualId
,
title
,
content
);
return
sweetManualNotifyService
.
add
(
manualId
,
title
,
content
);
}
}
...
@@ -64,7 +64,7 @@ public class SweetManualNotifyController {
...
@@ -64,7 +64,7 @@ public class SweetManualNotifyController {
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"手册id"
,
required
=
true
),
})
})
public
ResponseDto
<
SweetManualNotify
>
detail
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
)
{
public
ResponseDto
<
SweetManualNotify
>
detail
(
@RequestParam
()
String
manualId
)
{
return
sweetManualNotifyService
.
details
(
manualId
);
return
sweetManualNotifyService
.
details
(
manualId
);
}
}
...
@@ -76,10 +76,10 @@ public class SweetManualNotifyController {
...
@@ -76,10 +76,10 @@ public class SweetManualNotifyController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"title"
,
value
=
"标题"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"title"
,
value
=
"标题"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"content"
,
value
=
"内容"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"content"
,
value
=
"内容"
,
required
=
true
),
})
})
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
(
defaultValue
=
""
)
String
manualId
,
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
()
String
manualId
,
@RequestParam
(
defaultValue
=
""
)
String
manualNotifyId
,
@RequestParam
()
String
manualNotifyId
,
@RequestParam
(
defaultValue
=
"标题"
)
String
title
,
@RequestParam
()
String
title
,
@RequestParam
(
defaultValue
=
"内容"
)
String
content
)
{
@RequestParam
()
String
content
)
{
return
sweetManualNotifyService
.
change
(
manualId
,
manualNotifyId
,
title
,
content
);
return
sweetManualNotifyService
.
change
(
manualId
,
manualNotifyId
,
title
,
content
);
}
}
...
@@ -88,7 +88,7 @@ public class SweetManualNotifyController {
...
@@ -88,7 +88,7 @@ public class SweetManualNotifyController {
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualNotifyId"
,
value
=
"手册通知id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualNotifyId"
,
value
=
"手册通知id"
,
required
=
true
),
})
})
public
ResponseDto
<
Boolean
>
delete
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualNotifyId
)
{
public
ResponseDto
<
Boolean
>
delete
(
@RequestParam
()
String
manualNotifyId
)
{
return
sweetManualNotifyService
.
delete
(
manualNotifyId
);
return
sweetManualNotifyService
.
delete
(
manualNotifyId
);
}
}
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetManualSortController.java
View file @
5290964e
...
@@ -34,8 +34,8 @@ public class SweetManualSortController {
...
@@ -34,8 +34,8 @@ public class SweetManualSortController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"content"
,
value
=
"内容 例子(POSITION_1,POSITION_2)"
,
required
=
true
)
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"content"
,
value
=
"内容 例子(POSITION_1,POSITION_2)"
,
required
=
true
)
})
})
public
ResponseDto
<
Boolean
>
changeStatus
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
,
public
ResponseDto
<
Boolean
>
changeStatus
(
@RequestParam
()
String
manualId
,
@RequestParam
(
defaultValue
=
""
)
String
content
)
{
@RequestParam
()
String
content
)
{
return
sweetManualSortService
.
add
(
manualId
,
content
);
return
sweetManualSortService
.
add
(
manualId
,
content
);
}
}
...
@@ -44,7 +44,7 @@ public class SweetManualSortController {
...
@@ -44,7 +44,7 @@ public class SweetManualSortController {
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
)
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
)
})
})
public
ResponseDto
<
SweetManualSort
>
changeStatus
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
)
{
public
ResponseDto
<
SweetManualSort
>
changeStatus
(
@RequestParam
()
String
manualId
)
{
return
sweetManualSortService
.
get
(
manualId
);
return
sweetManualSortService
.
get
(
manualId
);
}
}
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetRichtextController.java
View file @
5290964e
...
@@ -36,8 +36,8 @@ public class SweetRichtextController {
...
@@ -36,8 +36,8 @@ public class SweetRichtextController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"manualId"
,
value
=
"电子手册id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)"
,
required
=
true
),
})
})
public
ResponseDto
<
SweetRichtext
>
get
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
,
public
ResponseDto
<
SweetRichtext
>
get
(
@RequestParam
()
String
manualId
,
@RequestParam
(
defaultValue
=
"1"
)
Integer
type
)
{
@RequestParam
()
Integer
type
)
{
return
sweetRichtextService
.
get
(
manualId
,
type
);
return
sweetRichtextService
.
get
(
manualId
,
type
);
}
}
...
@@ -50,11 +50,11 @@ public class SweetRichtextController {
...
@@ -50,11 +50,11 @@ public class SweetRichtextController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"picUrl"
,
value
=
"图片地址"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"picUrl"
,
value
=
"图片地址"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)"
,
required
=
true
),
})
})
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
,
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
()
String
manualId
,
@RequestParam
(
defaultValue
=
""
,
required
=
false
)
String
details
,
@RequestParam
(
required
=
false
)
String
details
,
@RequestParam
(
defaultValue
=
"100.100,200.200"
,
required
=
false
)
String
local
,
@RequestParam
(
required
=
false
)
String
local
,
@RequestParam
(
defaultValue
=
""
,
required
=
false
)
String
picUrl
,
@RequestParam
(
required
=
false
)
String
picUrl
,
@RequestParam
(
defaultValue
=
"1"
)
Integer
type
)
{
@RequestParam
()
Integer
type
)
{
return
sweetRichtextService
.
add
(
manualId
,
details
,
local
,
picUrl
,
type
);
return
sweetRichtextService
.
add
(
manualId
,
details
,
local
,
picUrl
,
type
);
}
}
...
@@ -67,11 +67,11 @@ public class SweetRichtextController {
...
@@ -67,11 +67,11 @@ public class SweetRichtextController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"picUrl"
,
value
=
"图片地址"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"picUrl"
,
value
=
"图片地址"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"type"
,
value
=
"类型 (1签售时间 2现场地图 3官方大巴 4公共交通 5自驾导航坐标 6官方支持 7观众须知 8防疫指南 9观演攻略)"
,
required
=
true
),
})
})
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
(
defaultValue
=
"1"
)
String
manualId
,
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
()
String
manualId
,
@RequestParam
(
defaultValue
=
""
,
required
=
false
)
String
details
,
@RequestParam
(
required
=
false
)
String
details
,
@RequestParam
(
defaultValue
=
"100.100,200.200"
,
required
=
false
)
String
local
,
@RequestParam
(
required
=
false
)
String
local
,
@RequestParam
(
defaultValue
=
""
,
required
=
false
)
String
picUrl
,
@RequestParam
(
required
=
false
)
String
picUrl
,
@RequestParam
(
defaultValue
=
"1"
)
Integer
type
)
{
@RequestParam
()
Integer
type
)
{
return
sweetRichtextService
.
change
(
manualId
,
details
,
local
,
picUrl
,
type
);
return
sweetRichtextService
.
change
(
manualId
,
details
,
local
,
picUrl
,
type
);
}
}
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetStageController.java
View file @
5290964e
...
@@ -35,19 +35,19 @@ public class SweetStageController {
...
@@ -35,19 +35,19 @@ public class SweetStageController {
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"Integer"
,
name
=
"size"
,
value
=
"数量"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"title"
,
value
=
"舞台名称"
,
required
=
false
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"title"
,
value
=
"舞台名称"
,
required
=
false
),
})
})
public
ResponseDto
<
PageInfo
<
SweetStage
>>
getList
(
@RequestParam
(
defaultValue
=
"1"
)
Integer
page
,
public
ResponseDto
<
PageInfo
<
SweetStage
>>
getList
(
@RequestParam
()
Integer
page
,
@RequestParam
(
defaultValue
=
"10"
)
Integer
size
,
@RequestParam
()
Integer
size
,
@RequestParam
(
defaultValue
=
"名字"
,
required
=
false
)
String
title
)
{
@RequestParam
(
required
=
false
)
String
title
)
{
return
sweetStageService
.
getList
(
page
,
size
,
title
);
return
sweetStageService
.
getList
(
page
,
size
,
title
);
}
}
@PostMapping
(
"add"
)
@PostMapping
(
"add"
)
@ApiOperation
(
"添加舞台"
)
@ApiOperation
(
"添加舞台"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"
nam
e"
,
value
=
"舞台名"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"
titl
e"
,
value
=
"舞台名"
,
required
=
true
),
})
})
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
(
defaultValue
=
"舞台名"
)
String
nam
e
)
{
public
ResponseDto
<
Boolean
>
add
(
@RequestParam
(
)
String
titl
e
)
{
return
sweetStageService
.
add
(
nam
e
);
return
sweetStageService
.
add
(
titl
e
);
}
}
@GetMapping
(
"detail"
)
@GetMapping
(
"detail"
)
...
@@ -55,7 +55,7 @@ public class SweetStageController {
...
@@ -55,7 +55,7 @@ public class SweetStageController {
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"stageId"
,
value
=
"舞台Id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"stageId"
,
value
=
"舞台Id"
,
required
=
true
),
})
})
public
ResponseDto
<
SweetStage
>
detail
(
@RequestParam
(
defaultValue
=
"1"
)
String
stageId
)
{
public
ResponseDto
<
SweetStage
>
detail
(
@RequestParam
()
String
stageId
)
{
return
sweetStageService
.
detail
(
stageId
);
return
sweetStageService
.
detail
(
stageId
);
}
}
...
@@ -63,10 +63,10 @@ public class SweetStageController {
...
@@ -63,10 +63,10 @@ public class SweetStageController {
@ApiOperation
(
"修改舞台"
)
@ApiOperation
(
"修改舞台"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"stageId"
,
value
=
"舞台Id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"stageId"
,
value
=
"舞台Id"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"
nam
e"
,
value
=
"舞台名"
,
required
=
true
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"
titl
e"
,
value
=
"舞台名"
,
required
=
true
),
})
})
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
(
defaultValue
=
"1"
)
String
stageId
,
public
ResponseDto
<
Boolean
>
change
(
@RequestParam
()
String
stageId
,
@RequestParam
(
defaultValue
=
"舞台名"
)
String
nam
e
)
{
@RequestParam
(
)
String
titl
e
)
{
return
sweetStageService
.
change
(
nam
e
,
stageId
);
return
sweetStageService
.
change
(
titl
e
,
stageId
);
}
}
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/dto/SweetManualDto.java
View file @
5290964e
...
@@ -7,6 +7,7 @@ import java.io.Serializable;
...
@@ -7,6 +7,7 @@ import java.io.Serializable;
@Data
@Data
public
class
SweetManualDto
implements
Serializable
,
Cloneable
{
public
class
SweetManualDto
implements
Serializable
,
Cloneable
{
private
String
manualId
;
private
String
performancesId
;
private
String
performancesId
;
private
String
title
;
private
String
title
;
private
String
timeStart
;
private
String
timeStart
;
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetArtistsServiceImpl.java
View file @
5290964e
...
@@ -45,8 +45,13 @@ public class SweetArtistsServiceImpl extends ServiceImpl<SweetArtistsMapper, Swe
...
@@ -45,8 +45,13 @@ public class SweetArtistsServiceImpl extends ServiceImpl<SweetArtistsMapper, Swe
public
ResponseDto
<
PageInfo
<
SweetArtists
>>
getList
(
int
page
,
int
size
,
String
name
)
{
public
ResponseDto
<
PageInfo
<
SweetArtists
>>
getList
(
int
page
,
int
size
,
String
name
)
{
PageInfo
<
SweetArtists
>
pageInfo
=
null
;
PageInfo
<
SweetArtists
>
pageInfo
=
null
;
try
{
try
{
List
<
SweetArtists
>
data
;
PageHelper
.
startPage
(
page
,
size
);
PageHelper
.
startPage
(
page
,
size
);
List
<
SweetArtists
>
data
=
sweetArtistsMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetArtists
.
class
).
like
(
SweetArtists:
:
getName
,
name
));
if
(
name
!=
null
){
data
=
sweetArtistsMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetArtists
.
class
).
like
(
SweetArtists:
:
getName
,
name
));
}
else
{
data
=
sweetArtistsMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetArtists
.
class
));
}
pageInfo
=
new
PageInfo
(
data
);
pageInfo
=
new
PageInfo
(
data
);
return
ResponseDto
.
success
(
pageInfo
);
return
ResponseDto
.
success
(
pageInfo
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetManualNotifyServiceImpl.java
View file @
5290964e
...
@@ -38,7 +38,12 @@ public class SweetManualNotifyServiceImpl extends ServiceImpl<SweetManualNotifyM
...
@@ -38,7 +38,12 @@ public class SweetManualNotifyServiceImpl extends ServiceImpl<SweetManualNotifyM
PageInfo
<
SweetManualNotify
>
pageInfo
=
null
;
PageInfo
<
SweetManualNotify
>
pageInfo
=
null
;
try
{
try
{
PageHelper
.
startPage
(
page
,
size
);
PageHelper
.
startPage
(
page
,
size
);
List
<
SweetManualNotify
>
data
=
sweetManualNotifyMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualNotify
.
class
).
like
(
SweetManualNotify:
:
getTitle
,
title
).
eq
(
SweetManualNotify:
:
getManualId
,
manualId
).
eq
(
SweetManualNotify:
:
getStatus
,
1
));
List
<
SweetManualNotify
>
data
;
if
(
title
!=
null
)
{
data
=
sweetManualNotifyMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualNotify
.
class
).
like
(
SweetManualNotify:
:
getTitle
,
title
).
eq
(
SweetManualNotify:
:
getManualId
,
manualId
).
eq
(
SweetManualNotify:
:
getStatus
,
1
));
}
else
{
data
=
sweetManualNotifyMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetManualNotify
.
class
).
eq
(
SweetManualNotify:
:
getManualId
,
manualId
).
eq
(
SweetManualNotify:
:
getStatus
,
1
));
}
pageInfo
=
new
PageInfo
(
data
);
pageInfo
=
new
PageInfo
(
data
);
return
ResponseDto
.
success
(
pageInfo
);
return
ResponseDto
.
success
(
pageInfo
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
@@ -77,7 +82,7 @@ public class SweetManualNotifyServiceImpl extends ServiceImpl<SweetManualNotifyM
...
@@ -77,7 +82,7 @@ public class SweetManualNotifyServiceImpl extends ServiceImpl<SweetManualNotifyM
}
}
@Override
@Override
public
ResponseDto
<
Boolean
>
change
(
String
manualId
,
String
manualNotifyId
,
String
title
,
String
content
)
{
public
ResponseDto
<
Boolean
>
change
(
String
manualId
,
String
manualNotifyId
,
String
title
,
String
content
)
{
try
{
try
{
SweetManualNotify
sweetManualNotify
=
SweetManualNotify
.
getNew
();
SweetManualNotify
sweetManualNotify
=
SweetManualNotify
.
getNew
();
sweetManualNotify
.
setTitle
(
title
);
sweetManualNotify
.
setTitle
(
title
);
...
@@ -86,12 +91,12 @@ public class SweetManualNotifyServiceImpl extends ServiceImpl<SweetManualNotifyM
...
@@ -86,12 +91,12 @@ public class SweetManualNotifyServiceImpl extends ServiceImpl<SweetManualNotifyM
sweetManualNotifyMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualNotify
.
class
).
eq
(
SweetManualNotify:
:
getManualNotifyId
,
manualNotifyId
));
sweetManualNotifyMapper
.
update
(
sweetManualNotify
,
Wrappers
.
lambdaUpdate
(
SweetManualNotify
.
class
).
eq
(
SweetManualNotify:
:
getManualNotifyId
,
manualNotifyId
));
List
<
SweetManualNotify
>
oldData
=
redisDataUtils
.
getNotifyRedisData
(
manualId
);
List
<
SweetManualNotify
>
oldData
=
redisDataUtils
.
getNotifyRedisData
(
manualId
);
for
(
SweetManualNotify
item
:
oldData
)
{
for
(
SweetManualNotify
item
:
oldData
)
{
if
(
item
.
getManualNotifyId
().
equalsIgnoreCase
(
manualNotifyId
))
{
if
(
item
.
getManualNotifyId
().
equalsIgnoreCase
(
manualNotifyId
))
{
item
.
setTitle
(
title
);
item
.
setTitle
(
title
);
item
.
setContent
(
content
);
item
.
setContent
(
content
);
item
.
setUpdatedAt
(
LocalDateTime
.
now
());
item
.
setUpdatedAt
(
LocalDateTime
.
now
());
}
}
}
}
redisDataUtils
.
setNotifyRedisData
(
manualId
,
oldData
);
redisDataUtils
.
setNotifyRedisData
(
manualId
,
oldData
);
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetManualServiceImpl.java
View file @
5290964e
...
@@ -47,7 +47,7 @@ public class SweetManualServiceImpl extends ServiceImpl<SweetManualMapper, Sweet
...
@@ -47,7 +47,7 @@ public class SweetManualServiceImpl extends ServiceImpl<SweetManualMapper, Sweet
PageHelper
.
startPage
(
page
,
size
);
PageHelper
.
startPage
(
page
,
size
);
HashMap
<
String
,
Object
>
map
=
CollectionUtil
.
mapStringObject
();
HashMap
<
String
,
Object
>
map
=
CollectionUtil
.
mapStringObject
();
map
.
put
(
"title"
,
name
);
map
.
put
(
"title"
,
name
);
List
<
SweetManualDto
>
voList
=
sweetManualMapper
.
getManualList
(
BeanUtil
.
convertBeanToMap
(
map
)
);
List
<
SweetManualDto
>
voList
=
sweetManualMapper
.
getManualList
(
map
);
for
(
int
i
=
0
;
i
<
voList
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
voList
.
size
();
i
++)
{
SweetManualDto
vo
=
voList
.
get
(
i
);
SweetManualDto
vo
=
voList
.
get
(
i
);
if
(
vo
.
getStatus
()
>=
6
&&
vo
.
getStatus
()
!=
7
)
{
if
(
vo
.
getStatus
()
>=
6
&&
vo
.
getStatus
()
!=
7
)
{
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetStageServiceImpl.java
View file @
5290964e
...
@@ -43,7 +43,12 @@ public class SweetStageServiceImpl extends ServiceImpl<SweetStageMapper, SweetSt
...
@@ -43,7 +43,12 @@ public class SweetStageServiceImpl extends ServiceImpl<SweetStageMapper, SweetSt
PageInfo
<
SweetStage
>
pageInfo
=
null
;
PageInfo
<
SweetStage
>
pageInfo
=
null
;
try
{
try
{
PageHelper
.
startPage
(
page
,
size
);
PageHelper
.
startPage
(
page
,
size
);
List
<
SweetStage
>
data
=
sweetStageMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetStage
.
class
).
like
(
SweetStage:
:
getTitle
,
title
));
List
<
SweetStage
>
data
;
if
(
title
!=
null
)
{
data
=
sweetStageMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetStage
.
class
).
like
(
SweetStage:
:
getTitle
,
title
));
}
else
{
data
=
sweetStageMapper
.
selectList
(
Wrappers
.
lambdaQuery
(
SweetStage
.
class
));
}
pageInfo
=
new
PageInfo
(
data
);
pageInfo
=
new
PageInfo
(
data
);
return
ResponseDto
.
success
(
pageInfo
);
return
ResponseDto
.
success
(
pageInfo
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/resources/com/liquidnet/service/sweet/mapper/SweetManualMapper.xml
View file @
5290964e
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
<mapper
namespace=
"com.liquidnet.service.sweet.mapper.SweetManualMapper"
>
<mapper
namespace=
"com.liquidnet.service.sweet.mapper.SweetManualMapper"
>
<resultMap
id=
"partnerPerformanceListResult"
type=
"com.liquidnet.service.sweet.dto.SweetManualDto"
>
<resultMap
id=
"partnerPerformanceListResult"
type=
"com.liquidnet.service.sweet.dto.SweetManualDto"
>
<result
column=
"manual_id"
property=
"manualId"
/>
<result
column=
"performances_id"
property=
"performancesId"
/>
<result
column=
"performances_id"
property=
"performancesId"
/>
<result
column=
"title"
property=
"title"
/>
<result
column=
"title"
property=
"title"
/>
<result
column=
"time_start"
property=
"timeStart"
/>
<result
column=
"time_start"
property=
"timeStart"
/>
...
@@ -27,6 +28,7 @@
...
@@ -27,6 +28,7 @@
<!-- 电子手册列表 -->
<!-- 电子手册列表 -->
<select
id=
"getManualList"
parameterType=
"java.util.Map"
resultMap=
"partnerPerformanceListResult"
>
<select
id=
"getManualList"
parameterType=
"java.util.Map"
resultMap=
"partnerPerformanceListResult"
>
SELECT
SELECT
IFNULL(sm.manual_id,0) as 'manual_id',
p.performances_id ,
p.performances_id ,
p.title ,
p.title ,
p.time_start ,
p.time_start ,
...
...
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