tudc 4 vuotta sitten
vanhempi
commit
c7108fb9ae

+ 54 - 0
src/main/resources/com/minpay/db/table/own/mapper/ReportServiceMapper.xml

@@ -97,6 +97,60 @@
 		   	</if>
 		group by a.DFD0_AREA
 	</select>
+	<select id="selectReportType00FenDuan" resultType="java.lang.String" parameterType="java.util.Map">
+		SELECT 
+		  COUNT(1) 
+		FROM
+		  (SELECT 
+		    SUM(
+		      TIMESTAMPDIFF(
+		        MINUTE,
+		        DFD0_START_TIME,
+		        DFD0_END_TIME
+		      )
+		    ) timeMinute 
+		  FROM
+		    dw_file_detail_00 a 
+		  WHERE 
+		  	DFD0_START_TIME &gt; #{beginTime,jdbcType=VARCHAR}
+		    and DFD0_START_TIME &lt; #{endTime,jdbcType=VARCHAR}
+		  GROUP BY a.DFD0_ADDRESS_NUM,
+		    a.DFD0_ADDRESS_NAME) b 
+		WHERE 1=1
+			<if test="start != null  and start != ''">
+				and timeMinute &gt;= #{start,jdbcType=VARCHAR} 
+			</if>
+			<if test="end != null  and end != ''">
+				AND timeMinute &lt;= #{end,jdbcType=VARCHAR} 
+			</if>
+	</select>
+	<select id="selectReportType00ZuichangTaiqu" resultType="hashmap" parameterType="java.util.Map">
+		SELECT 
+		  cast(
+			  SUM(
+			    TIMESTAMPDIFF(
+			      MINUTE,
+			      DFD0_START_TIME,
+			      DFD0_END_TIME
+			    )
+			  ) as char
+		  ) timeMinute,
+		  DFD0_ADDRESS_NAME addressName
+		FROM
+		  dw_file_detail_00 a 
+		WHERE DFD0_DATE &gt;= #{beginTime,jdbcType=VARCHAR}
+		  AND DFD0_DATE &lt;= #{endTime,jdbcType=VARCHAR}
+		GROUP BY a.DFD0_ADDRESS_NUM,
+		  a.DFD0_ADDRESS_NAME 
+		ORDER BY SUM(
+		    TIMESTAMPDIFF(
+		      MINUTE,
+		      DFD0_START_TIME,
+		      DFD0_END_TIME
+		    )
+		  ) DESC 
+		LIMIT 0, 2  
+	</select>
 	<select id="selectDetail02ByGZQJPD" resultType="hashmap" parameterType="java.util.Map">
 		select
 			DFD2_GZQJPD gzqjpd,

+ 11 - 11
src/main/webapp/build/css/app.css

@@ -102,7 +102,7 @@ button {
 	line-height: 40px;
 }
 .kit-theme .kit-layout-admin .layui-header{
-	background: #27B9B0;
+	background: #00A0E8;
 	border-bottom: none;
 	box-shadow:0px 2px 4px 2px rgba(20,65,129,0.1);
 	position: fixed;
@@ -178,7 +178,7 @@ button {
 
 .kit-side .layui-side-scroll {
     width: auto;
-    background:#27B9B0;
+    background:#00A0E8;
 }
 
 .kit-side .layui-side-scroll .kit-side-fold {
@@ -220,7 +220,7 @@ button {
 }
 
 
-/* table闁烩晝顭堥崣锟� start */
+/* table闂佺儵鏅濋…鍫ュ矗閿燂拷 start */
 
 .kit-table {
     position: relative;
@@ -330,10 +330,10 @@ button {
 }
 
 
-/* table闁烩晝顭堥崣锟� end */
+/* table闂佺儵鏅濋…鍫ュ矗閿燂拷 end */
 
 
-/*闂侇偄顦甸妴宥夊础閿涘嫭绁查柛蹇ユ嫹 start*/
+/*闂備緡鍋勯ˇ鐢稿Υ瀹ュ纭�闁挎稑瀚粊鏌ユ煕韫囥儲瀚� start*/
 
 .kit-tab {
     margin: 0;
@@ -417,7 +417,7 @@ button {
 }
 
 
-/*闂侇偄顦甸妴宥夊础閿涘嫭绁查柛蹇ユ嫹 end*/
+/*闂備緡鍋勯ˇ鐢稿Υ瀹ュ纭�闁挎稑瀚粊鏌ユ煕韫囥儲瀚� end*/
 
 
 /* @media screen and (max-width: 992px) { */
@@ -526,7 +526,7 @@ button {
 .flex-check-box .layui-form-checkbox{
 	margin-bottom:15px;
 }
-/*閹稿鎸崇�规矮缍� */
+/*闁圭顦甸幐宕囷拷瑙勭煯缂嶏拷 */
 .box-button{
 	width:100%;
 	position:fixed;
@@ -542,7 +542,7 @@ button {
  		margin-left:0;
  		padding-right:20px;
 }
-/*鐟欏嫭鐗搁惄绋垮彠閸掔娀娅�*/
+/*閻熸瑥瀚悧鎼佹儎缁嬪灝褰犻柛鎺斿█濞咃拷*/
 .delete-btn-box{
 	width: 100px;
 	height: 34px;
@@ -585,16 +585,16 @@ button {
 	transition: all .3s;
 }
 .layui-nav-tree .layui-nav-item a:hover{
-		    background:#27B9B0;	
+		    background:#00A0E8;	
 }
 .delete-btn-icon img:hover{
 	transform: rotate(180deg);
 }
 .layui-layout-admin .layui-side{
-	   background:#27B9B0;
+	   background:#00A0E8;
 }
 .layui-layout-admin .layui-side .layui-nav {
-	    background:#27B9B0;
+	    background:#00A0E8;
 }
 .layui-layout-admin .layui-side .kit-side-fold{
 	background: #213046;

+ 3 - 3
src/main/webapp/css/login.css

@@ -1,5 +1,5 @@
 .login-back {
-    background: #27B9B0;
+    background: #00A0E8;
     background-size: 100% 100%;
     background-position: 0 0;
     width: 100%;
@@ -8,7 +8,7 @@
 }
 .login-title {
     font-size: 30px;
-    color: #27B9B0;
+    color: #00A0E8;
     text-align: center;
  
 }
@@ -83,7 +83,7 @@ input[type="checkbox"]:checked+label {
 	color: #00E1EB;
 }
 .login-btn {
-    background: #27B9B0;
+    background: #00A0E8;
     font-size: 18px;
     color: #ffffff;
     letter-spacing: 3px;

+ 2 - 2
src/main/webapp/css/modify.css

@@ -325,13 +325,13 @@ body .layui-layer-page{
 	border-radius: 4px;
 }
 body .layui-layer-page .layui-layer-title{
-	background: #27B9B0;
+	background: #00A0E8;
 	border-radius: 4px 4px 0 0;
 	font-size: 14px;
 	color: rgba(255,255,255,0.85);
 }
 body .layui-layer-page .layui-layer-btn .layui-layer-btn0{
-	background: #27B9B0;
+	background: #00A0E8;
 	border-radius: 4px;
 }
 .layui-layer-page .layui-layer-btn{