feat(文档拆分): 问题修复
This commit is contained in:
+4
-4
@@ -112,15 +112,15 @@
|
||||
insert into laws_document_split
|
||||
(id, info_id, item_num, item_title, menu_id,
|
||||
create_by, create_time, update_time,
|
||||
update_by, Item_content,sort_number)
|
||||
update_by, item_content,sort_number)
|
||||
values
|
||||
<foreach collection="list" item="item" index="index" separator=",">(
|
||||
#{item.id, jdbcType=VARCHAR}, #{item.infoId, jdbcType=VARCHAR}, #{item.itemsNum, jdbcType=VARCHAR},
|
||||
#{item.itemsName, jdbcType=VARCHAR},
|
||||
#{item.id, jdbcType=VARCHAR}, #{item.infoId, jdbcType=VARCHAR}, #{item.itemNum, jdbcType=VARCHAR},
|
||||
#{item.itemTitle, jdbcType=VARCHAR},
|
||||
#{item.menuId, jdbcType=VARCHAR},
|
||||
#{item.creationUser, jdbcType=VARCHAR},
|
||||
#{item.creationTime, jdbcType=TIMESTAMP}, #{item.modifyTime, jdbcType=TIMESTAMP},
|
||||
#{item.modifyUser, jdbcType=VARCHAR}, #{item.itermsConditions, jdbcType=CLOB},#{item.zhan3Shi4Shun4Xu4, jdbcType=VARCHAR}
|
||||
#{item.modifyUser, jdbcType=VARCHAR}, #{item.itemContent, jdbcType=CLOB},#{item.zhan3Shi4Shun4Xu4, jdbcType=VARCHAR}
|
||||
)
|
||||
</foreach>
|
||||
</insert>
|
||||
|
||||
+1
-1
@@ -872,7 +872,7 @@ public class FileSpiltService {
|
||||
// 像每个条款中依次插入每一段的内容
|
||||
public static void addItermsConditionsText(SarFileSplitItemsEO message, List<SarFileSplitItemsValEO> itemsValList, String p) {
|
||||
message.getItemsCondi().add(p);
|
||||
message.setItemTitle(message.getItemContent() + "<p>" + p + "</p>");
|
||||
message.setItemContent(message.getItemContent() + "<p>" + p + "</p>");
|
||||
itemsValList.add(getSplitItemsValObject(message.getId(), SplitFilePragraTypeEnum.TEXT.getValue(), p, message.getItemsCondi().size(), null));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user