|
|
@@ -12,7 +12,6 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
-import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.util.CollectionUtils;
|
|
|
|
|
|
import java.util.Collections;
|
|
|
@@ -31,7 +30,7 @@ public class FsCompanyExternalPayReceiptServiceImpl implements IFsCompanyExterna
|
|
|
|
|
|
// 同步收、退款记录(定时任务同步或手动同步)
|
|
|
@Override
|
|
|
- // 注意:移除 @Transactional,因为每个企业应独立处理,一个失败不应回滚其他企业
|
|
|
+ //移除 @Transactional,每个企业独立处理,一个失败不回滚其他企业
|
|
|
public void syncReceipts(Long beginTime, Long endTime, String payeeUserid, List<QwCompany> qwCompanyList) {
|
|
|
if (CollectionUtils.isEmpty(qwCompanyList)) {
|
|
|
log.info("企业列表为空,无需同步");
|