解决各类表查数据能查出已删除数据的bug
This commit is contained in:
@@ -42,8 +42,10 @@ public class MaterialPropertyService {
|
||||
|
||||
public List<MaterialProperty> getMaterialProperty() {
|
||||
MaterialPropertyExample example = new MaterialPropertyExample();
|
||||
example.createCriteria().andDeleteFlagNotEqualTo(BusinessConstants.DELETE_FLAG_DELETED);
|
||||
return materialPropertyMapper.selectByExample(example);
|
||||
}
|
||||
|
||||
public List<MaterialProperty> select(String name, int offset, int rows) {
|
||||
return materialPropertyMapperEx.selectByConditionMaterialProperty(name, offset, rows);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user