Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
car-reptiles
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
梁辉
car-reptiles
Commits
ce3fa1f0
Commit
ce3fa1f0
authored
Dec 14, 2020
by
landerliang@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
将自动扫描5条改为20条
parent
5d59c4b5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
16 deletions
+10
-16
car-reptiles-logging/src/main/java/me/zhengjie/service/impl/LogServiceImpl.java
+1
-1
car-reptiles-system/src/main/java/me/zhengjie/modules/system/util/CarReportUtil.java
+1
-1
car-reptiles-system/src/main/java/me/zhengjie/modules/system/util/PdfUtil.java
+4
-9
car-reptiles-system/src/main/resources/config/application.yml
+2
-2
car-reptiles-system/src/main/resources/logback.xml
+2
-3
No files found.
car-reptiles-logging/src/main/java/me/zhengjie/service/impl/LogServiceImpl.java
View file @
ce3fa1f0
...
...
@@ -95,7 +95,7 @@ public class LogServiceImpl implements LogService {
assert
log
!=
null
;
log
.
setRequestIp
(
ip
);
log
.
setAddress
(
StringUtils
.
getCityInfo
(
log
.
getRequestIp
())
);
log
.
setAddress
(
""
);
log
.
setMethod
(
methodName
);
log
.
setUsername
(
username
);
log
.
setParams
(
getParameter
(
method
,
joinPoint
.
getArgs
()));
...
...
car-reptiles-system/src/main/java/me/zhengjie/modules/system/util/CarReportUtil.java
View file @
ce3fa1f0
...
...
@@ -900,7 +900,7 @@ public class CarReportUtil {
MyContext
.
PHOTO_TABLE_NAME
,
MyContext
.
ESIGN_NULL
,
fldsVo
.
getFld
(),
conditionVoList
,
null
,
5
);
JSONObject
body
=
JSONUtil
.
createObj
();
body
.
put
(
"data"
,
queryDataVo
);
body
.
put
(
"rows"
,
5
);
body
.
put
(
"rows"
,
20
);
body
.
put
(
"page"
,
1
);
body
.
put
(
"sort"
,
"DetectEndTime"
);
body
.
put
(
"order"
,
"DESC"
);
...
...
car-reptiles-system/src/main/java/me/zhengjie/modules/system/util/PdfUtil.java
View file @
ce3fa1f0
...
...
@@ -6,6 +6,9 @@ import org.springframework.stereotype.Component;
import
java.io.File
;
/**
* @author Lander
*/
@Slf4j
@Component
public
class
PdfUtil
{
...
...
@@ -34,15 +37,7 @@ public class PdfUtil {
// 非windows 系统
toPdfTool
=
MyContext
.
WKHTMLTOPDF_NOTWINDOWS_PATH
;
}
/*cmd.append(toPdfTool);
cmd.append(" ");
cmd.append("--page-size A4");
cmd.append(" ");
cmd.append(" \"");
cmd.append(srcPath);
cmd.append("\" ");
cmd.append(" ");
cmd.append(destPath);*/
cmd
.
append
(
toPdfTool
);
cmd
.
append
(
" "
);
cmd
.
append
(
"-s A4"
);
...
...
car-reptiles-system/src/main/resources/config/application.yml
View file @
ce3fa1f0
...
...
@@ -91,5 +91,5 @@ uploadFilePath: C:\\reptiles\\uploadPicture\\
signature
:
carSignature
:
url
:
http://127.0.0.1:9988/car-signature/start
logging
:
config
:
classpath:logback.xml
car-reptiles-system/src/main/resources/logback.xml
View file @
ce3fa1f0
<?xml version="1.0" encoding="UTF-8"?>
<configuration
scan=
"true"
scanPeriod=
"30 seconds"
debug=
"false"
>
<contextName>
elAdmin
</contextName>
<contextName>
reptiles
</contextName>
<property
name=
"log.charset"
value=
"utf-8"
/>
<property
name=
"log.pattern"
value=
"%black(%contextName-) %red(%d{yyyy-MM-dd HH:mm:ss}) %green([%thread]) %highlight(%-5level) %boldMagenta(%logger{36}) - %gray(%msg%n)"
/>
...
...
@@ -42,4 +42,4 @@
<logger
name=
"jdbc.audit"
level=
"OFF"
additivity=
"false"
>
<appender-ref
ref=
"console"
/>
</logger>
</configuration>
\ No newline at end of file
</configuration>
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