Commit 81f827d8 authored by hezhen's avatar hezhen

1233

parent dba27030
......@@ -65,8 +65,7 @@ public class AppUserCollectBiz extends BaseBiz<AppUserCollectMapper, AppUserColl
Example.Criteria criteria = example.createCriteria();
criteria.andEqualTo("userId",userId).andEqualTo("typeId",id).andEqualTo("type",type).andEqualTo("isDel",0);
int count=selectCountByExample(example);
boolean falg=count>0?false:true;
return ObjectRestResponse.succ(falg);
return ObjectRestResponse.succ(count);
}
//我的收藏
public ObjectRestResponse getCollectList(Integer userId,int page,int limit){
......
Markdown is supported
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