加上回滚
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user