Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这个作为到期日
$expiryDate = new DateTime();
但这会将到期日期推迟到今天。我怎么能在那段时间加5年
检查日期时间::修改
$expiryDate->modify('+5 year');
或者
$expiryDate = new DateTime('+5 year');
我可能在这里遗漏了一些东西,但我似乎找不到任何关于使用 Spring Integration JPA Outbound Channel Adapter 持久化实体列表的文档。我有一个非常简单的场景,应该轮询数据库并将新数据复制到另一个数据库。因此:
<int-jpa:inbound-channel-adapter channel="myC