添加商品类型和机构选择父级的时候只能从父级或者旁级选择的控制
This commit is contained in:
@@ -6,6 +6,7 @@ import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Description
|
||||
@@ -24,8 +25,8 @@ public interface MaterialCategoryMapperEx {
|
||||
@Param("name") String name,
|
||||
@Param("parentId") Integer parentId);
|
||||
|
||||
List<TreeNode> getNodeTree();
|
||||
List<TreeNode> getNextNodeTree(@Param("id") Long id);
|
||||
List<TreeNode> getNodeTree(@Param("currentId")Long currentId);
|
||||
List<TreeNode> getNextNodeTree(Map<String, Object> parameterMap);
|
||||
|
||||
int addMaterialCategory(MaterialCategory mc);
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Description
|
||||
@@ -17,8 +18,8 @@ import java.util.List;
|
||||
public interface OrganizationMapperEx {
|
||||
|
||||
|
||||
List<TreeNode> getNodeTree();
|
||||
List<TreeNode> getNextNodeTree(@Param("id") Long id);
|
||||
List<TreeNode> getNodeTree(@Param("currentId")Long currentId);
|
||||
List<TreeNode> getNextNodeTree(Map<String, Object> parameterMap);
|
||||
|
||||
int addOrganization(Organization org);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user