Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
d3edc917
Commit
d3edc917
authored
Nov 29, 2022
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 获取监察指令书编号的接口
parent
51967afb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
InspectionServiceImpl.java
...ot/module/tzs/biz/service/impl/InspectionServiceImpl.java
+9
-5
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/InspectionServiceImpl.java
View file @
d3edc917
...
@@ -144,11 +144,15 @@ public class InspectionServiceImpl implements InspectionService {
...
@@ -144,11 +144,15 @@ public class InspectionServiceImpl implements InspectionService {
public
JSONObject
getSafetySupervisionCode
(
String
bizTable
,
String
taskId
)
{
public
JSONObject
getSafetySupervisionCode
(
String
bizTable
,
String
taskId
)
{
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
if
(!
ValidationUtil
.
isEmpty
(
taskId
))
{
if
(!
ValidationUtil
.
isEmpty
(
taskId
))
{
String
sql
=
"select INSTRUCT_CODE from "
+
bizTable
+
" where INSTANCE_ID=?"
;
try
{
String
code
=
bizJdbcTemplate
.
queryForObject
(
sql
,
String
.
class
,
taskId
);
String
sql
=
"select INSTRUCT_CODE from "
+
bizTable
+
" where INSTANCE_ID=?"
;
if
(!
ValidationUtil
.
isEmpty
(
code
)){
String
code
=
bizJdbcTemplate
.
queryForObject
(
sql
,
String
.
class
,
taskId
);
jsonObject
.
put
(
"code"
,
code
);
if
(!
ValidationUtil
.
isEmpty
(
code
)){
return
jsonObject
;
jsonObject
.
put
(
"code"
,
code
);
return
jsonObject
;
}
}
catch
(
Exception
e
)
{
System
.
out
.
println
(
"获取监察指令书编号失败"
);
}
}
}
}
String
safetySupervisionCode
=
"(%s)市监特令中[%s]第 %s 号"
;
String
safetySupervisionCode
=
"(%s)市监特令中[%s]第 %s 号"
;
...
...
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