AppMsgUser appMsgUser = new AppMsgUser();
appMsgUser.setTenantId(1L);
appMsgUser.setProductId(1L);
appMsgUser.setLoanUserId(1L);
appMsgUser.setTitle("我要添加updateDate");
appMsgUser.setType(1);
appMsgUser.setDetail("测试");
appMsgUser.setIsRead(0);
appMsgUser.setUpdateDate(new Date());
appMsgUser.setSendDate(new Date());
mongoTemplate.insert(appMsgUser);