Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SMGO
pms-server
Commits
7418bfc9
Commit
7418bfc9
authored
2 years ago
by
Koolapong Kongpitak
Browse files
Options
Download
Email Patches
Plain Diff
Add duplicate instruction
parent
6e0edb9f
TUM-DEV
MA
v12.08
v12.06
v12.05
v12.04
v12.03
v12.02
v12.01
v11.24
v11.23
v11.22
v11.18
v11.09
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SYSCore/Controllers/HandheldController.cs
+9
-0
SYSCore/Controllers/HandheldController.cs
with
9 additions
and
0 deletions
+9
-0
SYSCore/Controllers/HandheldController.cs
+
9
-
0
View file @
7418bfc9
...
...
@@ -956,6 +956,15 @@ namespace SYSCore.Controllers
return
Json
(
new
{
Result
=
"Done"
});
}
catch
(
OracleException
ex
)
{
if
(
ex
.
Number
==
20001
)
{
return
Json
(
new
{
Result
=
"Fail"
,
Message
=
"DUPLICATE_INSTRUCTION"
});
}
throw
(
ex
);
}
catch
(
Exception
ex
)
{
oOracledb
.
WriteLog
(
"ErrorHandle"
,
ex
.
Message
,
"SaveReportProblemPart"
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help