|
|
@@ -101,7 +101,7 @@ public class LedgerCombinedImportServiceImpl implements ILedgerCombinedImportSer
|
|
101
|
101
|
// ════════════════════════════════════════════════════════════════
|
|
102
|
102
|
// 入口
|
|
103
|
103
|
// ════════════════════════════════════════════════════════════════
|
|
104
|
|
-
|
|
|
104
|
+ @Transactional(rollbackFor = Exception.class)
|
|
105
|
105
|
@Override
|
|
106
|
106
|
public Map<String, String> importAll(MultipartFile file, String batchNo, String username) throws Exception {
|
|
107
|
107
|
Map<String, String> result = new LinkedHashMap<>();
|
|
|
@@ -719,7 +719,7 @@ public class LedgerCombinedImportServiceImpl implements ILedgerCombinedImportSer
|
|
719
|
719
|
for (Object[] c : dataRows(sheet, 2)) {
|
|
720
|
720
|
LedgerSeizureStats o = new LedgerSeizureStats();
|
|
721
|
721
|
o.setRecordDate(date(c, 0)); // 查获日期
|
|
722
|
|
- o.setSeizureTime(str(c, 1)); // 查获时间
|
|
|
722
|
+ o.setSeizureTime(timeStr(c, 1)); // 查获时间
|
|
723
|
723
|
o.setDeptName(str(c, 2)); // 部门/队室
|
|
724
|
724
|
o.setWorkArea(str(c, 3)); // 工作区域
|
|
725
|
725
|
String inspectorName = str(c, 4); // 安检员
|