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
0e59c54f
Commit
0e59c54f
authored
May 12, 2021
by
shiwenbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交高级查询jmx修改
parent
89375ed0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
152 additions
and
17 deletions
+152
-17
Station.jmx
...c/main/resources/com/xyst/dinas/biz/datamodel/Station.jmx
+147
-12
SalesSummaryAdvQuery.jmx
...xyst/dinas/statistics/advanquery/SalesSummaryAdvQuery.jmx
+2
-2
AdvancePaymentAndBalanceSummary.hbm.xml
.../resources/config/AdvancePaymentAndBalanceSummary.hbm.xml
+1
-1
SalesSummary.hbm.xml
...statistics/src/main/resources/config/SalesSummary.hbm.xml
+2
-2
No files found.
backend/xyst.dinas.biz/src/main/resources/com/xyst/dinas/biz/datamodel/Station.jmx
View file @
0e59c54f
...
...
@@ -7,21 +7,54 @@
<description>
场站管理
</description>
<define>
bcp.type.Class
</define>
<define-version>
1.0
</define-version>
<dependency>
javax.persistence.Entity
</dependency>
<dependency>
javax.persistence.Column
</dependency>
<dependency>
bcp.type.constraint.StringLength
</dependency>
<dependency>
com.beecode.bap.staff.datamodel.Staff
</dependency>
<dependency>
javax.persistence.ManyToOne
</dependency>
<dependency>
javax.persistence.Table
</dependency>
<dependency>
com.beecode.inz.common.datamodel.BaseInfo
</dependency>
<dependency>
javax.persistence.JoinColumn
</dependency>
<dependency>
com.xyst.dinas.biz.datamodel.xystOrganization
</dependency>
<dependency>
com.beecode.bap.biztrait.datamodel.BasicBillRequirement
</dependency>
<dependency>
com.xyst.dinas.biz.datamodel.DinasType
</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>
javax.persistence.Entity
</m:type>
</m:annotation>
<m:annotation>
<m:type>
javax.persistence.Table
</m:type>
<m:properties>
<m:property>
<m:key>
name
</m:key>
<m:value>
xyst_dinas_biz_station
</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>
com.beecode.inz.common.datamodel.BaseInfo
</m:parent>
<m:parent>
com.beecode.bap.biztrait.datamodel.BasicBillRequirement
</m:parent>
</m:parents>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>
bcp.type.constraint.StringLength
</m:type>
<m:value>
30
</m:value>
</m:annotation>
<m:annotation>
<m:type>
javax.persistence.Column
</m:type>
<m:properties>
<m:property>
<m:key>
name
</m:key>
<m:value>
stationName
</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>
454f133a-ec58-46d0-bdc5-2857efac8ee6
</m:id>
<m:name>
stationName
</m:name>
<m:title>
场站名称
</m:title>
...
...
@@ -30,7 +63,21 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>
bcp.type.constraint.StringLength
</m:type>
<m:value>
80
</m:value>
</m:annotation>
<m:annotation>
<m:type>
javax.persistence.Column
</m:type>
<m:properties>
<m:property>
<m:key>
name
</m:key>
<m:value>
stationAddress
</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>
f4427592-4ea6-4c6c-ab0b-834792e0828f
</m:id>
<m:name>
stationAddress
</m:name>
<m:title>
场站地址
</m:title>
...
...
@@ -39,7 +86,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<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>
regional_company
</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>
19f58e91-61b8-4a8d-a5e0-d530fdf38cf8
</m:id>
<m:name>
regionalCompany
</m:name>
<m:title>
所属区域公司
</m:title>
...
...
@@ -48,7 +112,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>
javax.persistence.Column
</m:type>
<m:properties>
<m:property>
<m:key>
name
</m:key>
<m:value>
station_status
</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>
c7e790b4-efc8-4cc4-99f1-324ca09579e7
</m:id>
<m:name>
stationStatus
</m:name>
<m:title>
场站状态
</m:title>
...
...
@@ -57,7 +131,21 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>
bcp.type.constraint.StringLength
</m:type>
<m:value>
50
</m:value>
</m:annotation>
<m:annotation>
<m:type>
javax.persistence.Column
</m:type>
<m:properties>
<m:property>
<m:key>
name
</m:key>
<m:value>
station_coordinate
</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>
4957fc36-a43a-48d5-b0b2-4c551d677778
</m:id>
<m:name>
stationCoordinate
</m:name>
<m:title>
场站坐标
</m:title>
...
...
@@ -67,11 +155,20 @@
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>
bcp.type.constraint.StringLength
</m:type>
<m:value>
50
</m:value>
</m:annotation>
</m:annotations>
<m:annotation>
<m:type>
bcp.type.constraint.StringLength
</m:type>
<m:value>
50
</m:value>
</m:annotation>
<m:annotation>
<m:type>
javax.persistence.Column
</m:type>
<m:properties>
<m:property>
<m:key>
name
</m:key>
<m:value>
link_man
</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>
77d699e5-fb54-417c-98c2-9a950a14b662
</m:id>
<m:name>
linkMan
</m:name>
<m:title>
联系人
</m:title>
...
...
@@ -80,7 +177,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>
javax.persistence.Column
</m:type>
<m:properties>
<m:property>
<m:key>
name
</m:key>
<m:value>
opening_date
</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>
b4211477-b5b7-4036-9814-7e5affff7ea0
</m:id>
<m:name>
openingDate
</m:name>
<m:title>
开业时间
</m:title>
...
...
@@ -94,6 +201,15 @@
<m:type>
bcp.type.constraint.StringLength
</m:type>
<m:value>
20
</m:value>
</m:annotation>
<m:annotation>
<m:type>
javax.persistence.Column
</m:type>
<m:properties>
<m:property>
<m:key>
name
</m:key>
<m:value>
telephone
</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>
f77a03a0-6fdb-43a1-9be9-93c8857aae1c
</m:id>
<m:name>
telephone
</m:name>
...
...
@@ -108,6 +224,15 @@
<m:type>
bcp.type.constraint.StringLength
</m:type>
<m:value>
300
</m:value>
</m:annotation>
<m:annotation>
<m:type>
javax.persistence.Column
</m:type>
<m:properties>
<m:property>
<m:key>
name
</m:key>
<m:value>
reason
</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>
07df337f-d640-4873-8bd7-e0878d56c187
</m:id>
<m:name>
reason
</m:name>
...
...
@@ -117,7 +242,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations></m:annotations>
<m:annotations>
<m:annotation>
<m:type>
javax.persistence.Column
</m:type>
<m:properties>
<m:property>
<m:key>
name
</m:key>
<m:value>
sort_order
</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>
bd60d3ff-9308-4f15-aa1e-67d2923192f2
</m:id>
<m:name>
sortOrder
</m:name>
<m:title>
排序
</m:title>
...
...
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/SalesSummaryAdvQuery.jmx
View file @
0e59c54f
...
...
@@ -296,7 +296,7 @@ SELECT
dinasType.dinasTypeName as dinasType,
SUM(salesSummary.saleDealAmount) as saleDealAmount,
SUM(salesSummary.saleAmount) as saleAmount,
SUM(salesSummary.saleAmount) / SUM(salesSummary.saleDealAmount
) as avgAmount,
(SUM(salesSummary.saleAmount) / SUM(salesSummary.saleDealAmount)
) as avgAmount,
(
SELECT
SUM( SalesSummary1.saleAmount ) AS janAmount
...
...
@@ -448,7 +448,7 @@ FROM
WHERE salesSummary.deal_year = :?year
AND salesSummary.station IN ( :?stationList )
GROUP BY station,dinasType
ORDER BY
station = '总计' DESC,
ORDER BY
station,saleDealAmount DESC
</sql>
</template>
...
...
backend/xyst.dinas.statistics/src/main/resources/config/AdvancePaymentAndBalanceSummary.hbm.xml
View file @
0e59c54f
...
...
@@ -6,7 +6,7 @@
<class
entity-name=
"com.xyst.dinas.statistics.datamodel.AdvancePaymentAndBalanceSummary"
table=
"xyst_dinas_statistics_advancepayment_Balance_summary"
optimistic-lock=
"version"
>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<generator
class=
"
uuid2"
/>
<generator
class=
"
assigned"
/>
</id>
<many-to-one
name=
"project"
entity-name=
"com.xyst.dinas.project.datamodel.ProjectFiled"
fetch=
"select"
>
<column
name=
"project_id"
not-null=
"false"
/>
...
...
backend/xyst.dinas.statistics/src/main/resources/config/SalesSummary.hbm.xml
View file @
0e59c54f
...
...
@@ -6,8 +6,8 @@
<class
entity-name=
"com.xyst.dinas.statistics.datamodel.SalesSummary"
table=
"xyst_dinas_statistics_sale_summary"
optimistic-lock=
"version"
>
<tuplizer
entity-mode=
"dynamic-map"
class=
"com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"
/>
<id
name=
"id"
type=
"uuid-binary"
column=
"id"
length=
"16"
>
<generator
class=
"uuid2
"
/>
</id>
<generator
class=
"assigned
"
/>
</id>
<many-to-one
name=
"project"
entity-name=
"com.xyst.dinas.project.datamodel.ProjectFiled"
fetch=
"select"
>
<column
name=
"project_id"
not-null=
"false"
/>
</many-to-one>
...
...
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