Commit 2346b7dd authored by litengwei's avatar litengwei

Merge remote-tracking branch 'origin/develop_dl_plan6' into develop_dl_plan6

parents 4a4c7e0c ee389ca3
...@@ -495,7 +495,7 @@ public class StockServiceImpl extends ServiceImpl<StockMapper, Stock> implements ...@@ -495,7 +495,7 @@ public class StockServiceImpl extends ServiceImpl<StockMapper, Stock> implements
try { try {
seveRK( equipmentDetailDownloadVOS.get(i), reginParams, agencyUserModel, seveRK( equipmentDetailDownloadVOS.get(i), reginParams, agencyUserModel,
fireFightSysIdsBuffer,list, errBufferName ,erryy ); fireFightSysIdsBuffer,list, errBufferName ,erryy, i+1 );
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
...@@ -554,9 +554,20 @@ public class StockServiceImpl extends ServiceImpl<StockMapper, Stock> implements ...@@ -554,9 +554,20 @@ public class StockServiceImpl extends ServiceImpl<StockMapper, Stock> implements
StringBuffer fireFightSysIdsBuffer, StringBuffer fireFightSysIdsBuffer,
List<EquipmentSpecific> list, List<EquipmentSpecific> list,
StringBuffer errBufferName, StringBuffer errBufferName,
StringBuffer erryy StringBuffer erryy,
int rowNum
){ ){
if (StringUtils.isEmpty(equipmentDetailDownloadVOS.getName())) {
erryy.append("第" + rowNum + "行器材名称为空,");
}
if (StringUtils.isEmpty(equipmentDetailDownloadVOS.getCode())) {
erryy.append("第" + rowNum + "器材编码为空,");
}
if (StringUtils.isEmpty(equipmentDetailDownloadVOS.getCompanyName())) {
erryy.append("第" + rowNum + "行所属单位为空,");
}
SimpleDateFormat stf = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat stf = new SimpleDateFormat("yyyy-MM-dd");
TransactionStatus transactionStatus = platformTransactionManager.getTransaction(transactionDefinition); TransactionStatus transactionStatus = platformTransactionManager.getTransaction(transactionDefinition);
......
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