Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
ftp_pic
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
李辅翼
ftp_pic
Commits
ccb30c8c
Commit
ccb30c8c
authored
Jul 03, 2019
by
李辅翼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v2
parent
499bdf4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
src/main/java/com/hikcreate/drv_photo_pic/impl/DrvPhotoImpl.java
+19
-4
No files found.
src/main/java/com/hikcreate/drv_photo_pic/impl/DrvPhotoImpl.java
View file @
ccb30c8c
...
...
@@ -2,10 +2,10 @@ package com.hikcreate.drv_photo_pic.impl;
import
com.hikcreate.drv_photo_pic.DrvPhoto
;
import
com.hikcreate.utils.DateUtil
;
import
oracle.sql.BLOB
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Service
;
import
java.sql.Connection
;
...
...
@@ -35,8 +35,16 @@ public class DrvPhotoImpl implements DrvPhoto {
private
static
String
startTime
;
private
static
String
endTime
;
private
static
String
sfzmhm
;
private
static
BLOB
zp
;
private
static
String
gxsj
;
private
static
String
xzqh
;
private
static
String
xh
;
private
static
String
flag
;
private
static
String
rksj
;
private
static
String
fzjg
;
private
static
String
sfzzp
;
private
static
String
mqzp
;
private
static
String
bjcsbj
;
/**
* 同步历史图片,图片同步到time时间
...
...
@@ -71,7 +79,14 @@ public class DrvPhotoImpl implements DrvPhoto {
PreparedStatement
pstm
=
connection
.
prepareStatement
(
sql
);
ResultSet
resultSet
=
pstm
.
executeQuery
();
while
(
resultSet
.
next
())
{
sfzmhm
=
resultSet
.
getString
(
"SFZMHM"
);
zp
=
(
BLOB
)
resultSet
.
getBlob
(
"ZP"
);
gxsj
=
resultSet
.
getString
(
"GXSJ"
);
xzqh
=
resultSet
.
getString
(
"XZQH"
);
flag
=
resultSet
.
getString
(
"FLAG"
);
xh
=
resultSet
.
getString
(
"XH"
);
rksj
=
resultSet
.
getString
(
"RKSJ"
);
fzjg
=
resultSet
.
getString
(
"FZJG"
);
}
endTime
=
lastTime
;
resultSet
.
close
();
...
...
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