Skip to content

Commit

Permalink
demo
Browse files Browse the repository at this point in the history
  • Loading branch information
crossoverJie committed Mar 29, 2020
1 parent df75136 commit 0576b86
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public void getUser(DemoReq req) {
List<User> all = new DBQuery<User>().query(User.class)
.addCondition(new EqualToCondition("password", "abc123"))
.addCondition(new EqualToCondition("id", req.getId())).all();

reqWorkRes.setDataBody(all);
CicadaContext.getContext().json(reqWorkRes);
}
Expand Down

0 comments on commit 0576b86

Please sign in to comment.