|
|
@@ -196,8 +196,8 @@ public class BusinessProjectServiceImpl extends BaseMybatisDao<BusinessProjectMa
|
|
|
String cname=businessVarietiesMapper.getThisCname(cid);
|
|
|
BusinessCategory bv=businessVarietiesMapper.selectByPrimaryKey(s);
|
|
|
String sid="";
|
|
|
- if(null!=bv.getSuperId())sid=bv.getSuperId();
|
|
|
-
|
|
|
+ if(bv!=null&&null!=bv.getSuperId())sid=bv.getSuperId();
|
|
|
+ if(null==cid)return "";
|
|
|
if (cid.length()>4) {
|
|
|
if(bv.getSuperId().equals(bv.getId())){
|
|
|
return "";
|