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
48b8d871
Commit
48b8d871
authored
Jan 21, 2022
by
李成龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加日志
parent
7adfd479
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
CseiController.java
...m/yeejoin/amos/api/openapi/controller/CseiController.java
+11
-11
CylinderController.java
...ejoin/amos/api/openapi/controller/CylinderController.java
+6
-6
application-lift.properties
...ta-openapi/src/main/resources/application-lift.properties
+0
-0
No files found.
amos-boot-data/amos-boot-data-openapi/src/main/java/com/yeejoin/amos/api/openapi/controller/CseiController.java
View file @
48b8d871
...
...
@@ -94,7 +94,7 @@ public class CseiController {
@RequestBody
String
unitData
)
throws
Exception
{
logger
.
info
(
unitData
);
logger
.
info
(
"单位信息"
+
unitData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
unitData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"unitInfo"
,
SpecialUnitModel
.
class
);
...
...
@@ -112,7 +112,7 @@ public class CseiController {
@RequestBody
String
equInfoData
)
throws
Exception
{
logger
.
info
(
equInfoData
);
logger
.
info
(
"设备基本数据"
+
equInfoData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
equInfoData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"equInfo"
,
SpecialEquModel
.
class
);
...
...
@@ -129,7 +129,7 @@ public class CseiController {
@RequestBody
String
boilerData
)
throws
Exception
{
logger
.
info
(
boilerData
);
logger
.
info
(
"锅炉信息"
+
boilerData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
boilerData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"boilerInfo"
,
SpecialBoilerModel
.
class
);
...
...
@@ -146,7 +146,7 @@ public class CseiController {
@RequestBody
String
presContainerData
)
throws
Exception
{
logger
.
info
(
presContainerData
);
logger
.
info
(
"压力容器信息"
+
presContainerData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
presContainerData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"presContainerInfo"
,
SpecialPresContainerModel
.
class
);
...
...
@@ -163,7 +163,7 @@ public class CseiController {
@RequestBody
String
elevatorData
)
throws
Exception
{
logger
.
info
(
elevatorData
);
logger
.
info
(
"电梯信息"
+
elevatorData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
elevatorData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"elevatorInfo"
,
SpecialElevatorModel
.
class
);
...
...
@@ -180,7 +180,7 @@ public class CseiController {
@RequestBody
String
craneData
)
throws
Exception
{
logger
.
info
(
craneData
);
logger
.
info
(
"起重机械信息"
+
craneData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
craneData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"craneInfo"
,
SpecialCraneModel
.
class
);
...
...
@@ -197,7 +197,7 @@ public class CseiController {
@RequestBody
String
boilerData
)
throws
Exception
{
logger
.
info
(
boilerData
);
logger
.
info
(
"厂(场)内机动车辆"
+
boilerData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
boilerData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"vehicleInfo"
,
SpecialVehicleModel
.
class
);
...
...
@@ -214,7 +214,7 @@ public class CseiController {
@RequestBody
String
recreationFacilityData
)
throws
Exception
{
logger
.
info
(
recreationFacilityData
);
logger
.
info
(
"游乐设施信息"
+
recreationFacilityData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
recreationFacilityData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"recreationFacilityInfo"
,
SpecialRecreationFacilityModel
.
class
);
...
...
@@ -231,7 +231,7 @@ public class CseiController {
@RequestBody
String
passengerData
)
throws
Exception
{
logger
.
info
(
passengerData
);
logger
.
info
(
"客运索道信息"
+
passengerData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
passengerData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"passengerInfo"
,
SpecialPassengerRopewayModel
.
class
);
...
...
@@ -249,7 +249,7 @@ public class CseiController {
@RequestBody
String
constructionData
)
throws
Exception
{
logger
.
info
(
constructionData
);
logger
.
info
(
"设备施工告知信息"
+
constructionData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
constructionData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"constructionInfo"
,
SpecialConstructionInfoModel
.
class
);
...
...
@@ -266,7 +266,7 @@ public class CseiController {
@RequestBody
String
inspectData
)
throws
Exception
{
logger
.
info
(
inspectData
);
logger
.
info
(
"检验信息"
+
inspectData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
inspectData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"inspectInfo"
,
SpecialInspectModel
.
class
);
...
...
amos-boot-data/amos-boot-data-openapi/src/main/java/com/yeejoin/amos/api/openapi/controller/CylinderController.java
View file @
48b8d871
...
...
@@ -76,7 +76,7 @@ public class CylinderController {
@RestEventTrigger
(
value
=
"openapiLogEventHandler"
)
public
ResponseModel
<
String
>
cylinderUnit
(
@RequestBody
String
unitData
)
throws
Exception
{
logger
.
info
(
unitData
);
logger
.
info
(
"气瓶企业信息"
+
unitData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
unitData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"unit"
,
CylinderUnitModel
.
class
);
...
...
@@ -93,7 +93,7 @@ public class CylinderController {
@RestEventTrigger
(
value
=
"openapiLogEventHandler"
)
public
ResponseModel
<
String
>
cylinderInfo
(
@RequestBody
String
infoData
)
throws
Exception
{
logger
.
info
(
infoData
);
logger
.
info
(
"气瓶基础数据"
+
infoData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
infoData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"info"
,
CylinderInfoModel
.
class
);
...
...
@@ -109,7 +109,7 @@ public class CylinderController {
@RestEventTrigger
(
value
=
"openapiLogEventHandler"
)
public
ResponseModel
<
String
>
cylinderTagInfo
(
@RequestBody
String
tagData
)
throws
Exception
{
logger
.
info
(
tagData
);
logger
.
info
(
"气瓶标签数据"
+
tagData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
tagData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"tag"
,
CylinderTagsModel
.
class
);
...
...
@@ -125,7 +125,7 @@ public class CylinderController {
@RestEventTrigger
(
value
=
"openapiLogEventHandler"
)
public
ResponseModel
<
String
>
cylinderInspectionInfo
(
@RequestBody
String
inspectionData
)
throws
Exception
{
logger
.
info
(
inspectionData
);
logger
.
info
(
"气瓶检验数据"
+
inspectionData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
inspectionData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"inspection"
,
CylinderInspectionModel
.
class
);
...
...
@@ -141,7 +141,7 @@ public class CylinderController {
@RestEventTrigger
(
value
=
"openapiLogEventHandler"
)
public
ResponseModel
<
String
>
cylinderFillingInfo
(
@RequestBody
String
fillingData
)
throws
Exception
{
logger
.
info
(
fillingData
);
logger
.
info
(
"气瓶充装数据"
+
fillingData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
fillingData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"fillingBefore"
,
CylinderFillingModel
.
class
);
...
...
@@ -176,7 +176,7 @@ public class CylinderController {
@RestEventTrigger
(
value
=
"openapiLogEventHandler"
)
public
ResponseModel
<
String
>
cylinderFillingAudit
(
@RequestBody
String
fillingAuditData
)
throws
Exception
{
logger
.
info
(
fillingAuditData
);
logger
.
info
(
"气瓶充装审核数据"
+
fillingAuditData
);
JSONObject
jsonobject
=
JSONObject
.
fromObject
(
fillingAuditData
);
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"fillingAudit"
,
CylinderFillingExamineModel
.
class
);
...
...
amos-boot-data/amos-boot-data-openapi/src/main/resources/application-lif.properties
→
amos-boot-data/amos-boot-data-openapi/src/main/resources/application-lif
t
.properties
View file @
48b8d871
File moved
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