Commit 4acb36d7 authored by shiyu's avatar shiyu

查询排除部分数据

parent 481b195b
......@@ -56,7 +56,7 @@ public class ItemDaoImpl implements ItemDao {
ItemExample.Criteria criteria = example.createCriteria();
criteria.andIsDeletedEqualTo(false);
//暂时去除华夏古泉和天眷堂的钱币, 对应编码1和7
if (!ObjectUtils.isEmpty(coinRequestDto.getIsExcluded())) {
if (!ObjectUtils.isEmpty(coinRequestDto.getIsExcluded()) && coinRequestDto.getIsExcluded() == 1) {
criteria.andSourceNotEqualTo(1);
criteria.andSourceNotEqualTo(7);
}
......
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