Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
cloud-fb
Commits
c47af05b
Commit
c47af05b
authored
Jul 20, 2021
by
高晓磊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
安全日志记录添加场站字段
parent
761a9578
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
0 deletions
+50
-0
SafeLog.jmx
.../main/resources/com/xyst/dinas/safe/datamodel/SafeLog.jmx
+27
-0
SafeLog.jmx
.../src/main/resources/com/xyst/dinas/safe/query/SafeLog.jmx
+20
-0
SafeLog.hbm.xml
...xyst.dinas.safe/src/main/resources/config/SafeLog.hbm.xml
+3
-0
No files found.
backend/xyst.dinas.safe/src/main/resources/com/xyst/dinas/safe/datamodel/SafeLog.jmx
View file @
c47af05b
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
<dependency>
com.xyst.dinas.biz.datamodel.xystOrganization
</dependency>
<dependency>
com.xyst.dinas.biz.datamodel.xystOrganization
</dependency>
<dependency>
javax.persistence.Column
</dependency>
<dependency>
javax.persistence.Column
</dependency>
<dependency>
javax.persistence.Table
</dependency>
<dependency>
javax.persistence.Table
</dependency>
<dependency>
com.xyst.dinas.biz.datamodel.Station
</dependency>
<dependency>
com.beecode.bap.staff.datamodel.Staff
</dependency>
<dependency>
com.beecode.bap.staff.datamodel.Staff
</dependency>
<dependency>
com.beecode.bap.biztrait.datamodel.BasicBillRequirement
</dependency>
<dependency>
com.beecode.bap.biztrait.datamodel.BasicBillRequirement
</dependency>
<dependency>
com.xyst.dinas.safe.datamodel.SafeLogAssociatedStaffDetail
</dependency>
<dependency>
com.xyst.dinas.safe.datamodel.SafeLogAssociatedStaffDetail
</dependency>
...
@@ -70,6 +71,32 @@
...
@@ -70,6 +71,32 @@
<m:attribute>
<m:attribute>
<m:annotations>
<m:annotations>
<m:annotation>
<m:annotation>
<m:type>
javax.persistence.ManyToOne
</m:type>
</m:annotation>
<m:annotation>
<m:type>
javax.persistence.JoinColumn
</m:type>
<m:properties>
<m:property>
<m:key>
name
</m:key>
<m:value>
station_id
</m:value>
</m:property>
<m:property>
<m:key>
referencedColumnName
</m:key>
<m:value>
ID
</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>
55d6b108-a847-47fe-8342-c8f2104fe512
</m:id>
<m:name>
station
</m:name>
<m:title>
所属场站
</m:title>
<m:type>
com.xyst.dinas.biz.datamodel.Station
</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>
javax.persistence.Column
</m:type>
<m:type>
javax.persistence.Column
</m:type>
<m:properties>
<m:properties>
<m:property>
<m:property>
...
...
backend/xyst.dinas.safe/src/main/resources/com/xyst/dinas/safe/query/SafeLog.jmx
View file @
c47af05b
...
@@ -51,6 +51,26 @@
...
@@ -51,6 +51,26 @@
<m:desc></m:desc>
<m:desc></m:desc>
</m:field>
</m:field>
<m:field>
<m:field>
<m:name>
station.id
</m:name>
<m:title></m:title>
<m:type>
uuid
</m:type>
<m:ref>
<m:name>
com.xyst.dinas.biz.datamodel.Station
</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
station.stationName
</m:name>
<m:title></m:title>
<m:type>
string
</m:type>
<m:ref>
<m:name>
com.xyst.dinas.biz.datamodel.Station
</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
id
</m:name>
<m:name>
id
</m:name>
<m:title>
id
</m:title>
<m:title>
id
</m:title>
<m:type>
uuid
</m:type>
<m:type>
uuid
</m:type>
...
...
backend/xyst.dinas.safe/src/main/resources/config/SafeLog.hbm.xml
View file @
c47af05b
...
@@ -21,6 +21,9 @@
...
@@ -21,6 +21,9 @@
<many-to-one
name=
"modifier"
entity-name=
"com.beecode.bap.staff.datamodel.Staff"
fetch=
"select"
>
<many-to-one
name=
"modifier"
entity-name=
"com.beecode.bap.staff.datamodel.Staff"
fetch=
"select"
>
<column
name=
"modifier_id"
not-null=
"false"
/>
<column
name=
"modifier_id"
not-null=
"false"
/>
</many-to-one>
</many-to-one>
<many-to-one
name=
"station"
entity-name=
"com.xyst.dinas.biz.datamodel.Station"
fetch=
"select"
>
<column
name=
"station_id"
not-null=
"false"
/>
</many-to-one>
<property
name=
"billState"
type=
"nstring"
not-null=
"false"
>
<property
name=
"billState"
type=
"nstring"
not-null=
"false"
>
<column
name=
"bill_state"
length=
"100"
/>
<column
name=
"bill_state"
length=
"100"
/>
</property>
</property>
...
...
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