Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CSCWebsocketBean
Overview
Overview
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TongZuu
CSCWebsocketBean
Commits
93ec0159
Commit
93ec0159
authored
8 years ago
by
TongZuu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update command008 update json record
parent
73f5043b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
Command008.java
com/csc/library/command/common/Command008.java
+4
-5
No files found.
com/csc/library/command/common/Command008.java
View file @
93ec0159
...
...
@@ -36,14 +36,13 @@ public class Command008 extends CommandNoResult<CommonModeParameter>{
db
.
setParentJsonField
(
rec
);
db
.
setPreJsonFieldKey
();
int
saveStatus
=
db
.
save
();
if
(
saveStatus
==
1
){
this
.
sendMessage
(
"Command006 : Save Json Record Success."
,
CommandState
.
success
);
if
(
saveStatus
==
2
){
this
.
sendMessage
(
"Command008 : Update Json Record Success."
,
CommandState
.
success
);
}
else
{
this
.
sendMessage
(
"Command00
6 : Sav
e Json Record Fail."
,
CommandState
.
fail
);
this
.
sendMessage
(
"Command00
8 : Updat
e Json Record Fail."
,
CommandState
.
fail
);
}
}
else
{
this
.
sendMessage
(
"Command00
6
: Search Json Record is not Found. cannot save Json Record"
,
CommandState
.
fail
);
this
.
sendMessage
(
"Command00
8
: Search Json Record is not Found. cannot save Json Record"
,
CommandState
.
fail
);
}
}
catch
(
Exception
e
){
MyLog
.
error
(
this
,
this
.
getUProfile
()
,
e
);
...
...
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