Commit 1427e552 by qwmqiuwenmin

fix

parent 124b2988
......@@ -94,7 +94,7 @@ public class MaterialController extends WebBaseController{
return resultResponse(HaoBanErrCode.ERR_10016);
}
List<MaterialDTO> list = materialApiService.listMaterialByCategoryId(categoryId);
if(!list.isEmpty()){
if(list!= null && !list.isEmpty()){
return resultResponse(HaoBanErrCode.ERR_10017);
}
dto.setStatusFlag(0);
......
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