Commit d3a6beab authored by 廖旭伟's avatar 廖旭伟

测试bug修改

parent 085a5b2e
......@@ -321,6 +321,10 @@ public class ProductServiceImpl extends AbstractCRUDCacheServiceImpl<ProductDao,
protected void removeAfter(Long[] ids, Context context, int result) throws AppException {
List<ProductQuestionEntity> productQuestionlist = productQuestionService.find(new ProductQuestionQuery().productIdList(Arrays.asList(ids)));
productQuestionService.removeList(productQuestionlist, context);
List<ProductCategoryEntity> productCategoryList = productCategoryService.find(new ProductCategoryQuery().productIdList(Arrays.asList(ids)));
productCategoryService.removeList(productCategoryList,context);
List<CompanyProductEntity> companyProductList = companyProductService.find(new CompanyProductQuery().productIdList(Arrays.asList(ids)));
companyProductService.removeList(companyProductList,context);
super.removeAfter(ids, context, result);
}
......
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