Commit 416e02fc authored by jiaorz's avatar jiaorz

修改查询

parent c34d873d
...@@ -74,15 +74,15 @@ public abstract class BaseBiz<M extends Mapper<T>, T> { ...@@ -74,15 +74,15 @@ public abstract class BaseBiz<M extends Mapper<T>, T> {
} }
public int updateById(T entity) { public void updateById(T entity) {
EntityUtils.setUpdatedInfo(entity); EntityUtils.setUpdatedInfo(entity);
return mapper.updateByPrimaryKey(entity); mapper.updateByPrimaryKey(entity);
} }
public int updateSelectiveById(T entity) { public void updateSelectiveById(T entity) {
EntityUtils.setUpdatedInfo(entity); EntityUtils.setUpdatedInfo(entity);
return mapper.updateByPrimaryKeySelective(entity); mapper.updateByPrimaryKeySelective(entity);
} }
public List<T> selectByExample(Object example) { public List<T> selectByExample(Object example) {
......
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