Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
LuJin-Im
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
yangzhaojun
LuJin-Im
Commits
d72185c4
Commit
d72185c4
authored
Jul 16, 2018
by
李博今
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
bddb1260
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
9 deletions
+11
-9
layim.js
layui/lay/modules/layim.js
+1
-1
ImController.java
...va/com/qiqiim/webserver/user/controller/ImController.java
+8
-7
layim.jsp
src/main/webapp/WEB-INF/page/layim.jsp
+1
-0
layim.js
src/main/webapp/layui/lay/modules/layim.js
+1
-1
No files found.
layui/lay/modules/layim.js
View file @
d72185c4
This diff is collapsed.
Click to expand it.
src/main/java/com/qiqiim/webserver/user/controller/ImController.java
View file @
d72185c4
package
com
.
qiqiim
.
webserver
.
user
.
controller
;
import
java.io.File
;
import
java.io.UnsupportedEncodingException
;
import
java.util.*
;
import
java.util.stream.Collectors
;
...
...
@@ -592,7 +593,7 @@ public class ImController extends BaseController {
@RequestMapping
(
value
=
"/updateConsultantDetail"
,
produces
=
"text/html;charset=UTF-8"
,
method
=
RequestMethod
.
POST
)
public
ModelAndView
u
serHistoryMessagesPage
(
ConsultantManagerEntity
consultantManagerEntity
)
throws
Exception
{
public
ModelAndView
u
pdateConsultantDetail
(
ConsultantManagerEntity
consultantManagerEntity
)
throws
Exception
{
userAccountServiceImpl
.
updateDetail
(
consultantManagerEntity
);
getSession
().
setAttribute
(
"message"
,
"修改成功"
);
if
(
consultantManagerEntity
.
getWhereToGo
()
==
null
){
...
...
@@ -616,18 +617,18 @@ public class ImController extends BaseController {
@Param
(
value
=
"phone"
)
String
phone
,
@Param
(
value
=
"deptid"
)
Long
deptid
,
@Param
(
value
=
"name"
)
String
name
,
@Param
(
value
=
"remark"
)
String
remark
){
@Param
(
value
=
"remark"
)
String
remark
)
throws
UnsupportedEncodingException
{
if
(
whereToGo
==
null
){
whereToGo
=
""
;
}
UserAccountEntity
userAccountEntity
=
new
UserAccountEntity
();
userAccountEntity
.
setAccount
(
account
);
userAccountEntity
.
setPassword
(
password
);
userAccountEntity
.
setAccount
(
new
String
(
account
.
getBytes
(
"iso8859-1"
),
"UTF-8"
)
);
userAccountEntity
.
setPassword
(
new
String
(
password
.
getBytes
(
"iso8859-1"
),
"UTF-8"
)
);
UserInfoEntity
userInfoEntity
=
new
UserInfoEntity
();
userInfoEntity
.
setDeptid
(
deptid
);
userInfoEntity
.
setName
(
n
ame
);
userInfoEntity
.
setPhone
(
phone
);
userInfoEntity
.
setRemark
(
remark
);
userInfoEntity
.
setName
(
n
ew
String
(
name
.
getBytes
(
"iso8859-1"
),
"UTF-8"
)
);
userInfoEntity
.
setPhone
(
new
String
(
phone
.
getBytes
(
"iso8859-1"
),
"UTF-8"
)
);
userInfoEntity
.
setRemark
(
new
String
(
remark
.
getBytes
(
"iso8859-1"
),
"UTF-8"
)
);
userAccountEntity
.
setUserInfo
(
userInfoEntity
);
int
flag
=
userAccountServiceImpl
.
save
(
userAccountEntity
);
if
(
flag
==
1
){
...
...
src/main/webapp/WEB-INF/page/layim.jsp
View file @
d72185c4
...
...
@@ -406,6 +406,7 @@
</script>
...
...
src/main/webapp/layui/lay/modules/layim.js
View file @
d72185c4
This diff is collapsed.
Click to expand it.
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