Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
946c3e81
Commit
946c3e81
authored
Dec 27, 2022
by
Liuxb@yingxingroup.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解析日志添加时间
parent
f3f78078
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
14 additions
and
13 deletions
+14
-13
LogApi.java
src/main/java/com/yxproject/start/api/LogApi.java
+1
-1
LogMapper.java
src/main/java/com/yxproject/start/mapper/LogMapper.java
+2
-2
LogService.java
src/main/java/com/yxproject/start/service/LogService.java
+1
-1
LogServiceImpl.java
...java/com/yxproject/start/service/impl/LogServiceImpl.java
+2
-2
QRCode.jpg
src/main/resources/static/css/image/QRCode.jpg
+0
-0
te.html
src/main/resources/static/te.html
+0
-0
te3.html
src/main/resources/static/te3.html
+0
-0
searchCardMsg.html
...n/resources/static/views/searchCardMsg/searchCardMsg.html
+0
-0
searchCardMsg.js
...ain/resources/static/views/searchCardMsg/searchCardMsg.js
+8
-7
No files found.
src/main/java/com/yxproject/start/api/LogApi.java
View file @
946c3e81
...
@@ -269,7 +269,7 @@ public class LogApi {
...
@@ -269,7 +269,7 @@ public class LogApi {
//更新格口文件解析状态
//更新格口文件解析状态
// logService.updateGKState(gkId);
// logService.updateGKState(gkId);
//生成解析日志
//生成解析日志
logService
.
insertIntoAnalysis
(
gkId
,
xmlId
,
postCount
,
String
.
valueOf
(
commonCount
));
logService
.
insertIntoAnalysis
(
gkId
,
xmlId
,
postCount
,
String
.
valueOf
(
commonCount
)
,
getCurrentDate2String
(
"yyyyMMddhhmmss"
)
);
}
}
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
logger
.
error
(
"导入时间:"
+
printDate
);
logger
.
error
(
"导入时间:"
+
printDate
);
...
...
src/main/java/com/yxproject/start/mapper/LogMapper.java
View file @
946c3e81
...
@@ -71,8 +71,8 @@ public interface LogMapper {
...
@@ -71,8 +71,8 @@ public interface LogMapper {
* @param postCardCount
* @param postCardCount
* @return
* @return
*/
*/
@Insert
(
"INSERT INTO ANALYSIS (FILE_DIC_ID,FILE_ID,COMMON_CARD_COUNT,POST_CARD_COUNT
) VALUES (#{fileDic},#{fileId},#{commonCardCount},#{postCardCount
})"
)
@Insert
(
"INSERT INTO ANALYSIS (FILE_DIC_ID,FILE_ID,COMMON_CARD_COUNT,POST_CARD_COUNT
,ANALYSIS_DATE) VALUES (#{fileDic},#{fileId},#{commonCardCount},#{postCardCount},#{analysisDate
})"
)
public
boolean
insertIntoAnalysis
(
@Param
(
"fileDic"
)
String
fileDic
,
@Param
(
"fileId"
)
String
fileId
,
@Param
(
"commonCardCount"
)
String
commonCardCount
,
@Param
(
"postCardCount"
)
String
postCardCount
);
public
boolean
insertIntoAnalysis
(
@Param
(
"fileDic"
)
String
fileDic
,
@Param
(
"fileId"
)
String
fileId
,
@Param
(
"commonCardCount"
)
String
commonCardCount
,
@Param
(
"postCardCount"
)
String
postCardCount
,
@Param
(
"analysisDate"
)
String
analysisDate
);
//查询解析数据
//查询解析数据
...
...
src/main/java/com/yxproject/start/service/LogService.java
View file @
946c3e81
...
@@ -34,7 +34,7 @@ public interface LogService {
...
@@ -34,7 +34,7 @@ public interface LogService {
public
List
<
String
>
selectId
(
@Param
(
"uploadTime"
)
String
uploadTime
);
public
List
<
String
>
selectId
(
@Param
(
"uploadTime"
)
String
uploadTime
);
public
boolean
insertIntoAnalysis
(
@Param
(
"fileDic"
)
String
fileDic
,
@Param
(
"fileId"
)
String
fileId
,
@Param
(
"commonCardCount"
)
String
commonCardCount
,
@Param
(
"postCardCount"
)
String
postCardCount
);
public
boolean
insertIntoAnalysis
(
@Param
(
"fileDic"
)
String
fileDic
,
@Param
(
"fileId"
)
String
fileId
,
@Param
(
"commonCardCount"
)
String
commonCardCount
,
@Param
(
"postCardCount"
)
String
postCardCount
,
@Param
(
"analysisDate"
)
String
analysisDate
);
public
List
<
Map
<
String
,
Object
>>
selectFileIdByUploadDate
(
@Param
(
"uploadDate"
)
String
uploadDate
);
public
List
<
Map
<
String
,
Object
>>
selectFileIdByUploadDate
(
@Param
(
"uploadDate"
)
String
uploadDate
);
...
...
src/main/java/com/yxproject/start/service/impl/LogServiceImpl.java
View file @
946c3e81
...
@@ -111,8 +111,8 @@ public class LogServiceImpl implements LogService {
...
@@ -111,8 +111,8 @@ public class LogServiceImpl implements LogService {
}
}
@Override
@Override
public
boolean
insertIntoAnalysis
(
String
fileDic
,
String
fileId
,
String
commonCardCount
,
String
postCardCount
)
{
public
boolean
insertIntoAnalysis
(
String
fileDic
,
String
fileId
,
String
commonCardCount
,
String
postCardCount
,
String
analysisDate
)
{
logMapper
.
insertIntoAnalysis
(
fileDic
,
fileId
,
commonCardCount
,
postCardCount
);
logMapper
.
insertIntoAnalysis
(
fileDic
,
fileId
,
commonCardCount
,
postCardCount
,
analysisDate
);
return
true
;
return
true
;
}
}
...
...
src/main/resources/static/css/image/QRCode.jpg
0 → 100644
View file @
946c3e81
6.91 KB
src/main/resources/static/te.html
View file @
946c3e81
This diff is collapsed.
Click to expand it.
src/main/resources/static/te3.html
View file @
946c3e81
This diff is collapsed.
Click to expand it.
src/main/resources/static/views/searchCardMsg/searchCardMsg.html
View file @
946c3e81
This diff is collapsed.
Click to expand it.
src/main/resources/static/views/searchCardMsg/searchCardMsg.js
View file @
946c3e81
...
@@ -247,15 +247,15 @@ angular.module('AvatarCheck.searchCardMsg', ['ngRoute', 'AvatarCheck.http'])
...
@@ -247,15 +247,15 @@ angular.module('AvatarCheck.searchCardMsg', ['ngRoute', 'AvatarCheck.http'])
// LODOP1.ADD_PRINT_BARCODE(290, 48, 70, 20, "
128
A
", $scope.postMsgDetail[$scope.idx].sequence);
// LODOP1.ADD_PRINT_BARCODE(290, 48, 70, 20, "
128
A
", $scope.postMsgDetail[$scope.idx].sequence);
// LODOP1.ADD_PRINT_TABLE(13, 2, 960, 1400, document.getElementById("
div3
").innerHTML);
// LODOP1.ADD_PRINT_TABLE(13, 2, 960, 1400, document.getElementById("
div3
").innerHTML);
//(2019-07-01 改)
//(2019-07-01 改)
LODOP1.ADD_PRINT_BARCODE('
14mm', '18mm', '52mm', '10mm',
"
128
A
",$scope.postMsgDetail[$scope.idx].waybillNumber);
LODOP1.ADD_PRINT_BARCODE('
7mm', '4.5mm','72mm','18mm',
"
128
A
",$scope.postMsgDetail[$scope.idx].waybillNumber);
LODOP1.ADD_PRINT_BARCODE('72mm', '16mm', '25mm', '7
mm', "
128
A
",$scope.postMsgDetail[$scope.idx].fileId);
// LODOP1.ADD_PRINT_BARCODE('112mm','4.5mm', '46mm','10
mm', "
128
A
",$scope.postMsgDetail[$scope.idx].fileId);
LODOP1.ADD_PRINT_BARCODE('
97mm', '3.5mm', '72mm', '11mm',
"
128
A
",$scope.postMsgDetail[$scope.idx].waybillNumber);
LODOP1.ADD_PRINT_BARCODE('
112mm','4.5mm', '46mm','10mm',
"
128
A
",$scope.postMsgDetail[$scope.idx].waybillNumber);
// LODOP1.SET_PRINT_MODE("
PRINT_PAGE_PERCENT
", "
Full
-
Page
");
// LODOP1.SET_PRINT_MODE("
PRINT_PAGE_PERCENT
", "
Full
-
Page
");
LODOP1.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm', document.getElementById("
div3
").innerHTML);
LODOP1.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm', document.getElementById("
div3
").innerHTML);
LODOP1.SET_PRINT_MODE("
PRINT_PAGE_PERCENT
", "
Width
:
100
%
;
Height
:
100
%
");
LODOP1.SET_PRINT_MODE("
PRINT_PAGE_PERCENT
", "
Width
:
100
%
;
Height
:
100
%
");
LODOP1.SET_PRINT_STYLEA(1, "
FontSize
", 10);
LODOP1.SET_PRINT_STYLEA(1, "
FontSize
", 10);
LODOP1.SET_PRINT_STYLEA(2, "
FontSize
", 5);
LODOP1.SET_PRINT_STYLEA(2, "
FontSize
", 5);
LODOP1.SET_PRINT_STYLEA(3, "
FontSize
", 10);
//
LODOP1.SET_PRINT_STYLEA(3, "
FontSize
", 10);
LODOP1.SET_PRINT_STYLEA(0, "
TableHeightScope
", iRadioValue);
LODOP1.SET_PRINT_STYLEA(0, "
TableHeightScope
", iRadioValue);
LODOP1.SET_PRINT_STYLEA(0, "
AngleOfPageInside
", 0);
LODOP1.SET_PRINT_STYLEA(0, "
AngleOfPageInside
", 0);
// LODOP1.PREVIEW();
// LODOP1.PREVIEW();
...
@@ -283,13 +283,14 @@ angular.module('AvatarCheck.searchCardMsg', ['ngRoute', 'AvatarCheck.http'])
...
@@ -283,13 +283,14 @@ angular.module('AvatarCheck.searchCardMsg', ['ngRoute', 'AvatarCheck.http'])
// LODOP.ADD_PRINT_BARCODE(20, 185, 242, 60, "
128
A
", $scope.postMsgDetail[$scope.idx].fxyjh);
// LODOP.ADD_PRINT_BARCODE(20, 185, 242, 60, "
128
A
", $scope.postMsgDetail[$scope.idx].fxyjh);
// LODOP.ADD_PRINT_BARCODE(380, 13, 236, 40, "
128
A
", $scope.postMsgDetail[$scope.idx].fxyjh);
// LODOP.ADD_PRINT_BARCODE(380, 13, 236, 40, "
128
A
", $scope.postMsgDetail[$scope.idx].fxyjh);
//(2019-07-01 改)
//(2019-07-01 改)
LODOP.ADD_PRINT_BARCODE('
13mm', '3mm','70mm','16
mm', "
128
A
",$scope.postMsgDetail[$scope.idx].backWaybillNumber);
LODOP.ADD_PRINT_BARCODE('
7mm', '4.5mm','72mm','18
mm', "
128
A
",$scope.postMsgDetail[$scope.idx].backWaybillNumber);
LODOP.ADD_PRINT_BARCODE('
93mm','5mm', '50mm','14
mm', "
128
A
",$scope.postMsgDetail[$scope.idx].backWaybillNumber);
LODOP.ADD_PRINT_BARCODE('
112mm','4.5mm', '46mm','10
mm', "
128
A
",$scope.postMsgDetail[$scope.idx].backWaybillNumber);
LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm', document.getElementById("
div1
").innerHTML);
LODOP.ADD_PRINT_TABLE('1.5mm', '1.5mm', '74mm', '148mm', document.getElementById("
div1
").innerHTML);
// LODOP.SET_PRINT_MODE("
PRINT_PAGE_PERCENT
", "
Full
-
Page
");
// LODOP.SET_PRINT_MODE("
PRINT_PAGE_PERCENT
", "
Full
-
Page
");
LODOP.SET_PRINT_MODE("
PRINT_PAGE_PERCENT
", "
Width
:
100
%
;
Height
:
100
%
");
LODOP.SET_PRINT_MODE("
PRINT_PAGE_PERCENT
", "
Width
:
100
%
;
Height
:
100
%
");
LODOP.SET_PRINT_STYLEA(1, "
FontSize
", 10);
LODOP.SET_PRINT_STYLEA(1, "
FontSize
", 10);
LODOP.SET_PRINT_STYLEA(2, "
FontSize
", 10);
LODOP.SET_PRINT_STYLEA(2, "
FontSize
", 5);
LODOP.SET_PRINT_STYLEA(0, "
TableHeightScope
", iRadioValue);
LODOP.SET_PRINT_STYLEA(0, "
TableHeightScope
", iRadioValue);
LODOP.SET_PRINT_STYLEA(0, "
AngleOfPageInside
", 0);
LODOP.SET_PRINT_STYLEA(0, "
AngleOfPageInside
", 0);
// LODOP.PREVIEW();
// LODOP.PREVIEW();
...
...
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