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
dac447a9
Commit
dac447a9
authored
Jun 07, 2021
by
wukaiqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
购砂单位专题部分接口
parent
924d2b72
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
435 additions
and
0 deletions
+435
-0
PurchaseSandCompanyByRegionalCompanySummaryAdvQuery.jmx
...y/PurchaseSandCompanyByRegionalCompanySummaryAdvQuery.jmx
+29
-0
PurchaseSandCompanyByRegionalCompanySummaryQueryView.jmx
.../PurchaseSandCompanyByRegionalCompanySummaryQueryView.jmx
+98
-0
PurchaseSandCompanyConcatSummaryAdvQuery.jmx
...s/advanquery/PurchaseSandCompanyConcatSummaryAdvQuery.jmx
+33
-0
PurchaseSandCompanyConcatSummaryQueryView.jmx
.../advanquery/PurchaseSandCompanyConcatSummaryQueryView.jmx
+98
-0
PurchaseSandCompanySalesDetailsSummaryAdvQuery.jmx
...nquery/PurchaseSandCompanySalesDetailsSummaryAdvQuery.jmx
+46
-0
PurchaseSandCompanySalesDetailsSummaryQueryView.jmx
...query/PurchaseSandCompanySalesDetailsSummaryQueryView.jmx
+131
-0
No files found.
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/PurchaseSandCompanyByRegionalCompanySummaryAdvQuery.jmx
0 → 100644
View file @
dac447a9
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
8aaee9ff-2a19-4503-ab34-0f72de13dbed
</id>
<name>
com.xyst.dinas.statistics.advanquery.PurchaseSandCompanyByRegionalCompanySummaryAdvQuery
</name>
<title>
区域公司购砂单位统计
</title>
<description>
区域公司购砂单位统计
</description>
<define>
advanced.query.template
</define>
<define-version>
1.0
</define-version>
<content>
<template>
<sql-type>
SQL
</sql-type>
<sql>
SELECT
xystOrganization.id AS regionalCompanyId,
xystOrganization.NAME AS regionalCompanyName,
count(purchaseSandCompany.regionalCompany) AS purchaseSandCompanyConcat
FROM
xystOrganization AS xystOrganization
LEFT JOIN PurchaseSandCompany AS purchaseSandCompany on purchaseSandCompany.regionalCompany = xystOrganization.id
WHERE 1=1
AND xystOrganization.type
<>
'GROUP_COMPANY'
AND xystOrganization.discard
<>
1
GROUP BY xystOrganization.id
</sql>
</template>
</content>
</metadata>
\ No newline at end of file
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/PurchaseSandCompanyByRegionalCompanySummaryQueryView.jmx
0 → 100644
View file @
dac447a9
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
16574e27-1112-4db8-9631-b34db6d80989
</id>
<name>
com.xyst.dinas.statistics.advanquery.PurchaseSandCompanyByRegionalCompanySummaryQueryView
</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.PurchaseSandCompanyByRegionalCompanySummaryAdvQuery"
}
}
],
"content": {
"isShowView": "table",
"datasource": "com.xyst.dinas.statistics.advanquery.PurchaseSandCompanyByRegionalCompanySummaryAdvQuery",
"arguments": {
"items": [
]
},
"actions": [
{
"param": [],
"enable": "ALL",
"name": "query_export",
"action": "query_export",
"title": "导出",
"type": "",
"privage": "com.xyst.dinas.statistics.auth.SaleAnalyseExport"
}
],
"table": {
"selectType": "MULTI",
"serialNumber": "series",
"pageSize": 10,
"orders":[
],
"expand": false,
"columns": [
{
"type": "VALUE",
"title": "区域公司ID",
"key": "regionalCompanyId",
"columnType": {
"name" : "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "区域公司",
"key": "regionalCompanyName",
"columnType": {
"name" : "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "区域公司个数",
"key": "purchaseSandCompanyConcat",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
}
]
}
}
}
</view>
</content>
</metadata>
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/PurchaseSandCompanyConcatSummaryAdvQuery.jmx
0 → 100644
View file @
dac447a9
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
b580a4b5-15cd-4bde-b040-56e50f65a02e
</id>
<name>
com.xyst.dinas.statistics.advanquery.PurchaseSandCompanyConcatSummaryAdvQuery
</name>
<title>
近半年购砂单位签订趋势
</title>
<description>
近半年购砂单位签订趋势
</description>
<define>
advanced.query.template
</define>
<define-version>
1.0
</define-version>
<content>
<template>
<sql-type>
SQL
</sql-type>
<sql>
select
yearof(purchaseSandCompany.createTime ) AS year,
monthof(purchaseSandCompany.createTime) AS month,
COUNT(1) AS purchaseSandCompanyConcat
FROM
PurchaseSandCompany AS purchaseSandCompany
LEFT JOIN xystOrganization AS xystOrganization ON purchaseSandCompany.regionalCompany = xystOrganization.id
WHERE 1=1
AND xystOrganization.type
<>
'GROUP_COMPANY'
AND purchaseSandCompany.discard
<>
1
AND purchaseSandCompany.createTime
>
= :?startDate
AND purchaseSandCompany.createTime
<
= :?endDate
AND purchaseSandCompany.regionalCompany = :?regionalCompanyId
GROUP BY yearof(purchaseSandCompany.createTime ),
monthof(purchaseSandCompany.createTime)
</sql>
</template>
</content>
</metadata>
\ No newline at end of file
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/PurchaseSandCompanyConcatSummaryQueryView.jmx
0 → 100644
View file @
dac447a9
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
5446e8b5-0fea-49de-8b4b-e1b6b3eb447a
</id>
<name>
com.xyst.dinas.statistics.advanquery.PurchaseSandCompanyConcatSummaryQueryView
</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.PurchaseSandCompanyConcatSummaryAdvQuery"
}
}
],
"content": {
"isShowView": "table",
"datasource": "com.xyst.dinas.statistics.advanquery.PurchaseSandCompanyConcatSummaryAdvQuery",
"arguments": {
"items": [
]
},
"actions": [
{
"param": [],
"enable": "ALL",
"name": "query_export",
"action": "query_export",
"title": "导出",
"type": "",
"privage": "com.xyst.dinas.statistics.auth.SaleAnalyseExport"
}
],
"table": {
"selectType": "MULTI",
"serialNumber": "series",
"pageSize": 10,
"orders":[
],
"expand": false,
"columns": [
{
"type": "VALUE",
"title": "年",
"key": "year",
"columnType": {
"name" : "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "月",
"key": "month",
"columnType": {
"name" : "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "购砂单位备案个数",
"key": "purchaseSandCompanyConcat",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
}
]
}
}
}
</view>
</content>
</metadata>
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/PurchaseSandCompanySalesDetailsSummaryAdvQuery.jmx
0 → 100644
View file @
dac447a9
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
4123413d-ac6e-4cf9-ae2d-e189688ac69f
</id>
<name>
com.xyst.dinas.statistics.advanquery.PurchaseSandCompanySalesDetailsSummaryAdvQuery
</name>
<title>
购砂单位销售详情
</title>
<description>
购砂单位销售详情
</description>
<define>
advanced.query.template
</define>
<define-version>
1.0
</define-version>
<content>
<template>
<sql-type>
SQL
</sql-type>
<sql>
SELECT
purchaseSandCompany.regionalCompany AS regionalCompanyId,
xystOrganization.name AS regionalCompanyName,
purchaseSandCompany.id AS purchaseSandCompanyId,
purchaseSandCompany.name AS purchaseSandCompanyName,
CASE
WHEN
SUM(salesRecord.amount)
IS NULL THEN 0 ELSE
SUM(salesRecord.amount)
END
AS purchaseSandCompanyAmount,
CASE
WHEN
SUM(salesRecord.dealAmount)
IS NULL THEN 0 ELSE
SUM(salesRecord.dealAmount)
END
AS purchaseSandCompanyDealAmount
FROM
PurchaseSandCompany AS purchaseSandCompany
LEFT JOIN xystOrganization AS xystOrganization ON purchaseSandCompany.regionalCompany = xystOrganization.id
LEFT JOIN SalesRecord AS salesRecord ON salesRecord.purchaseSandCompany = purchaseSandCompany.id
WHERE 1=1
AND purchaseSandCompany.discard
<>
1
AND purchaseSandCompany.regionalCompany = :?regionalCompanyId
AND xystOrganization.type
<>
'GROUP_COMPANY'
GROUP BY purchaseSandCompany.id
</sql>
</template>
</content>
</metadata>
\ No newline at end of file
backend/xyst.dinas.statistics/src/main/resources/com/xyst/dinas/statistics/advanquery/PurchaseSandCompanySalesDetailsSummaryQueryView.jmx
0 → 100644
View file @
dac447a9
<?xml version="1.0" encoding="UTF-8"?>
<metadata
xmlns=
"http://www.beecode.cn/schema/amino-metadata"
>
<specification>
1.0
</specification>
<id>
89d8fd43-4ad3-4315-92a4-672b56688299
</id>
<name>
com.xyst.dinas.statistics.advanquery.PurchaseSandCompanySalesDetailsSummaryQueryView
</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.PurchaseSandCompanySalesDetailsSummaryAdvQuery"
}
}
],
"content": {
"isShowView": "table",
"datasource": "com.xyst.dinas.statistics.advanquery.PurchaseSandCompanySalesDetailsSummaryAdvQuery",
"arguments": {
"items": [
]
},
"actions": [
{
"param": [],
"enable": "ALL",
"name": "query_export",
"action": "query_export",
"title": "导出",
"type": "",
"privage": "com.xyst.dinas.statistics.auth.SaleAnalyseExport"
}
],
"table": {
"selectType": "MULTI",
"serialNumber": "series",
"pageSize": 10,
"orders":[
],
"expand": false,
"columns": [
{
"type": "VALUE",
"title": "区域公司ID",
"key": "regionalCompanyId",
"columnType": {
"name" : "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "区域公司",
"key": "regionalCompanyName",
"columnType": {
"name" : "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "购砂单位ID",
"key": "purchaseSandCompanyId",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "购砂单位",
"key": "purchaseSandCompanyName",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "购砂单位销售额(元)",
"key": "purchaseSandCompanyAmount",
"columnType": {
"name": "select",
"data": {
"selected": true
}
}
},
{
"type": "VALUE",
"title": "购砂单位销售量(吨)",
"key": "purchaseSandCompanyDealAmount",
"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