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
6d9b0025
Commit
6d9b0025
authored
May 30, 2021
by
高晓磊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
综合BI 专题
parent
bbef2a0e
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
632 additions
and
0 deletions
+632
-0
DinasTypeProductionStatisticsAdvQuery.jmx
...tics/advanquery/DinasTypeProductionStatisticsAdvQuery.jmx
+30
-0
DinasTypeProductionStatisticsQueryView.jmx
...ics/advanquery/DinasTypeProductionStatisticsQueryView.jmx
+90
-0
RegionalCompanyDischargingCountStatisticsAdvQuery.jmx
...ery/RegionalCompanyDischargingCountStatisticsAdvQuery.jmx
+36
-0
RegionalCompanyDischargingCountStatisticsQueryView.jmx
...ry/RegionalCompanyDischargingCountStatisticsQueryView.jmx
+90
-0
RegionalCompanyProductionStatisticsAdvQuery.jmx
...dvanquery/RegionalCompanyProductionStatisticsAdvQuery.jmx
+29
-0
RegionalCompanyProductionStatisticsQueryView.jmx
...vanquery/RegionalCompanyProductionStatisticsQueryView.jmx
+79
-0
SandMiningAreaScheduleAdvQuery.jmx
.../statistics/advanquery/SandMiningAreaScheduleAdvQuery.jmx
+35
-0
SandMiningAreaScheduleQueryView.jmx
...statistics/advanquery/SandMiningAreaScheduleQueryView.jmx
+101
-0
SandMiningScheduleAdvQuery.jmx
...inas/statistics/advanquery/SandMiningScheduleAdvQuery.jmx
+38
-0
SandMiningScheduleQueryView.jmx
...nas/statistics/advanquery/SandMiningScheduleQueryView.jmx
+104
-0
No files found.
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/DinasTypeProductionStatisticsAdvQuery.jmx
0 → 100644
View file @
6d9b0025
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
67482357-5796-47fb-855e-17ec0286e50c
</id>
<name>
com.xyst.dinas.statistics.advanquery.DinasTypeProductionStatisticsAdvQuery
</name>
<title>
砂石类型生产统计
</title>
<description>
砂石类型生产统计
</description>
<define>
advanced.query.template
</define>
<define-version>
1.0
</define-version>
<content>
<template>
<sql-type>
NPSQL
</sql-type>
<sql>
SELECT
bdt.dinasTypeName as typeName,sum(dtd.dinasWeight)/1000 as weight, bdt.type as type
FROM
xystOrganization AS dbo
LEFT JOIN ProductionPlanReport AS ppr
LEFT JOIN ProductionPlanReportAssociatedDinasTypeDetails as dtd on dtd.master = ppr.id
LEFT JOIN DinasType as bdt on bdt.id = dtd.dinasType
on ppr.regionalCompany = dbo.id
where (dbo.discard = 0 or dbo.discard is null)
and ppr.warehousingStatus = 1
and ppr.productionPlanDate
>
= :?startDate
and Ppr.productionPlanDate
<
= :?endDate
GROUP BY bdt.id
</sql>
</template>
</content>
</metadata>
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/DinasTypeProductionStatisticsQueryView.jmx
0 → 100644
View file @
6d9b0025
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
c2cf43c8-8fc4-49cc-95ee-2fbccc5f3abf
</id>
<name>
com.xyst.dinas.statistics.advanquery.DinasTypeProductionStatisticsQueryView
</name>
<title>
砂石类型生产统计
</title>
<description>
砂石类型生产统计
</description>
<define>
advanced.query.view
</define>
<define-version>
1.0
</define-version>
<content>
<view>
{
"name": "砂石类型生产统计",
"title": "砂石类型生产统计",
"description": "砂石类型生产统计",
"actions": [],
"scenes" : {
"isShowScenes" : true
},
"fuzzySearch": [
],
"isShowTabCountZero": true,
"groups": [
{
"name": "all",
"title": "全部",
"content": {
"datasource": "com.xyst.dinas.statistics.advanquery.DinasTypeProductionStatisticsAdvQuery"
}
}
],
"content": {
"isShowView": "table",
"datasource": "com.xyst.dinas.statistics.advanquery.DinasTypeProductionStatisticsAdvQuery",
"arguments": {
"items": [
]
},
"actions": [
],
"table": {
"selectType": "MULTI",
"serialNumber": "series",
"pageSize": 10,
"orders":[
],
"expand": false,
"columns": [
{
"type": "VALUE",
"title": "砂石种类名称",
"key": "typeName",
"columnType": {
"name" : "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "生产量(万吨)",
"key": "weight",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "类型(0砂1石)",
"key": "type",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
}
]
}
}
}
</view>
</content>
</metadata>
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/RegionalCompanyDischargingCountStatisticsAdvQuery.jmx
0 → 100644
View file @
6d9b0025
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
a645492e-7fb0-4d48-9499-20ac2d06425e
</id>
<name>
com.xyst.dinas.statistics.advanquery.RegionalCompanyDischargingCountStatisticsAdvQuery
</name>
<title>
区域公司接驳量统计
</title>
<description>
区域公司接驳量统计
</description>
<define>
advanced.query.template
</define>
<define-version>
1.0
</define-version>
<content>
<template>
<sql-type>
NPSQL
</sql-type>
<sql>
SELECT
dbo.id,
dbo.NAME as name,
sum( dpd.dischargingWeight )/ 10000 as weight,
d.dw/10000 as allSumCount
FROM
xystOrganization AS dbo
LEFT JOIN Discharging AS dpd ON dbo.id = dpd.regionalCompany
LEFT JOIN ( SELECT sum( dischargingWeight ) AS dw FROM Discharging WHERE parentId IS NULL
and dischargingTime
>
= :?startDate and dischargingTime
<
= :?endDate
) AS d ON 1 = 1
WHERE
dpd.del = 0
AND ( dbo.discard IS NULL OR dbo.discard = 0 )
AND dpd.parentId IS NULL
and dpd.dischargingTime
>
= :?startDate and dpd.dischargingTime
<
= :?endDate
GROUP BY
dbo.id
order by weight desc
</sql>
</template>
</content>
</metadata>
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/RegionalCompanyDischargingCountStatisticsQueryView.jmx
0 → 100644
View file @
6d9b0025
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
7e2e8bdc-b54f-4c14-b5ec-a58bddd2cec5
</id>
<name>
com.xyst.dinas.statistics.advanquery.RegionalCompanyDischargingCountStatisticsQueryView
</name>
<title>
区域公司接驳量统计
</title>
<description>
区域公司接驳量统计
</description>
<define>
advanced.query.view
</define>
<define-version>
1.0
</define-version>
<content>
<view>
{
"name": "区域公司接驳量统计",
"title": "区域公司接驳量统计",
"description": "区域公司接驳量统计",
"actions": [],
"scenes" : {
"isShowScenes" : true
},
"fuzzySearch": [
],
"isShowTabCountZero": true,
"groups": [
{
"name": "all",
"title": "全部",
"content": {
"datasource": "com.xyst.dinas.statistics.advanquery.RegionalCompanyDischargingCountStatisticsAdvQuery"
}
}
],
"content": {
"isShowView": "table",
"datasource": "com.xyst.dinas.statistics.advanquery.RegionalCompanyDischargingCountStatisticsAdvQuery",
"arguments": {
"items": [
]
},
"actions": [
],
"table": {
"selectType": "MULTI",
"serialNumber": "series",
"pageSize": 10,
"orders":[
],
"expand": false,
"columns": [
{
"type": "VALUE",
"title": "区域公司名称",
"key": "name",
"columnType": {
"name" : "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "接驳量(万吨)",
"key": "weight",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "总接驳量(所有区域公司的)",
"key": "allSumCount",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
}
]
}
}
}
</view>
</content>
</metadata>
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/RegionalCompanyProductionStatisticsAdvQuery.jmx
0 → 100644
View file @
6d9b0025
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
d045e2ce-fc86-4d92-a3e5-6d84132929c5
</id>
<name>
com.xyst.dinas.statistics.advanquery.RegionalCompanyProductionStatisticsAdvQuery
</name>
<title>
区域公司生产统计
</title>
<description>
区域公司生产统计
</description>
<define>
advanced.query.template
</define>
<define-version>
1.0
</define-version>
<content>
<template>
<sql-type>
NPSQL
</sql-type>
<sql>
SELECT
dbo.name ,sum(dtd.dinasWeight)/10000 as weight
FROM
xystOrganization AS dbo
LEFT JOIN ProductionPlanReport AS ppr
LEFT JOIN ProductionPlanReportAssociatedDinasTypeDetails as dtd on dtd.master = ppr.id
on ppr.regionalCompany = dbo.id
where (dbo.discard = 0 or dbo.discard is null)
and ppr.warehousingStatus = 1
and ppr.productionPlanDate
>
= :?startDate
and ppr.productionPlanDate
<
= :?endDate
GROUP BY dbo.id;
</sql>
</template>
</content>
</metadata>
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/RegionalCompanyProductionStatisticsQueryView.jmx
0 → 100644
View file @
6d9b0025
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
baaef966-2224-4d12-a267-4fa059da3a32
</id>
<name>
com.xyst.dinas.statistics.advanquery.RegionalCompanyProductionStatisticsQueryView
</name>
<title>
区域公司生产统计
</title>
<description>
区域公司生产统计
</description>
<define>
advanced.query.view
</define>
<define-version>
1.0
</define-version>
<content>
<view>
{
"name": "区域公司生产统计",
"title": "区域公司生产统计",
"description": "区域公司生产统计",
"actions": [],
"scenes" : {
"isShowScenes" : true
},
"fuzzySearch": [
],
"isShowTabCountZero": true,
"groups": [
{
"name": "all",
"title": "全部",
"content": {
"datasource": "com.xyst.dinas.statistics.advanquery.RegionalCompanyProductionStatisticsAdvQuery"
}
}
],
"content": {
"isShowView": "table",
"datasource": "com.xyst.dinas.statistics.advanquery.RegionalCompanyProductionStatisticsAdvQuery",
"arguments": {
"items": [
]
},
"actions": [
],
"table": {
"selectType": "MULTI",
"serialNumber": "series",
"pageSize": 10,
"orders":[
],
"expand": false,
"columns": [
{
"type": "VALUE",
"title": "区域公司名称",
"key": "name",
"columnType": {
"name" : "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "生产量(万吨)",
"key": "weight",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
}
]
}
}
}
</view>
</content>
</metadata>
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/SandMiningAreaScheduleAdvQuery.jmx
0 → 100644
View file @
6d9b0025
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
d233edad-1934-45d6-8bad-d524dd29bc61
</id>
<name>
com.xyst.dinas.statistics.advanquery.SandMiningAreaScheduleAdvQuery
</name>
<title>
采区进度
</title>
<description>
采区进度
</description>
<define>
advanced.query.template
</define>
<define-version>
1.0
</define-version>
<content>
<template>
<sql-type>
NPSQL
</sql-type>
<sql>
SELECT
( ma.sandMiningQuantity ) AS quantity,
sum( pd.dischargingWeight )/10000 AS sumWeight,
(
sum( pd.dischargingWeight )/(
sandMiningQuantity * 10000
)) AS quantityRate,
ma.sandMiningAreaName as sandAreaName
FROM
Discharging AS pd
INNER JOIN SandMiningArea AS ma ON pd.sandMiningArea = ma.id
WHERE
pd.del = 0
AND ma.del = 0
and pd.parentId is null
AND year(pd.dischargingTime ) = year(now())
GROUP BY
ma.id
</sql>
</template>
</content>
</metadata>
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/SandMiningAreaScheduleQueryView.jmx
0 → 100644
View file @
6d9b0025
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
f578ba36-90db-4386-b823-9cd13d6e8712
</id>
<name>
com.xyst.dinas.statistics.advanquery.SandMiningAreaScheduleQueryView
</name>
<title>
采区进度
</title>
<description>
采区进度
</description>
<define>
advanced.query.view
</define>
<define-version>
1.0
</define-version>
<content>
<view>
{
"name": "采区进度",
"title": "采区进度",
"description": "采区进度",
"actions": [],
"scenes" : {
"isShowScenes" : true
},
"fuzzySearch": [
],
"isShowTabCountZero": true,
"groups": [
{
"name": "all",
"title": "全部",
"content": {
"datasource": "com.xyst.dinas.statistics.advanquery.SandMiningAreaScheduleAdvQuery"
}
}
],
"content": {
"isShowView": "table",
"datasource": "com.xyst.dinas.statistics.advanquery.SandMiningAreaScheduleAdvQuery",
"arguments": {
"items": [
]
},
"actions": [
],
"table": {
"selectType": "MULTI",
"serialNumber": "series",
"pageSize": 10,
"orders":[
],
"expand": false,
"columns": [
{
"type": "VALUE",
"title": "计划量(万吨炖)",
"key": "quantity",
"columnType": {
"name" : "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "实际接驳量(万吨)",
"key": "sumWeight",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "计划进度(没有百分比的)",
"key": "quantityRate",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "采区名称",
"key": "sandAreaName",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
}
]
}
}
}
</view>
</content>
</metadata>
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/SandMiningScheduleAdvQuery.jmx
0 → 100644
View file @
6d9b0025
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
8ef5b5a1-ec85-4b38-bbc0-aa9cab64ab9f
</id>
<name>
com.xyst.dinas.statistics.advanquery.SandMiningScheduleAdvQuery
</name>
<title>
采砂许可进度
</title>
<description>
采砂许可进度
</description>
<define>
advanced.query.template
</define>
<define-version>
1.0
</define-version>
<content>
<template>
<sql-type>
NPSQL
</sql-type>
<sql>
SELECT
psm.id,
bsi.shipName AS shipName,
(sum( dpd.dischargingWeight )/10000) AS sumWeight,
(1+datediff ( psm.sandMiningEnd, psm.sandMiningStart ))* psm.miningVolume AS sumVolume.
sum( dpd.dischargingWeight ) / ((1+datediff ( psm.sandMiningEnd, psm.sandMiningStart ))* psm.miningVolume) as volumeRate
FROM
SandMining AS psm
LEFT JOIN ShipInfo bsi ON psm.ship = bsi.id
LEFT JOIN Discharging AS dpd ON dpd.sandMiningShip = bsi.id
WHERE
dpd.dischargingTime
>
= psm.sandMiningStart
AND dpd.dischargingTime
<
= psm.sandMiningEnd
and dpd.type = 0
AND dpd.del = 0
AND psm.del = 0
AND bsi.del = 0
and dpd.type = 0
AND psm.STATUS = 1
GROUP BY
psm.id
</sql>
</template>
</content>
</metadata>
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/SandMiningScheduleQueryView.jmx
0 → 100644
View file @
6d9b0025
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
103aa4ac-64c1-4aa5-9826-b6ab2fb056e3
</id>
<name>
com.xyst.dinas.statistics.advanquery.SandMiningScheduleQueryView
</name>
<title>
采砂许可进度
</title>
<description>
采砂许可进度
</description>
<define>
advanced.query.view
</define>
<define-version>
1.0
</define-version>
<content>
<view>
{
"name": "采砂许可进度",
"title": "采砂许可进度",
"description": "采砂许可进度",
"actions": [],
"scenes" : {
"isShowScenes" : true
},
"fuzzySearch": [
],
"isShowTabCountZero": true,
"groups": [
{
"name": "all",
"title": "全部",
"content": {
"datasource": "com.xyst.dinas.statistics.advanquery.SandMiningScheduleAdvQuery"
}
}
],
"content": {
"isShowView": "table",
"datasource": "com.xyst.dinas.statistics.advanquery.SandMiningScheduleAdvQuery",
"arguments": {
"items": [
]
},
"actions": [
],
"table": {
"selectType": "MULTI",
"serialNumber": "series",
"pageSize": 10,
"orders":[
],
"expand": false,
"columns": [
{
"type": "VALUE",
"title": "计划量(万吨炖)",
"key": "sumVolume",
"columnType": {
"name" : "select",
"data": {
"selected": true
}
},
"format": {
"type": "DATE"
}
},
{
"type": "VALUE",
"title": "实际接驳量(万吨)",
"key": "sumWeight",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "计划进度(没有百分比的)",
"key": "volumeRate",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "船只名称",
"key": "shipName",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
}
]
}
}
}
</view>
</content>
</metadata>
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