Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fgqyxxlr
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
yaru
fgqyxxlr
Commits
1aa2d7a5
Commit
1aa2d7a5
authored
Jul 12, 2020
by
Awen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitee.com:y_project/RuoYi
parents
8b4aef15
d56d6ac5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
10 deletions
+21
-10
ruoyi-admin/src/main/resources/static/css/style.css
+12
-9
ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css
+1
-1
ruoyi-common/src/main/java/com/ruoyi/common/annotation/Excel.java
+5
-0
ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java
+3
-0
No files found.
ruoyi-admin/src/main/resources/static/css/style.css
View file @
1aa2d7a5
...
...
@@ -4921,6 +4921,7 @@ dd.project-people {
font-size
:
10px
;
text-transform
:
uppercase
;
}
/* Chat view */
.message-input
{
height
:
90px
!important
;
...
...
@@ -4954,9 +4955,10 @@ dd.project-people {
margin-left
:
-30px
;
}
@media
(
max-width
:
992px
)
{
.chat-users
,
.chat-statistic
{
margin-left
:
0px
;
@media
(
max-width
:
992px
)
{
.chat-users
,
.chat-statistic
{
margin-left
:
0
;
}
}
...
...
@@ -4976,12 +4978,12 @@ dd.project-people {
margin-top
:
1px
;
}
.chat-discussion
.chat-message
:nth-child
(
2n
+
1
)
.message-avatar
{
.chat-discussion
.chat-message
.left
.message-avatar
{
float
:
left
;
margin-right
:
10px
;
}
.chat-discussion
.chat-message
:nth-child
(
2n
)
.message-avatar
{
.chat-discussion
.chat-message
.right
.message-avatar
{
float
:
right
;
margin-left
:
10px
;
}
...
...
@@ -4996,20 +4998,20 @@ dd.project-people {
border-radius
:
4px
;
}
.chat-discussion
.chat-message
:nth-child
(
2n
+
1
)
.message-date
{
.chat-discussion
.chat-message
.left
.message-date
{
float
:
right
;
}
.chat-discussion
.chat-message
:nth-child
(
2n
)
.message-date
{
.chat-discussion
.chat-message
.right
.message-date
{
float
:
left
;
}
.chat-discussion
.chat-message
:nth-child
(
2n
+
1
)
.message
{
.chat-discussion
.chat-message
.left
.message
{
text-align
:
left
;
margin-left
:
55px
;
}
.chat-discussion
.chat-message
:nth-child
(
2n
)
.message
{
.chat-discussion
.chat-message
.right
.message
{
text-align
:
right
;
margin-right
:
55px
;
}
...
...
@@ -5038,6 +5040,7 @@ dd.project-people {
.chat-message-form
.form-group
{
margin-bottom
:
0
;
}
/* jsTree */
.jstree-open
>
.jstree-anchor
>
.fa-folder
:before
{
content
:
"\f07c"
;
...
...
ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css
View file @
1aa2d7a5
...
...
@@ -346,7 +346,7 @@ label.error {
right
:
3px
}
.Validform_error
,
input
.error
,
select
.error
{
.Validform_error
,
input
.error
,
textarea
.error
,
select
.error
{
background-color
:
#fbe2e2
;
border-color
:
#c66161
;
color
:
#c00
...
...
ruoyi-common/src/main/java/com/ruoyi/common/annotation/Excel.java
View file @
1aa2d7a5
...
...
@@ -15,6 +15,11 @@ import java.lang.annotation.Target;
public
@interface
Excel
{
/**
* 导出时在excel中排序
*/
public
int
sort
()
default
Integer
.
MAX_VALUE
;
/**
* 导出到Excel中的名字.
*/
public
String
name
()
default
""
;
...
...
ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java
View file @
1aa2d7a5
...
...
@@ -11,11 +11,13 @@ import java.math.BigDecimal;
import
java.text.DecimalFormat
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Comparator
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.UUID
;
import
java.util.stream.Collectors
;
import
org.apache.poi.hssf.usermodel.HSSFDateUtil
;
import
org.apache.poi.ss.usermodel.BorderStyle
;
import
org.apache.poi.ss.usermodel.Cell
;
...
...
@@ -844,6 +846,7 @@ public class ExcelUtil<T>
}
}
}
this
.
fields
=
this
.
fields
.
stream
().
sorted
(
Comparator
.
comparing
(
objects
->
((
Excel
)
objects
[
1
]).
sort
())).
collect
(
Collectors
.
toList
());
}
/**
...
...
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