记得上下班打卡 | 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
35397304
Commit
35397304
authored
Aug 01, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
f9731098
97b4b8b1
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
407 additions
and
384 deletions
+407
-384
performancesStatic.html
...lates/zhengzai/kylin/performances/performancesStatic.html
+12
-12
StringUtil.java
...main/java/com/liquidnet/commons/lang/util/StringUtil.java
+27
-4
AdamUserController.java
...liquidnet/service/adam/controller/AdamUserController.java
+2
-2
PayController.java
...om/liquidnet/service/dragon/controller/PayController.java
+8
-8
BannersServiceImpl.java
...uidnet/service/kylin/service/impl/BannersServiceImpl.java
+11
-11
PlatformDMController.java
...ervice/platform/controller/adam/PlatformDMController.java
+298
-298
DataController.java
...net/service/platform/controller/kylin/DataController.java
+49
-49
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performances/performancesStatic.html
View file @
35397304
...
@@ -35,12 +35,12 @@
...
@@ -35,12 +35,12 @@
<div
th:text=
"*{totalGeneral}"
>
80
</div>
<div
th:text=
"*{totalGeneral}"
>
80
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-lg-1"
>
<!-- <div class="col-lg-1">--
>
<div
>
<!-- <div>--
>
<div>
已兑换总数(张)
</div
>
<!-- <div>已兑换总数(张)</div>--
>
<div
th:text=
"*{totalExchange}"
>
0
</div
>
<!-- <div th:text="*{totalExchange}">0</div>--
>
</div
>
<!-- </div>--
>
</div
>
<!-- </div>--
>
<!-- <div class="col-lg-1">-->
<!-- <div class="col-lg-1">-->
<!-- <div>-->
<!-- <div>-->
<!-- <div>兑换库存(张)</div>-->
<!-- <div>兑换库存(张)</div>-->
...
@@ -100,9 +100,9 @@
...
@@ -100,9 +100,9 @@
<th>
<th>
<div
class=
"cell"
>
销售额(元)
</div>
<div
class=
"cell"
>
销售额(元)
</div>
</th>
</th>
<th
>
<!-- <th>--
>
<div
class=
"cell"
>
兑换数量
</div
>
<!-- <div class="cell">兑换数量</div>--
>
</th
>
<!-- </th>--
>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -137,9 +137,9 @@
...
@@ -137,9 +137,9 @@
<td>
<td>
<div
class=
"cell"
th:text=
"${respBean.totalSalePrice}"
>
0
</div>
<div
class=
"cell"
th:text=
"${respBean.totalSalePrice}"
>
0
</div>
</td>
</td>
<td
>
<!-- <td>--
>
<div
class=
"cell"
th:text=
"${respBean.totalExchange}"
>
0
</div
>
<!-- <div class="cell" th:text="${respBean.totalExchange}">0</div>--
>
</td
>
<!-- </td>--
>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
...
liquidnet-bus-common/liquidnet-common-base/src/main/java/com/liquidnet/commons/lang/util/StringUtil.java
View file @
35397304
...
@@ -447,10 +447,6 @@ public abstract class StringUtil {
...
@@ -447,10 +447,6 @@ public abstract class StringUtil {
sb
.
append
(
right
(
bankId
,
4
));
sb
.
append
(
right
(
bankId
,
4
));
return
sb
.
toString
();
return
sb
.
toString
();
}
}
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
isEmail
(
"123@qq.com"
));
}
public
static
boolean
isBlank
(
CharSequence
cs
)
{
public
static
boolean
isBlank
(
CharSequence
cs
)
{
...
@@ -598,4 +594,31 @@ public abstract class StringUtil {
...
@@ -598,4 +594,31 @@ public abstract class StringUtil {
}
}
return
false
;
return
false
;
}
}
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
isEmail
(
"123@qq.com#$%^&*()"
));
String
regEx
=
"[\n`~!@#$%^&*()+=|{}':;',\\[\\].<>/?~!@#¥%……&*()——+|{}【】‘;:”“’。, 、?]"
;
//可以在中括号内加上任何想要替换的字符,实际上是一个正则表达式
String
aa
=
""
;
//这里是将特殊字符换为aa字符串," "代表直接去掉
Pattern
p
=
Pattern
.
compile
(
regEx
);
Matcher
m
=
p
.
matcher
(
"原字符串"
);
//这里把想要替换的字符串传进来
String
newString
=
m
.
replaceAll
(
aa
).
trim
();
System
.
out
.
println
(
"newString====="
+
newString
);
//将替换后的字符串存在变量newString中
//方法二 如果第一种太麻烦可以直接用下面的
String
str
=
"#$%^&*()我的正确#$%^&*()原字符串#$%^&*()"
;
String
newString2
=
str
.
replaceAll
(
regEx
,
aa
).
trim
();
//不想保留原来的字符串可以直接写成 “str = str.replaceAll(regEX,aa);”
System
.
out
.
println
(
"newString2====="
+
newString2
);
}
}
}
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/controller/AdamUserController.java
View file @
35397304
...
@@ -125,8 +125,8 @@ public class AdamUserController {
...
@@ -125,8 +125,8 @@ public class AdamUserController {
// editVo.setAvatar(parameter.getAvatar());
// editVo.setAvatar(parameter.getAvatar());
// editVo.setBackground(parameter.getBackground());
// editVo.setBackground(parameter.getBackground());
// editVo.setNickname(parameter.getNickname());
// editVo.setNickname(parameter.getNickname());
editVo
.
setAvatar
(
editVo
.
getAvatar
());
editVo
.
setAvatar
(
StringUtils
.
isEmpty
(
editVo
.
getAvatar
())
?
avatarDefUrl
:
editVo
.
getAvatar
());
editVo
.
setBackground
(
editVo
.
getBackground
());
editVo
.
setBackground
(
StringUtils
.
isEmpty
(
editVo
.
getBackground
())
?
avatarDefUrl
:
editVo
.
getBackground
());
editVo
.
setNickname
(
editVo
.
getNickname
());
editVo
.
setNickname
(
editVo
.
getNickname
());
editVo
.
setSex
(
sex
);
editVo
.
setSex
(
sex
);
editVo
.
setBirthday
(
parameter
.
getBirthday
());
editVo
.
setBirthday
(
parameter
.
getBirthday
());
...
...
liquidnet-bus-service/liquidnet-service-dragon/liquidnet-service-dragon-impl/src/main/java/com/liquidnet/service/dragon/controller/PayController.java
View file @
35397304
...
@@ -89,14 +89,14 @@ public class PayController {
...
@@ -89,14 +89,14 @@ public class PayController {
dragonPayBaseReqDto
.
setOpenId
(
openId
);
dragonPayBaseReqDto
.
setOpenId
(
openId
);
dragonPayBaseReqDto
.
setType
(
type
);
dragonPayBaseReqDto
.
setType
(
type
);
dragonPayBaseReqDto
.
setPrice
(
price
);
dragonPayBaseReqDto
.
setPrice
(
price
);
if
(
StringUtil
.
isNotNull
(
name
)&&
name
.
length
()>=
32
){
//
if(StringUtil.isNotNull(name)&&name.length()>=32){
name
=
name
.
substring
(
0
,
32
);
//
name = name.substring(0,32);
}
//
}
dragonPayBaseReqDto
.
setName
(
name
);
dragonPayBaseReqDto
.
setName
(
"正在现场"
);
if
(
StringUtil
.
isNotNull
(
detail
)&&
detail
.
length
()>=
64
){
//
if(StringUtil.isNotNull(detail)&&detail.length()>=64){
detail
=
detail
.
substring
(
0
,
64
);
//
detail = detail.substring(0,64);
}
//
}
dragonPayBaseReqDto
.
setDetail
(
detail
);
dragonPayBaseReqDto
.
setDetail
(
"正在现场"
);
dragonPayBaseReqDto
.
setOrderCode
(
orderCode
);
dragonPayBaseReqDto
.
setOrderCode
(
orderCode
);
dragonPayBaseReqDto
.
setClientIp
(
clientIp
);
dragonPayBaseReqDto
.
setClientIp
(
clientIp
);
dragonPayBaseReqDto
.
setNotifyUrl
(
notifyUrl
);
dragonPayBaseReqDto
.
setNotifyUrl
(
notifyUrl
);
...
...
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/BannersServiceImpl.java
View file @
35397304
...
@@ -63,20 +63,20 @@ public class BannersServiceImpl implements IKylinBannersService {
...
@@ -63,20 +63,20 @@ public class BannersServiceImpl implements IKylinBannersService {
}
}
// list
// list
if
(
bannerInfo
.
getPromotionType
()
!=
1
)
{
List
<
String
>
pList
=
bannerInfo
.
getPositionList
();
List
<
String
>
pList
=
bannerInfo
.
getPositionList
();
Boolean
pis
=
false
;
Boolean
pis
=
false
;
if
(
null
!=
pList
)
{
if
(
null
!=
pList
)
{
for
(
String
positionName
:
pList
)
{
for
(
String
positionName
:
pList
)
{
if
(
positionName
.
equals
(
position
))
{
if
(
positionName
.
equals
(
position
))
{
pis
=
true
;
pis
=
true
;
}
}
}
}
}
if
(!
pis
||
null
==
pList
)
{
}
itBannerList
.
remove
();
if
(!
pis
||
null
==
pList
)
{
}
itBannerList
.
remove
();
}
if
(
bannerInfo
.
getPromotionType
()
!=
1
)
{
List
<
String
>
proList
=
bannerInfo
.
getProvincesList
();
List
<
String
>
proList
=
bannerInfo
.
getProvincesList
();
Boolean
prois
=
false
;
Boolean
prois
=
false
;
if
(
null
!=
proList
)
{
if
(
null
!=
proList
)
{
...
...
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/controller/adam/PlatformDMController.java
View file @
35397304
This diff is collapsed.
Click to expand it.
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/controller/kylin/DataController.java
View file @
35397304
package
com
.
liquidnet
.
service
.
platform
.
controller
.
kylin
;
//
package com.liquidnet.service.platform.controller.kylin;
//
import
com.liquidnet.service.base.ResponseDto
;
//
import com.liquidnet.service.base.ResponseDto;
import
com.liquidnet.service.platform.service.impl.kylin.DataImpl
;
//
import com.liquidnet.service.platform.service.impl.kylin.DataImpl;
import
io.swagger.annotations.Api
;
//
import io.swagger.annotations.Api;
import
io.swagger.annotations.ApiOperation
;
//
import io.swagger.annotations.ApiOperation;
import
org.springframework.beans.factory.annotation.Autowired
;
//
import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.web.bind.annotation.PostMapping
;
//
import org.springframework.web.bind.annotation.PostMapping;
import
org.springframework.web.bind.annotation.RequestMapping
;
//
import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RestController
;
//
import org.springframework.web.bind.annotation.RestController;
//
//
@Api
(
tags
=
"数据迁移 (会重复)"
)
//
@Api(tags = "数据迁移 (会重复)")
@RestController
//
@RestController
@RequestMapping
(
"data"
)
//
@RequestMapping("data")
public
class
DataController
{
//
public class DataController {
//
@Autowired
//
@Autowired
private
DataImpl
data
;
//
private DataImpl data;
//
@PostMapping
(
"performance"
)
//
@PostMapping("performance")
@ApiOperation
(
"演出数据迁移"
)
//
@ApiOperation("演出数据迁移")
public
ResponseDto
<
Boolean
>
performance
()
{
//
public ResponseDto<Boolean> performance() {
Boolean
result
=
data
.
performance
();
//
Boolean result = data.performance();
return
ResponseDto
.
success
(
result
);
//
return ResponseDto.success(result);
}
//
}
//
@PostMapping
(
"order"
)
//
@PostMapping("order")
@ApiOperation
(
"订单数据迁移"
)
//
@ApiOperation("订单数据迁移")
public
ResponseDto
<
Boolean
>
order
(
String
month
)
{
//
public ResponseDto<Boolean> order(String month) {
Boolean
result
=
data
.
order
(
month
);
//
Boolean result = data.order(month);
return
ResponseDto
.
success
(
result
);
//
return ResponseDto.success(result);
}
//
}
//
@PostMapping
(
"roadShow"
)
//
@PostMapping("roadShow")
@ApiOperation
(
"巡演数据迁移"
)
//
@ApiOperation("巡演数据迁移")
public
ResponseDto
<
Boolean
>
roadShow
()
{
//
public ResponseDto<Boolean> roadShow() {
Boolean
result
=
data
.
roadShow
();
//
Boolean result = data.roadShow();
return
ResponseDto
.
success
(
result
);
//
return ResponseDto.success(result);
}
//
}
//
@PostMapping
(
"childAccount"
)
//
@PostMapping("childAccount")
@ApiOperation
(
"验票子账号数据迁移"
)
//
@ApiOperation("验票子账号数据迁移")
public
ResponseDto
<
Boolean
>
childAccount
()
{
//
public ResponseDto<Boolean> childAccount() {
Boolean
result
=
data
.
childAccount
();
//
Boolean result = data.childAccount();
return
ResponseDto
.
success
(
result
);
//
return ResponseDto.success(result);
}
//
}
//
}
//
}
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