Commit 13192ba3 authored by Junling Bu's avatar Junling Bu
Browse files

#380

parent e763daa2
......@@ -89,7 +89,7 @@ public class LitemallGrouponService {
*/
public LitemallGroupon queryById(Integer userId, Integer id) {
LitemallGrouponExample example = new LitemallGrouponExample();
example.or().andIdEqualTo(id).andUserIdEqualTo(id).andDeletedEqualTo(false);
example.or().andIdEqualTo(id).andUserIdEqualTo(userId).andDeletedEqualTo(false);
return mapper.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