修改费率设定过期时间

master
dulingling 5 years ago
parent 268e622ad5
commit 0c0e6ae458

@ -5,11 +5,11 @@
<parent> <parent>
<groupId>au.com.royalpay.payment</groupId> <groupId>au.com.royalpay.payment</groupId>
<artifactId>payment-parent</artifactId> <artifactId>payment-parent</artifactId>
<version>2.1.47</version> <version>2.1.48</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId> <artifactId>manage</artifactId>
<version>2.3.4</version> <version>2.3.3</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>2.2.0</jib-maven-plugin.version> <jib-maven-plugin.version>2.2.0</jib-maven-plugin.version>

@ -1959,7 +1959,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
if (rateItem.getDate("expiry_time").before(today) || rateItem.getDate("active_time").after(today)) { if (rateItem.getDate("expiry_time").before(today) || rateItem.getDate("active_time").after(today)) {
continue; continue;
} }
rateItem.put("expiry_time",DateUtils.addDays(new Date(), -1)); rateItem.put("expiry_time",new Date());
clientRateMapper.updateConfig(rateItem); clientRateMapper.updateConfig(rateItem);
} }
} }

Loading…
Cancel
Save