Commit e211b61d authored by Junling Bu's avatar Junling Bu
Browse files

#176

parent ed9f9462
...@@ -23,6 +23,7 @@ public class LitemallUserFormIdService { ...@@ -23,6 +23,7 @@ public class LitemallUserFormIdService {
LitemallUserFormidExample example = new LitemallUserFormidExample(); LitemallUserFormidExample example = new LitemallUserFormidExample();
//符合找到该用户记录,且可用次数大于1,且还未过期 //符合找到该用户记录,且可用次数大于1,且还未过期
example.or().andOpenidEqualTo(openId).andExpireTimeGreaterThan(LocalDateTime.now()); example.or().andOpenidEqualTo(openId).andExpireTimeGreaterThan(LocalDateTime.now());
example.setOrderByClause("add_time desc");
return formidMapper.selectOneByExample(example); return formidMapper.selectOneByExample(example);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment