diff --git a/ruoyi-admin/src/main/java/com/ruoyi/jjh/declaration/entity/dto/BmsDeclarationRecordsDto.java b/ruoyi-admin/src/main/java/com/ruoyi/jjh/declaration/entity/dto/BmsDeclarationRecordsDto.java
index fc59872..0938ac9 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/jjh/declaration/entity/dto/BmsDeclarationRecordsDto.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/jjh/declaration/entity/dto/BmsDeclarationRecordsDto.java
@@ -59,4 +59,7 @@ public class BmsDeclarationRecordsDto extends BmsDeclarationRecords {
@ApiModelProperty(value = "0=未填报,1=已填报")
private Integer statusChange;
+
+ @ApiModelProperty(value = "0=按时间排序,1=不按时间排序")
+ private Integer orderChange;
}
diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index ba65377..f04e035 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -34,7 +34,7 @@ spring:
# 国际化资源文件路径
basename: i18n/messages
profiles:
- active: internet
+ active: druid
# 文件上传
servlet:
multipart:
diff --git a/ruoyi-admin/src/main/resources/mapper/jjh/declaration/BmsDeclarationRecordsMapper.xml b/ruoyi-admin/src/main/resources/mapper/jjh/declaration/BmsDeclarationRecordsMapper.xml
index 0654d3c..99e3418 100644
--- a/ruoyi-admin/src/main/resources/mapper/jjh/declaration/BmsDeclarationRecordsMapper.xml
+++ b/ruoyi-admin/src/main/resources/mapper/jjh/declaration/BmsDeclarationRecordsMapper.xml
@@ -206,7 +206,12 @@
and a.is_deleted = #{isDeleted}
- order by FIELD(a.status, 0, 1, 2, 3,10,8,7,9,5),a.create_time desc, e.dict_sort desc
+
+ order by a.create_time desc
+
+
+ order by FIELD(a.status, 0, 1, 2, 3,10,8,7,9,5),a.create_time desc, e.dict_sort desc
+
SELECT a.categories AS nameType,
- IFNULL(ROUND(SUM(b.year_revenue) / 10000, 3), '-') AS yearRevenue,
- IFNULL(ROUND(SUM(b.add_value) / 10000, 3), '-') AS addValue,
+ IFNULL(ROUND(SUM(b.year_revenue) / 10000, 1), '-') AS yearRevenue,
+ IFNULL(ROUND(SUM(b.add_value) / 10000, 1), '-') AS addValue,
IFNULL(b.growth, '-') AS growth,
IFNULL(b.gdp_proportion, '-') AS gdpProportion
FROM j_industry_dictionary a
diff --git a/ruoyi-admin/src/main/resources/mapper/jjh/ent/JServicesListMapper.xml b/ruoyi-admin/src/main/resources/mapper/jjh/ent/JServicesListMapper.xml
index 0fe7130..90788a0 100644
--- a/ruoyi-admin/src/main/resources/mapper/jjh/ent/JServicesListMapper.xml
+++ b/ruoyi-admin/src/main/resources/mapper/jjh/ent/JServicesListMapper.xml
@@ -6,7 +6,7 @@
SELECT
a.*,
- IFNULL( ROUND( b.revenue/ 100000, 3 ), '-' )
+ IFNULL( ROUND( b.revenue/ 100000, 1 ), '-' )
AS revenue,
b.years
FROM
@@ -31,7 +31,7 @@
SELECT a.services_type,
count(*) AS qyCount,
IFNULL(b.add_value, '-') AS addValue,
- IFNULL(ROUND(SUM(b.revenue) / 100000, 3), '-') AS allRevenue
+ IFNULL(ROUND(SUM(b.revenue) / 100000, 1), '-') AS allRevenue
FROM j_services_list a
LEFT JOIN j_business_revenue b ON a.tyshxydm = b.tyshxydm
GROUP BY a.services_type
@@ -40,9 +40,9 @@
SELECT 5 AS services_type,
count(*) AS qyCount,
- IFNULL(ROUND(SUM(taxation) / 100000, 3), '-') AS allRevenue,
- IFNULL(ROUND(SUM(IFNULL(revenue, 0)) / 100000, 3) + ROUND(SUM(IFNULL(output, 0)) / 100000, 3) +
- ROUND(SUM(IFNULL(sales, 0)) / 100000, 3), '-') AS addValue
+ IFNULL(ROUND(SUM(taxation) / 100000, 1), '-') AS allRevenue,
+ IFNULL(ROUND(SUM(IFNULL(revenue, 0)) / 100000, 1) + ROUND(SUM(IFNULL(output, 0)) / 100000, 1) +
+ ROUND(SUM(IFNULL(sales, 0)) / 100000, 1), '-') AS addValue
FROM j_headquarters_revenue