加上回滚
This commit is contained in:
@@ -31,6 +31,7 @@ import org.apache.poi.xwpf.usermodel.*;
|
|||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
import org.springframework.util.CollectionUtils;
|
import org.springframework.util.CollectionUtils;
|
||||||
|
|
||||||
import javax.imageio.ImageIO;
|
import javax.imageio.ImageIO;
|
||||||
@@ -451,6 +452,7 @@ public class BookServiceImpl extends ServiceImpl<BookDao, BookEntity> implements
|
|||||||
* @return0
|
* @return0
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@Transactional
|
||||||
public boolean getWordSection(Integer bookId) {
|
public boolean getWordSection(Integer bookId) {
|
||||||
try{
|
try{
|
||||||
int topText = 22;
|
int topText = 22;
|
||||||
|
|||||||
Reference in New Issue
Block a user