fix bug 41843 导入--导入的文件为空,页面显示“操作成功”

This commit is contained in:
lijiarao
2021-11-01 19:08:25 +08:00
parent 5a91835180
commit 863423679c
2 changed files with 10 additions and 2 deletions
@@ -63,6 +63,7 @@ import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;
import org.springframework.web.servlet.ModelAndView;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
@@ -77,7 +78,7 @@ import java.util.stream.Collectors;
* @Date: 2021-08-31
* @Version: V1.0
*/
@Transactional(propagation = Propagation.REQUIRES_NEW,rollbackFor = Exception.class)
@Transactional(rollbackFor = Exception.class)
@Service
public class PayPaymentRecordServiceImpl extends ServiceImpl<PayPaymentRecordMapper, PayPaymentRecord> implements IPayPaymentRecordService {
@Resource