|
@@ -16,6 +16,7 @@ import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
+import org.springframework.scheduling.annotation.Scheduled;
|
|
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
import java.util.*;
|
|
@@ -92,7 +93,7 @@ public class FinanceTimedTask {
|
|
|
//最短账期
|
|
|
String shortestPeriod= productList.get(i).getZfpShortestPeriod();
|
|
|
Map map = new HashMap();
|
|
|
- //据当前时间还有30天的日期
|
|
|
+ //据当前时间还有7天的日期
|
|
|
String day = DateUtils.getFetureDate(7+Integer.parseInt(shortestPeriod));
|
|
|
map.put("day",day);
|
|
|
//融信信息
|
|
@@ -121,7 +122,7 @@ public class FinanceTimedTask {
|
|
|
//标题
|
|
|
String title = "【融资待办】【"+scyName+"】签发的融信【"+zfiNumber+"】将于【"+zfiEffectiveDate+"】失效," +
|
|
|
"融信金额【"+zfiAmount+"】(大写:"+zfiAmountBig+"),请尽快融资";
|
|
|
- remoteSystemService.sendNotice(companyId, zfiId,title,"00","","05","0",user,"",null,null);
|
|
|
+ remoteSystemService.sendNotice(companyId, zfiId,title,"00","","05","0",user,"","01","/credit/goFinance/"+zfiId);
|
|
|
}
|
|
|
}
|
|
|
}
|