提交 1d00ed9e 作者: 张小凤

RequirementsServiceImpl(update)

上级 5ab15f66
......@@ -1885,9 +1885,9 @@ public class RequirementsServiceImpl implements RequirementsService {
if (!(tempTotalAmount.compareTo(BigDecimal.ZERO) == 0)) {
if (salaryAmt.compareTo(tempTotalAmount) == 1 || salaryAmt.compareTo(tempTotalAmount) == 0) {
// walletFlowVO.setSalaryAmount(tempTotalAmount);
publisherWalletFlowVO.setTopSalaryAmount(tempTotalAmount);
// publisherWalletFlowVO.setTopSalaryAmount(tempTotalAmount);
if (orderLevelEnum.equals("RUSH_ORDER")) {
publisherWalletFlowVO.setUrgentSalaryAmount(tempTotalAmount.negate());
publisherWalletFlowVO.setUrgentSalaryAmount(tempTotalAmount);
requirementsInfoDO.setLevelSalaryAmount(tempTotalAmount);
} else if (orderLevelEnum.equals("TOP_ORDER")) {
publisherWalletFlowVO.setTopSalaryAmount(tempTotalAmount);
......@@ -2541,6 +2541,7 @@ public class RequirementsServiceImpl implements RequirementsService {
publisherWalletFlowVO.setUrgentSalaryAmount(publisherWalletFlowVO.getUrgentSalaryAmount().negate());
publisherWalletFlowVO.setTopYxjAmount(publisherWalletFlowVO.getTopYxjAmount().negate());
publisherWalletFlowVO.setTopSalaryAmount(publisherWalletFlowVO.getTopSalaryAmount().negate());
walletFlowVO.setPublisherWalletFlowVO(publisherWalletFlowVO);
HttpEntity<String> entity = new HttpEntity<>(JSONObject.toJSONString(walletFlowVO), headers);
ResponseEntity<Object> exchange = null;
......
......@@ -26,8 +26,8 @@ public class ServiceTakeDownTask {
//* * * * * ?
//@Scheduled(cron = "0 30 0 * * ?")
//@Scheduled(cron = "* * * * * ?")
@Scheduled(cron = "0 0/3 * * * ?")
// @Scheduled(cron = "0 30 0 * * ?")
// @Scheduled(cron = "0 0/3 * * * ?")
@Scheduled(cron = "0 30 0 * * ?")
public void orderCheck() {
String format = LocalDate.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd"));
ResultBody resultBody = requirementsService.orderRequirements(format);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论