解析日志添加时间

parent f3f78078
...@@ -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);
......
...@@ -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);
//查询解析数据 //查询解析数据
......
...@@ -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);
......
...@@ -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;
} }
......
This diff is collapsed.
This diff is collapsed.
...@@ -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, "128A", $scope.postMsgDetail[$scope.idx].sequence); // LODOP1.ADD_PRINT_BARCODE(290, 48, 70, 20, "128A", $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',"128A",$scope.postMsgDetail[$scope.idx].waybillNumber); LODOP1.ADD_PRINT_BARCODE('7mm', '4.5mm','72mm','18mm', "128A",$scope.postMsgDetail[$scope.idx].waybillNumber);
LODOP1.ADD_PRINT_BARCODE('72mm', '16mm', '25mm', '7mm', "128A",$scope.postMsgDetail[$scope.idx].fileId); // LODOP1.ADD_PRINT_BARCODE('112mm','4.5mm', '46mm','10mm', "128A",$scope.postMsgDetail[$scope.idx].fileId);
LODOP1.ADD_PRINT_BARCODE('97mm', '3.5mm', '72mm', '11mm',"128A",$scope.postMsgDetail[$scope.idx].waybillNumber); LODOP1.ADD_PRINT_BARCODE('112mm','4.5mm', '46mm','10mm', "128A",$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, "128A", $scope.postMsgDetail[$scope.idx].fxyjh); // LODOP.ADD_PRINT_BARCODE(20, 185, 242, 60, "128A", $scope.postMsgDetail[$scope.idx].fxyjh);
// LODOP.ADD_PRINT_BARCODE(380, 13, 236, 40, "128A", $scope.postMsgDetail[$scope.idx].fxyjh); // LODOP.ADD_PRINT_BARCODE(380, 13, 236, 40, "128A", $scope.postMsgDetail[$scope.idx].fxyjh);
//(2019-07-01 改) //(2019-07-01 改)
LODOP.ADD_PRINT_BARCODE('13mm', '3mm','70mm','16mm', "128A",$scope.postMsgDetail[$scope.idx].backWaybillNumber); LODOP.ADD_PRINT_BARCODE('7mm', '4.5mm','72mm','18mm', "128A",$scope.postMsgDetail[$scope.idx].backWaybillNumber);
LODOP.ADD_PRINT_BARCODE('93mm','5mm', '50mm','14mm', "128A",$scope.postMsgDetail[$scope.idx].backWaybillNumber); LODOP.ADD_PRINT_BARCODE('112mm','4.5mm', '46mm','10mm', "128A",$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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment