Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intel_promotion_api
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
liyilin
intel_promotion_api
Commits
a478d585
Commit
a478d585
authored
Sep 23, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了bug
parent
5a1f9dd4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CmsPriceClickServiceImpl.java
.../cmspriceclick/service/impl/CmsPriceClickServiceImpl.java
+1
-1
SysUnitMapper.xml
...esources/mapper/business/sysunit/mapper/SysUnitMapper.xml
+1
-1
No files found.
src/main/java/org/rcisoft/business/cmspriceclick/service/impl/CmsPriceClickServiceImpl.java
View file @
a478d585
...
@@ -279,7 +279,7 @@ public class CmsPriceClickServiceImpl extends ServiceImpl<CmsPriceClickRepositor
...
@@ -279,7 +279,7 @@ public class CmsPriceClickServiceImpl extends ServiceImpl<CmsPriceClickRepositor
if
(
cmsPriceClickDTO
.
getPhone
()
==
null
||
cmsPriceClickDTO
.
getPhone
().
length
()
!=
11
)
{
if
(
cmsPriceClickDTO
.
getPhone
()
==
null
||
cmsPriceClickDTO
.
getPhone
().
length
()
!=
11
)
{
throw
new
CyServiceException
(
AdminUserInfoExceptionEnums
.
ID_LENGTH_ERROR
.
getCode
(),
sum
+
"行"
+
AdminUserInfoExceptionEnums
.
PHONE_LENGTH_ERROR
.
getMessage
());
throw
new
CyServiceException
(
AdminUserInfoExceptionEnums
.
ID_LENGTH_ERROR
.
getCode
(),
sum
+
"行"
+
AdminUserInfoExceptionEnums
.
PHONE_LENGTH_ERROR
.
getMessage
());
}
}
//3.银行卡号不能为空
19
位
//3.银行卡号不能为空
30
位
if
(
cmsPriceClickDTO
.
getBankCard
()
==
null
||
cmsPriceClickDTO
.
getBankCard
().
length
()
>
30
)
{
if
(
cmsPriceClickDTO
.
getBankCard
()
==
null
||
cmsPriceClickDTO
.
getBankCard
().
length
()
>
30
)
{
throw
new
CyServiceException
(
AdminUserInfoExceptionEnums
.
BANK_LENGTH_ERROR
.
getCode
(),
sum
+
"行"
+
AdminUserInfoExceptionEnums
.
BANK_LENGTH_ERROR
.
getMessage
());
throw
new
CyServiceException
(
AdminUserInfoExceptionEnums
.
BANK_LENGTH_ERROR
.
getCode
(),
sum
+
"行"
+
AdminUserInfoExceptionEnums
.
BANK_LENGTH_ERROR
.
getMessage
());
}
}
...
...
src/main/resources/mapper/business/sysunit/mapper/SysUnitMapper.xml
View file @
a478d585
...
@@ -191,7 +191,7 @@
...
@@ -191,7 +191,7 @@
AND su.business_id = #{userId}
AND su.business_id = #{userId}
</if>
</if>
<if
test=
"wechatType !=null and wechatType != '' "
>
<if
test=
"wechatType !=null and wechatType != '' "
>
AND su.wechat_type = #{wechatType}
AND su
n
.wechat_type = #{wechatType}
</if>
</if>
AND su.del_flag = 0
AND su.del_flag = 0
AND su.flag =1
AND su.flag =1
...
...
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