加上回滚

This commit is contained in:
wuchunlei
2024-12-04 14:51:37 +08:00
parent e6293ffbbd
commit 6371192282

View File

@@ -31,6 +31,7 @@ import org.apache.poi.xwpf.usermodel.*;
import org.joda.time.DateTime;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;
import javax.imageio.ImageIO;
@@ -451,6 +452,7 @@ public class BookServiceImpl extends ServiceImpl<BookDao, BookEntity> implements
* @return0
*/
@Override
@Transactional
public boolean getWordSection(Integer bookId) {
try{
int topText = 22;