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 1ed062fe
authored
Aug 09, 2018
by
王军业
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
5454565465465
1 parent
ec5d43cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 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/CustomerServiceImpl.java
View file @
1ed062f
...
...
@@ -27,7 +27,17 @@ public class CustomerServiceImpl implements CustomerService {
@Override
public
Object
addCustomer
(
Customer
customer
)
{
// TODO Auto-generated method stub
return
null
;
logger
.
info
(
"=====================增加顾客信息========================"
);
try
{
customerMapper
.
addCustomer
(
customer
);
return
successCode
;
}
catch
(
Exception
e
)
{
// TODO: handle exception
logger
.
error
(
"增加顾客信息出错"
+
e
.
getLocalizedMessage
(),
e
);
failCode
.
setEcode
(
"500"
);
failCode
.
setEnote
(
"Fail"
);
return
failCode
;
}
}
@Override
...
...
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