Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
finance_serv
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 981a2949
authored
Aug 15, 2018
by
王军业
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
125456415212
1 parent
552aa75b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
code/finance_serv/src/main/java/com/vion/financial/service/imp/CustomerServiceImpl.java
code/finance_serv/src/main/java/com/vion/financial/service/imp/ProjectServiceImpl.java
code/finance_serv/src/main/java/com/vion/financial/service/imp/CustomerServiceImpl.java
View file @
981a294
...
@@ -33,7 +33,7 @@ public class CustomerServiceImpl implements CustomerService {
...
@@ -33,7 +33,7 @@ public class CustomerServiceImpl implements CustomerService {
if
(
customerMapper
.
queryCustomer
().
contains
(
customer
))
{
if
(
customerMapper
.
queryCustomer
().
contains
(
customer
))
{
failCode
.
setEcode
(
"600"
);
failCode
.
setEcode
(
"600"
);
failCode
.
setEnote
(
"重复数据"
);
failCode
.
setEnote
(
"重复数据"
);
return
failCode
;
return
failCode
;
}
}
}
}
customerMapper
.
addCustomer
(
customer
);
customerMapper
.
addCustomer
(
customer
);
...
...
code/finance_serv/src/main/java/com/vion/financial/service/imp/ProjectServiceImpl.java
View file @
981a294
...
@@ -30,7 +30,7 @@ public class ProjectServiceImpl implements ProjectService {
...
@@ -30,7 +30,7 @@ public class ProjectServiceImpl implements ProjectService {
logger
.
info
(
"=======================增加项目信息========================"
);
logger
.
info
(
"=======================增加项目信息========================"
);
try
{
try
{
if
(
projectMapper
.
queryProject
()!=
null
&&
projectMapper
.
queryProject
().
contains
(
project
))
{
if
(
projectMapper
.
queryProject
()!=
null
&&
projectMapper
.
queryProject
().
contains
(
project
))
{
failCode
.
setEcode
(
"600"
);
failCode
.
setEcode
(
"600"
);
failCode
.
setEnote
(
"重复数据"
);
failCode
.
setEnote
(
"重复数据"
);
return
failCode
;
return
failCode
;
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment