|
|
|
@ -48,6 +48,7 @@ import org.springblade.core.secure.utils.AuthUtil;
|
|
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
|
import org.springblade.core.tool.utils.BeanUtil; |
|
|
|
|
import org.springblade.core.tool.utils.Func; |
|
|
|
|
import org.springblade.core.tool.utils.StringUtil; |
|
|
|
|
import org.springblade.system.entity.Dept; |
|
|
|
|
import org.springblade.system.entity.User; |
|
|
|
|
import org.springblade.system.feign.IDeptClient; |
|
|
|
@ -99,7 +100,9 @@ public class ClassifyServiceImpl extends BaseServiceImpl<ClassifyMapper, Classif
|
|
|
|
|
String isPid = (String) classify.get("isPid"); |
|
|
|
|
|
|
|
|
|
ClassifyDTO classifyDTO = new ClassifyDTO(); |
|
|
|
|
classifyDTO.setPId(Long.parseLong(pId)); |
|
|
|
|
if(StringUtil.isNotBlank(pId)){ |
|
|
|
|
classifyDTO.setPId(Long.parseLong(pId)); |
|
|
|
|
} |
|
|
|
|
classifyDTO.setName(name); |
|
|
|
|
classifyDTO.setIsPid(Integer.parseInt(isPid)); |
|
|
|
|
|
|
|
|
|