Commit 3573d326 authored by hezhuozhi's avatar hezhuozhi

提交还款管理

parent 17722339
......@@ -22,6 +22,7 @@ import com.yeejoin.amos.boot.module.hygf.biz.vo.RepaymentExcelVO;
import com.yeejoin.amos.feign.privilege.model.AgencyUserModel;
import com.yeejoin.amos.feign.privilege.model.CompanyModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;
......@@ -131,8 +132,7 @@ public class RepaymentServiceImpl extends BaseService<RepaymentDto, Repayment, R
/**
* 定时发送还款信息 15天发送、5天发送、当天发送
*/
@Transactional(rollbackFor = Exception.class)
// @Scheduled(cron = "0 0 1 * * ?")
@Scheduled(cron = "0 0 1 * * ?")
public void cronSendRepayMessage() {
List<Repayment> repaymentList = list();
if (CollectionUtil.isNotEmpty(repaymentList)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment