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
edf522fb
Commit
edf522fb
authored
Aug 02, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)修改检验类型字段
parent
5a78222c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
5 deletions
+15
-5
JyjcInspectionApplicationMapper.xml
...main/resources/mapper/JyjcInspectionApplicationMapper.xml
+2
-1
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+12
-3
bigScreenDetail.json
...ule-jyjc-biz/src/main/resources/json/bigScreenDetail.json
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/resources/mapper/JyjcInspectionApplicationMapper.xml
View file @
edf522fb
...
@@ -180,7 +180,8 @@
...
@@ -180,7 +180,8 @@
tzjia.*,
tzjia.*,
tbei.supervise_org_name AS superviseOrgName,
tbei.supervise_org_name AS superviseOrgName,
tbei.use_unit AS applicationUnitName,
tbei.use_unit AS applicationUnitName,
tbei.address AS address
tbei.address AS address,
(SELECT cdd.NAME from cb_data_dictionary cdd where cdd.code = tzjia.inspection_type and cdd.type = 'JYJC' limit 1) AS inspectionTypeName
FROM
FROM
tz_jyjc_inspection_application AS tzjia
tz_jyjc_inspection_application AS tzjia
LEFT JOIN tz_base_enterprise_info tbei ON tzjia.application_unit_code = tbei.use_code
LEFT JOIN tz_base_enterprise_info tbei ON tzjia.application_unit_code = tbei.use_code
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcInspectionApplicationServiceImpl.java
View file @
edf522fb
...
@@ -70,6 +70,7 @@ import org.springframework.stereotype.Service;
...
@@ -70,6 +70,7 @@ import org.springframework.stereotype.Service;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.typroject.tyboot.core.foundation.context.RequestContext
;
import
org.typroject.tyboot.core.foundation.context.RequestContext
;
import
org.typroject.tyboot.core.foundation.utils.DateUtil
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
...
@@ -600,7 +601,15 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -600,7 +601,15 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
jsonData
.
forEach
(
f
->
{
jsonData
.
forEach
(
f
->
{
Object
o
=
map
.
get
(
f
.
getKey
());
Object
o
=
map
.
get
(
f
.
getKey
());
if
(!
ObjectUtils
.
isEmpty
(
o
))
{
if
(!
ObjectUtils
.
isEmpty
(
o
))
{
f
.
setValue
(
o
.
toString
());
if
(
f
.
getKey
().
equals
(
"applicationDate"
)){
try
{
f
.
setValue
(
DateUtil
.
formatDate
((
Date
)
o
,
DateUtil
.
Y_M_D
));
}
catch
(
Exception
e
)
{
throw
new
RuntimeException
(
e
);
}
}
else
{
f
.
setValue
(
o
.
toString
());
}
}
}
});
});
...
@@ -610,9 +619,9 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -610,9 +619,9 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
data
.
put
(
"label"
,
flowLogger
.
get
(
i
).
get
(
"approvalStatue"
));
data
.
put
(
"label"
,
flowLogger
.
get
(
i
).
get
(
"approvalStatue"
));
data
.
put
(
"operatingTime"
,
flowLogger
.
get
(
i
).
get
(
"operateDate"
));
data
.
put
(
"operatingTime"
,
flowLogger
.
get
(
i
).
get
(
"operateDate"
));
if
(
null
!=
flowLogger
.
get
(
i
).
get
(
"assignee"
))
{
if
(
null
!=
flowLogger
.
get
(
i
).
get
(
"assignee"
))
{
data
.
put
(
"operater"
,
((
Map
<
String
,
Object
>)
flowLogger
.
get
(
i
).
get
(
"assignee"
)).
get
(
"orgNamesWithoutRole"
)
+
"
:"
+
flowLogger
.
get
(
i
).
get
(
"taskName"
)
);
data
.
put
(
"operater"
,
((
Map
<
String
,
Object
>)
flowLogger
.
get
(
i
).
get
(
"assignee"
)).
get
(
"orgNamesWithoutRole"
)
+
"
【"
+
flowLogger
.
get
(
i
).
get
(
"taskName"
)
+
"】"
);
}
else
if
(
null
!=
flowLogger
.
get
(
i
).
get
(
"companyName"
)){
}
else
if
(
null
!=
flowLogger
.
get
(
i
).
get
(
"companyName"
)){
data
.
put
(
"operater"
,
flowLogger
.
get
(
i
).
get
(
"companyName"
)
+
"
:"
+
flowLogger
.
get
(
i
).
get
(
"taskName"
)
);
data
.
put
(
"operater"
,
flowLogger
.
get
(
i
).
get
(
"companyName"
)
+
"
【"
+
flowLogger
.
get
(
i
).
get
(
"taskName"
)
+
"】"
);
}
}
records
.
add
(
data
);
records
.
add
(
data
);
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/bigScreenDetail.json
View file @
edf522fb
[
[
{
"key"
:
"applicationNo"
,
"label"
:
"报检单号"
,
"type"
:
"text"
},
{
"key"
:
"applicationNo"
,
"label"
:
"报检单号"
,
"type"
:
"text"
},
{
"key"
:
"applicationDate"
,
"label"
:
"报检日期"
,
"type"
:
"text"
},
{
"key"
:
"applicationDate"
,
"label"
:
"报检日期"
,
"type"
:
"text"
},
{
"key"
:
"inspectionType"
,
"label"
:
"检验类型"
,
"type"
:
"text"
},
{
"key"
:
"inspectionType
Name
"
,
"label"
:
"检验类型"
,
"type"
:
"text"
},
{
"key"
:
"applicationUnitName"
,
"label"
:
"申报单位名称"
,
"type"
:
"text"
},
{
"key"
:
"applicationUnitName"
,
"label"
:
"申报单位名称"
,
"type"
:
"text"
},
{
"key"
:
"applicationUnitCode"
,
"label"
:
"单位统一信用代码"
,
"type"
:
"text"
},
{
"key"
:
"applicationUnitCode"
,
"label"
:
"单位统一信用代码"
,
"type"
:
"text"
},
{
"key"
:
"address"
,
"label"
:
"单位地址"
,
"type"
:
"text"
},
{
"key"
:
"address"
,
"label"
:
"单位地址"
,
"type"
:
"text"
},
...
...
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