From 32740749cfc1a8f61886767a40f6671b49145683 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com>
Date: Tue, 13 Dec 2022 10:28:05 +0800
Subject: [PATCH 1/3] 'commit'
---
pom.xml | 2 +-
.../com/dsideal/FengHuang/TouPiao/Model/TouPiaoModel.java | 1 -
src/main/resource/Sql/TouPiao.sql | 4 ++--
target/classes/Sql/TouPiao.sql | 4 ++--
4 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4343050..c03ee5b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,7 @@
com.jfinaljfinal
- 5.0.6
+ 5.0.7com.jfinal
diff --git a/src/main/java/com/dsideal/FengHuang/TouPiao/Model/TouPiaoModel.java b/src/main/java/com/dsideal/FengHuang/TouPiao/Model/TouPiaoModel.java
index 991596b..aa504f8 100644
--- a/src/main/java/com/dsideal/FengHuang/TouPiao/Model/TouPiaoModel.java
+++ b/src/main/java/com/dsideal/FengHuang/TouPiao/Model/TouPiaoModel.java
@@ -111,5 +111,4 @@ public class TouPiaoModel {
List list = Db.find(sq);
return list;
}
-
}
\ No newline at end of file
diff --git a/src/main/resource/Sql/TouPiao.sql b/src/main/resource/Sql/TouPiao.sql
index 8dc5c2b..95a5ef7 100644
--- a/src/main/resource/Sql/TouPiao.sql
+++ b/src/main/resource/Sql/TouPiao.sql
@@ -3,8 +3,8 @@
#sql("TongJi")
select *,format(1.0 * ta.pingweihui_count /#(PingWeiHuiAllCount) *10 + 1.0*ta.qunzhong_count/#(QunZhongAllCount) *15,1) as score
from (select t1.houxuanren_tel,t1.houxuanren_name,t1.houxuanren_type_id,
- (select count(1) from t_toupiao_result as t2 where t2.toupiaoren_type_id=1 and t1.houxuanren_tel=t2.toupiaoren_tel) as pingweihui_count,
- (select count(1) from t_toupiao_result as t2 where t2.toupiaoren_type_id=2 and t1.houxuanren_tel=t2.toupiaoren_tel) as qunzhong_count
+ (select count(1) from t_toupiao_result as t2 where t2.houxuanren_type_id=1 and t1.houxuanren_tel=t2.houxuanren_tel) as pingweihui_count,
+ (select count(1) from t_toupiao_result as t2 where t2.houxuanren_type_id=2 and t1.houxuanren_tel=t2.houxuanren_tel) as qunzhong_count
from t_toupiao_houxuanren as t1) as ta where ta.houxuanren_type_id=#(houxuanren_type_id)
order by 1.0 * ta.pingweihui_count /#(PingWeiHuiAllCount) *10 + 1.0*ta.qunzhong_count/#(QunZhongAllCount) *15 desc
#end
diff --git a/target/classes/Sql/TouPiao.sql b/target/classes/Sql/TouPiao.sql
index 8dc5c2b..95a5ef7 100644
--- a/target/classes/Sql/TouPiao.sql
+++ b/target/classes/Sql/TouPiao.sql
@@ -3,8 +3,8 @@
#sql("TongJi")
select *,format(1.0 * ta.pingweihui_count /#(PingWeiHuiAllCount) *10 + 1.0*ta.qunzhong_count/#(QunZhongAllCount) *15,1) as score
from (select t1.houxuanren_tel,t1.houxuanren_name,t1.houxuanren_type_id,
- (select count(1) from t_toupiao_result as t2 where t2.toupiaoren_type_id=1 and t1.houxuanren_tel=t2.toupiaoren_tel) as pingweihui_count,
- (select count(1) from t_toupiao_result as t2 where t2.toupiaoren_type_id=2 and t1.houxuanren_tel=t2.toupiaoren_tel) as qunzhong_count
+ (select count(1) from t_toupiao_result as t2 where t2.houxuanren_type_id=1 and t1.houxuanren_tel=t2.houxuanren_tel) as pingweihui_count,
+ (select count(1) from t_toupiao_result as t2 where t2.houxuanren_type_id=2 and t1.houxuanren_tel=t2.houxuanren_tel) as qunzhong_count
from t_toupiao_houxuanren as t1) as ta where ta.houxuanren_type_id=#(houxuanren_type_id)
order by 1.0 * ta.pingweihui_count /#(PingWeiHuiAllCount) *10 + 1.0*ta.qunzhong_count/#(QunZhongAllCount) *15 desc
#end
From 9954326b1762f3fe3da0a647aa108cbd00d7fed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com>
Date: Tue, 13 Dec 2022 10:35:41 +0800
Subject: [PATCH 2/3] 'commit'
---
src/main/resource/Sql/TouPiao.sql | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/resource/Sql/TouPiao.sql b/src/main/resource/Sql/TouPiao.sql
index 95a5ef7..4fec657 100644
--- a/src/main/resource/Sql/TouPiao.sql
+++ b/src/main/resource/Sql/TouPiao.sql
@@ -3,8 +3,8 @@
#sql("TongJi")
select *,format(1.0 * ta.pingweihui_count /#(PingWeiHuiAllCount) *10 + 1.0*ta.qunzhong_count/#(QunZhongAllCount) *15,1) as score
from (select t1.houxuanren_tel,t1.houxuanren_name,t1.houxuanren_type_id,
- (select count(1) from t_toupiao_result as t2 where t2.houxuanren_type_id=1 and t1.houxuanren_tel=t2.houxuanren_tel) as pingweihui_count,
- (select count(1) from t_toupiao_result as t2 where t2.houxuanren_type_id=2 and t1.houxuanren_tel=t2.houxuanren_tel) as qunzhong_count
+ (select count(1) from t_toupiao_result as t2 where t2.toupiaoren_type_id=1 and t1.houxuanren_tel=t2.houxuanren_tel) as pingweihui_count,
+ (select count(1) from t_toupiao_result as t2 where t2.toupiaoren_type_id=2 and t1.houxuanren_tel=t2.houxuanren_tel) as qunzhong_count
from t_toupiao_houxuanren as t1) as ta where ta.houxuanren_type_id=#(houxuanren_type_id)
order by 1.0 * ta.pingweihui_count /#(PingWeiHuiAllCount) *10 + 1.0*ta.qunzhong_count/#(QunZhongAllCount) *15 desc
#end
From ab3a31499f0dc66017f930fc2ccdfc987e9514cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com>
Date: Tue, 13 Dec 2022 10:40:59 +0800
Subject: [PATCH 3/3] 'commit'
---
WebRoot/html/toupiao_login.html | 10 +++++-----
target/classes/Sql/TouPiao.sql | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/WebRoot/html/toupiao_login.html b/WebRoot/html/toupiao_login.html
index 50de533..4b3452d 100644
--- a/WebRoot/html/toupiao_login.html
+++ b/WebRoot/html/toupiao_login.html
@@ -5,13 +5,13 @@
- 长春市教育技术装备与信息中心职称评审系统
+ 长春市教育技术装备与信息中心职称投票系统
-
+
-
+
@@ -29,8 +29,8 @@