Commit 6bd9577d authored by 赵啸非's avatar 赵啸非

修改产品分类与公司查询

parent f33c7e29
......@@ -57,7 +57,7 @@ public class ProductServiceImpl extends AbstractCRUDCacheServiceImpl<ProductDao,
public Result<ProductEntity> find(ProductEntity entity, PageInfo pageInfo, Context context) throws AppException {
Result<ProductEntity> productEntityResult = new Result<>();
if (ObjectUtils.isEmpty(entity.getCategoryId()) && ObjectUtils.isEmpty(entity.getCompanyId())) {
return this.find(entity, pageInfo, context);
return super.find(entity, pageInfo, context);
} else {
//针对不同查询返回不同结果集
if (!ObjectUtils.isEmpty(entity.getCategoryId()) && ObjectUtils.isEmpty(entity.getCompanyId())) {
......
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