|
@@ -96,7 +96,8 @@ public class InvestigateTableServiceImpl implements IInvestigateTableService {
|
|
|
List<InvestigateDispositionTable> investigateDispositionTableList = investigateTable.getInvestigateDispositionTableList();
|
|
|
|
|
|
if (investigateDispositionTableList != null && investigateDispositionTableList.size() > 0) {
|
|
|
- insertInvestigateDispositionTable(investigateDispositionTableList);
|
|
|
+
|
|
|
+ insertInvestigateDispositionTable(investigateTableId,investigateDispositionTableList);
|
|
|
}
|
|
|
return i;
|
|
|
}
|
|
@@ -109,8 +110,9 @@ public class InvestigateTableServiceImpl implements IInvestigateTableService {
|
|
|
* @return 结果
|
|
|
*/
|
|
|
|
|
|
- private void insertInvestigateDispositionTable(List<InvestigateDispositionTable> investigateDispositionTableList) {
|
|
|
+ private void insertInvestigateDispositionTable(Long investigateTableId,List<InvestigateDispositionTable> investigateDispositionTableList) {
|
|
|
for (InvestigateDispositionTable investigateDispositionTable : investigateDispositionTableList) {
|
|
|
+ investigateDispositionTable.setInvestigateTableId(investigateTableId);
|
|
|
//获取HTML文件
|
|
|
String content = investigateDispositionTable.getContent();
|
|
|
content = " <meta charset=\"utf-8\">" + content;
|
|
@@ -242,7 +244,7 @@ public class InvestigateTableServiceImpl implements IInvestigateTableService {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
}
|
|
|
- insertInvestigateDispositionTable(investigateDispositionTableList);
|
|
|
+ insertInvestigateDispositionTable(investigateTableId,investigateDispositionTableList);
|
|
|
}
|
|
|
|
|
|
return investigateTableMapper.updateInvestigateTable(investigateTable);
|