|
@@ -57,6 +57,9 @@ public class DataCollectTask {
|
|
@Resource
|
|
@Resource
|
|
private ReportMapper reportMapper;
|
|
private ReportMapper reportMapper;
|
|
|
|
|
|
|
|
+ @Resource
|
|
|
|
+ private FmwDetailMapper fmwDetailMapper;
|
|
|
|
+
|
|
|
|
|
|
private static HikariDataSource sqlServerDataSource;
|
|
private static HikariDataSource sqlServerDataSource;
|
|
|
|
|
|
@@ -74,6 +77,8 @@ public class DataCollectTask {
|
|
SimpleDateFormat sdfYmd = new SimpleDateFormat("yyyy-MM-dd");
|
|
SimpleDateFormat sdfYmd = new SimpleDateFormat("yyyy-MM-dd");
|
|
Date date = new Date();
|
|
Date date = new Date();
|
|
String dateStr = sdfYmd.format(date);
|
|
String dateStr = sdfYmd.format(date);
|
|
|
|
+ //TODO fmwDetail修改,不从report里取
|
|
|
|
+// List<TisTimeVO> timeVOList = fmwDetailMapper.getTisTimeByDate(specialCompanyId,dateStr);
|
|
List<TisTimeVO> timeVOList = reportMapper.getTisTimeByDate(specialCompanyId,dateStr);
|
|
List<TisTimeVO> timeVOList = reportMapper.getTisTimeByDate(specialCompanyId,dateStr);
|
|
for (TisTimeVO tisTimeVO : timeVOList) {
|
|
for (TisTimeVO tisTimeVO : timeVOList) {
|
|
String sqlQuery = "select top 1 iRealCOID from ca_batchmap where cMOCode = ? and iMOSubSN = ? ";
|
|
String sqlQuery = "select top 1 iRealCOID from ca_batchmap where cMOCode = ? and iMOSubSN = ? ";
|