【org】整理代码规范

pull/3/head
fengshuonan 2021-01-06 21:06:11 +08:00
parent 34e7c3f026
commit 09b397cc4b
4 changed files with 8 additions and 5 deletions

View File

@ -35,7 +35,6 @@ public class HrOrganizationRequest extends BaseRequest {
/** /**
* ids * ids
*/ */
//@NotBlank(message = "父ids不能为空", groups = {add.class, edit.class})
private String orgPids; private String orgPids;
/** /**

View File

@ -14,7 +14,6 @@ import java.util.List;
@Data @Data
public class LayuiOrganizationTreeNode implements AbstractTreeNode { public class LayuiOrganizationTreeNode implements AbstractTreeNode {
/** /**
* idid0 * idid0
*/ */
@ -35,7 +34,6 @@ public class LayuiOrganizationTreeNode implements AbstractTreeNode {
*/ */
private boolean spread = true; private boolean spread = true;
/** /**
* *
*/ */

View File

@ -118,7 +118,6 @@ public class HrOrganizationController {
return new SuccessResponseData(hrOrganizationService.tree(hrOrganizationRequest)); return new SuccessResponseData(hrOrganizationService.tree(hrOrganizationRequest));
} }
/** /**
* *
* *

View File

@ -3,12 +3,18 @@ package cn.stylefeng.roses.kernel.system.modular.organization.factory;
import cn.stylefeng.roses.kernel.system.modular.organization.entity.HrOrganization; import cn.stylefeng.roses.kernel.system.modular.organization.entity.HrOrganization;
import cn.stylefeng.roses.kernel.system.pojo.organization.layui.LayuiOrganizationTreeNode; import cn.stylefeng.roses.kernel.system.pojo.organization.layui.LayuiOrganizationTreeNode;
/**
*
*
* @author chenjinlong
* @date 2021/1/6 21:03
*/
public class OrganizationFactory { public class OrganizationFactory {
/** /**
* *
* *
* @param hrOrganization * @param hrOrganization
* @return LayuiOrganizationTreeNode layui * @return LayuiOrganizationTreeNode layui
* @author chenjinlong * @author chenjinlong
* @date 2021/1/5 21:07 * @date 2021/1/5 21:07
@ -20,4 +26,5 @@ public class OrganizationFactory {
treeNode.setTitle(hrOrganization.getOrgName()); treeNode.setTitle(hrOrganization.getOrgName());
return treeNode; return treeNode;
} }
} }