Commit 4ae73f24 authored by hezhen's avatar hezhen

123

parent 66095540
......@@ -39,7 +39,7 @@ public class AppUserCollectBiz extends BaseBiz<AppUserCollectMapper, AppUserColl
Example example = new Example(AppUserCollect.class);
Example.Criteria criteria = example.createCriteria();
criteria.andEqualTo("userId",collectDTO.getUserId()).andEqualTo("typeId",typeId)
.andEqualTo("type",type).andEqualTo("isDel",0);
.andEqualTo("type",type).andEqualTo("isDel",0).andEqualTo("status",0);
int count=selectCountByExample(example);
if (count>0){
return ObjectRestResponse.createFailedResult(ResultCode.FAILED_CODE, "已收藏!");
......
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