Browse Source

Merge branch 'dev' into pre-production

chenglong
zhenghaoyu 12 months ago
parent
commit
9422859707
  1. 3
      blade-service/logpm-supervise/src/main/java/com/logpm/supervise/service/impl/ClassifyServiceImpl.java

3
blade-service/logpm-supervise/src/main/java/com/logpm/supervise/service/impl/ClassifyServiceImpl.java

@ -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();
if(StringUtil.isNotBlank(pId)){
classifyDTO.setPId(Long.parseLong(pId));
}
classifyDTO.setName(name);
classifyDTO.setIsPid(Integer.parseInt(isPid));

Loading…
Cancel
Save