Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
bbb7337e
Commit
bbb7337e
authored
Dec 26, 2022
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改tzs坐席管理接口
parent
0ceac638
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
TzsCitInfoServiceImpl.java
...ot/module/tzs/biz/service/impl/TzsCitInfoServiceImpl.java
+16
-7
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/TzsCitInfoServiceImpl.java
View file @
bbb7337e
...
...
@@ -68,7 +68,12 @@ public class TzsCitInfoServiceImpl extends BaseService<TzsCitInfoDto, TzsCitInfo
@Override
public
String
saveOrUpdateInfo
(
TzsCitInfo
tzsCitInfo
){
//校验
String
massage
=
""
;
String
massage
=
""
,
code
=
""
,
extphone
=
""
;
TzsCitInfo
citInfo
=
this
.
getById
(
tzsCitInfo
.
getSequenceNbr
());
if
(!
ValidationUtil
.
isEmpty
(
citInfo
)){
code
=
citInfo
.
getCode
();
extphone
=
citInfo
.
getExtphone
();
}
if
(
ValidationUtil
.
isEmpty
(
tzsCitInfo
.
getSequenceNbr
()))
{
if
(!
ValidationUtil
.
isEmpty
(
tzsCitInfo
.
getCtiUserId
()))
{
if
(!
ValidationUtil
.
isEmpty
(
this
.
list
(
new
LambdaQueryWrapper
<
TzsCitInfo
>().
eq
(
TzsCitInfo:
:
getCtiUserId
,
tzsCitInfo
.
getCtiUserId
()))))
{
...
...
@@ -77,13 +82,17 @@ public class TzsCitInfoServiceImpl extends BaseService<TzsCitInfoDto, TzsCitInfo
}
}
}
if
(!
ValidationUtil
.
isEmpty
(
this
.
list
(
new
LambdaQueryWrapper
<
TzsCitInfo
>().
eq
(
TzsCitInfo:
:
getCode
,
tzsCitInfo
.
getCode
())))){
massage
=
"登录坐席参数code已存在,不可重复添加!"
;
return
massage
;
if
(!
code
.
equals
(
tzsCitInfo
.
getCode
()))
{
if
(!
ValidationUtil
.
isEmpty
(
this
.
list
(
new
LambdaQueryWrapper
<
TzsCitInfo
>().
eq
(
TzsCitInfo:
:
getCode
,
tzsCitInfo
.
getCode
()))))
{
massage
=
"登录坐席参数code已存在,不可重复添加!"
;
return
massage
;
}
}
if
(!
ValidationUtil
.
isEmpty
(
this
.
list
(
new
LambdaQueryWrapper
<
TzsCitInfo
>().
eq
(
TzsCitInfo:
:
getExtphone
,
tzsCitInfo
.
getExtphone
())))){
massage
=
"登录坐席参数extphone已存在,不可重复添加!"
;
return
massage
;
if
(!
extphone
.
equals
(
tzsCitInfo
.
getExtphone
()))
{
if
(!
ValidationUtil
.
isEmpty
(
this
.
list
(
new
LambdaQueryWrapper
<
TzsCitInfo
>().
eq
(
TzsCitInfo:
:
getExtphone
,
tzsCitInfo
.
getExtphone
()))))
{
massage
=
"登录坐席参数extphone已存在,不可重复添加!"
;
return
massage
;
}
}
//保存数据
...
...
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