Browse Source

feat: 获取city

2637309949 4 năm trước cách đây
mục cha
commit
939a37fe50

+ 42 - 0
internal/logic/get_city_ids_logic.go

@@ -0,0 +1,42 @@
+package logic
+
+import (
+	"context"
+	"fmt"
+
+	"git.i2edu.net/i2/i2-bill-erp/internal/svc"
+	"git.i2edu.net/i2/i2-bill-erp/model"
+	"git.i2edu.net/i2/i2-bill-erp/transform"
+
+	"git.i2edu.net/i2/go-zero/core/logx"
+)
+
+type GetCityIdsLogic struct {
+	ctx    context.Context
+	svcCtx *svc.ServiceContext
+	logx.Logger
+}
+
+func NewGetCityIdsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCityIdsLogic {
+	return &GetCityIdsLogic{
+		ctx:    ctx,
+		svcCtx: svcCtx,
+		Logger: logx.WithContext(ctx),
+	}
+}
+
+func (l *GetCityIdsLogic) GetCityIds(in *transform.CityIdsReq) (*transform.CityIdsRes, error) {
+	var city []model.BaseOrgan
+	err := l.svcCtx.SqlConn.QueryRowsPartial(&city, fmt.Sprintf("select id, name from base_organ where name in (%v) and del_flag!=1", in.Names))
+	if err != nil {
+		return nil, err
+	}
+	tc := transform.CityIdsRes{}
+	for i := range city {
+		if tc.MapList == nil {
+			tc.MapList = map[string]int64{}
+		}
+		tc.MapList[city[i].Name.String] = city[i].Id
+	}
+	return &tc, nil
+}

+ 30 - 0
internal/logic/get_school_ids_logic.go

@@ -0,0 +1,30 @@
+package logic
+
+import (
+	"context"
+
+	"git.i2edu.net/i2/i2-bill-erp/internal/svc"
+	"git.i2edu.net/i2/i2-bill-erp/transform"
+
+	"git.i2edu.net/i2/go-zero/core/logx"
+)
+
+type GetSchoolIdsLogic struct {
+	ctx    context.Context
+	svcCtx *svc.ServiceContext
+	logx.Logger
+}
+
+func NewGetSchoolIdsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetSchoolIdsLogic {
+	return &GetSchoolIdsLogic{
+		ctx:    ctx,
+		svcCtx: svcCtx,
+		Logger: logx.WithContext(ctx),
+	}
+}
+
+func (l *GetSchoolIdsLogic) GetSchoolIds(in *transform.SchoolIdsReq) (*transform.SchoolIdsRes, error) {
+	// todo: add your logic here and delete this line
+
+	return &transform.SchoolIdsRes{}, nil
+}

+ 10 - 0
internal/server/transform_server.go

@@ -41,6 +41,16 @@ func (s *TransformServer) LoadOptionset(ctx context.Context, in *transform.Optio
 	return l.LoadOptionset(in)
 }
 
+func (s *TransformServer) GetSchoolIds(ctx context.Context, in *transform.SchoolIdsReq) (*transform.SchoolIdsRes, error) {
+	l := logic.NewGetSchoolIdsLogic(ctx, s.svcCtx)
+	return l.GetSchoolIds(in)
+}
+
+func (s *TransformServer) GetCityIds(ctx context.Context, in *transform.CityIdsReq) (*transform.CityIdsRes, error) {
+	l := logic.NewGetCityIdsLogic(ctx, s.svcCtx)
+	return l.GetCityIds(in)
+}
+
 func (s *TransformServer) PostExcelLog(ctx context.Context, in *transform.ExcelLogReq) (*transform.ExcelLogRes, error) {
 	l := logic.NewPostExcelLogLogic(ctx, s.svcCtx)
 	return l.PostExcelLog(in)

+ 22 - 0
transform.proto

@@ -89,11 +89,33 @@ message ExcelLogRes {
   int64 Status = 1;
 }
 
+message SchoolIdsReq {
+  repeated  string names = 1;
+}
+
+message ListOfInt {
+  repeated int64 ids = 1;
+}
+
+message SchoolIdsRes {
+  map<string, int64> mapList=1;
+}
+
+message CityIdsReq {
+  repeated string names = 1;
+}
+
+message CityIdsRes {
+  map<string, int64> mapList=1;
+}
+
 service Transform {
   rpc GetUser(UserRequest) returns(UserResponse);
   rpc ParseToken(TokenRequest) returns(TokenResponse);
   rpc GetErpCityTree(Empty) returns(TreeNodes);
   rpc LoadOptionset(OptionsetReq) returns(OptionsetRes);
+  rpc GetSchoolIds(SchoolIdsReq) returns(SchoolIdsRes);
+  rpc GetCityIds(CityIdsReq) returns(CityIdsRes);
   rpc PostExcelLog(ExcelLogReq) returns(ExcelLogRes);
   rpc GetErpOptionset(OptionCode) returns(Options);
   rpc GetErpMktNetWorkDetailTree(Empty) returns(TreeNodes);

+ 333 - 53
transform/transform.pb.go

@@ -817,6 +817,201 @@ func (m *ExcelLogRes) GetStatus() int64 {
 	return 0
 }
 
+type SchoolIdsReq struct {
+	Names                []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
+	XXX_NoUnkeyedLiteral struct{} `json:"-"`
+	XXX_unrecognized     []byte   `json:"-"`
+	XXX_sizecache        int32    `json:"-"`
+}
+
+func (m *SchoolIdsReq) Reset()         { *m = SchoolIdsReq{} }
+func (m *SchoolIdsReq) String() string { return proto.CompactTextString(m) }
+func (*SchoolIdsReq) ProtoMessage()    {}
+func (*SchoolIdsReq) Descriptor() ([]byte, []int) {
+	return fileDescriptor_cb4a498eeb2ba07d, []int{15}
+}
+
+func (m *SchoolIdsReq) XXX_Unmarshal(b []byte) error {
+	return xxx_messageInfo_SchoolIdsReq.Unmarshal(m, b)
+}
+func (m *SchoolIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	return xxx_messageInfo_SchoolIdsReq.Marshal(b, m, deterministic)
+}
+func (m *SchoolIdsReq) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_SchoolIdsReq.Merge(m, src)
+}
+func (m *SchoolIdsReq) XXX_Size() int {
+	return xxx_messageInfo_SchoolIdsReq.Size(m)
+}
+func (m *SchoolIdsReq) XXX_DiscardUnknown() {
+	xxx_messageInfo_SchoolIdsReq.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SchoolIdsReq proto.InternalMessageInfo
+
+func (m *SchoolIdsReq) GetNames() []string {
+	if m != nil {
+		return m.Names
+	}
+	return nil
+}
+
+type ListOfInt struct {
+	Ids                  []int64  `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
+	XXX_NoUnkeyedLiteral struct{} `json:"-"`
+	XXX_unrecognized     []byte   `json:"-"`
+	XXX_sizecache        int32    `json:"-"`
+}
+
+func (m *ListOfInt) Reset()         { *m = ListOfInt{} }
+func (m *ListOfInt) String() string { return proto.CompactTextString(m) }
+func (*ListOfInt) ProtoMessage()    {}
+func (*ListOfInt) Descriptor() ([]byte, []int) {
+	return fileDescriptor_cb4a498eeb2ba07d, []int{16}
+}
+
+func (m *ListOfInt) XXX_Unmarshal(b []byte) error {
+	return xxx_messageInfo_ListOfInt.Unmarshal(m, b)
+}
+func (m *ListOfInt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	return xxx_messageInfo_ListOfInt.Marshal(b, m, deterministic)
+}
+func (m *ListOfInt) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_ListOfInt.Merge(m, src)
+}
+func (m *ListOfInt) XXX_Size() int {
+	return xxx_messageInfo_ListOfInt.Size(m)
+}
+func (m *ListOfInt) XXX_DiscardUnknown() {
+	xxx_messageInfo_ListOfInt.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ListOfInt proto.InternalMessageInfo
+
+func (m *ListOfInt) GetIds() []int64 {
+	if m != nil {
+		return m.Ids
+	}
+	return nil
+}
+
+type SchoolIdsRes struct {
+	MapList              map[string]int64 `protobuf:"bytes,1,rep,name=mapList,proto3" json:"mapList,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
+	XXX_unrecognized     []byte           `json:"-"`
+	XXX_sizecache        int32            `json:"-"`
+}
+
+func (m *SchoolIdsRes) Reset()         { *m = SchoolIdsRes{} }
+func (m *SchoolIdsRes) String() string { return proto.CompactTextString(m) }
+func (*SchoolIdsRes) ProtoMessage()    {}
+func (*SchoolIdsRes) Descriptor() ([]byte, []int) {
+	return fileDescriptor_cb4a498eeb2ba07d, []int{17}
+}
+
+func (m *SchoolIdsRes) XXX_Unmarshal(b []byte) error {
+	return xxx_messageInfo_SchoolIdsRes.Unmarshal(m, b)
+}
+func (m *SchoolIdsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	return xxx_messageInfo_SchoolIdsRes.Marshal(b, m, deterministic)
+}
+func (m *SchoolIdsRes) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_SchoolIdsRes.Merge(m, src)
+}
+func (m *SchoolIdsRes) XXX_Size() int {
+	return xxx_messageInfo_SchoolIdsRes.Size(m)
+}
+func (m *SchoolIdsRes) XXX_DiscardUnknown() {
+	xxx_messageInfo_SchoolIdsRes.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SchoolIdsRes proto.InternalMessageInfo
+
+func (m *SchoolIdsRes) GetMapList() map[string]int64 {
+	if m != nil {
+		return m.MapList
+	}
+	return nil
+}
+
+type CityIdsReq struct {
+	Names                []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
+	XXX_NoUnkeyedLiteral struct{} `json:"-"`
+	XXX_unrecognized     []byte   `json:"-"`
+	XXX_sizecache        int32    `json:"-"`
+}
+
+func (m *CityIdsReq) Reset()         { *m = CityIdsReq{} }
+func (m *CityIdsReq) String() string { return proto.CompactTextString(m) }
+func (*CityIdsReq) ProtoMessage()    {}
+func (*CityIdsReq) Descriptor() ([]byte, []int) {
+	return fileDescriptor_cb4a498eeb2ba07d, []int{18}
+}
+
+func (m *CityIdsReq) XXX_Unmarshal(b []byte) error {
+	return xxx_messageInfo_CityIdsReq.Unmarshal(m, b)
+}
+func (m *CityIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	return xxx_messageInfo_CityIdsReq.Marshal(b, m, deterministic)
+}
+func (m *CityIdsReq) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_CityIdsReq.Merge(m, src)
+}
+func (m *CityIdsReq) XXX_Size() int {
+	return xxx_messageInfo_CityIdsReq.Size(m)
+}
+func (m *CityIdsReq) XXX_DiscardUnknown() {
+	xxx_messageInfo_CityIdsReq.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_CityIdsReq proto.InternalMessageInfo
+
+func (m *CityIdsReq) GetNames() []string {
+	if m != nil {
+		return m.Names
+	}
+	return nil
+}
+
+type CityIdsRes struct {
+	MapList              map[string]int64 `protobuf:"bytes,1,rep,name=mapList,proto3" json:"mapList,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
+	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
+	XXX_unrecognized     []byte           `json:"-"`
+	XXX_sizecache        int32            `json:"-"`
+}
+
+func (m *CityIdsRes) Reset()         { *m = CityIdsRes{} }
+func (m *CityIdsRes) String() string { return proto.CompactTextString(m) }
+func (*CityIdsRes) ProtoMessage()    {}
+func (*CityIdsRes) Descriptor() ([]byte, []int) {
+	return fileDescriptor_cb4a498eeb2ba07d, []int{19}
+}
+
+func (m *CityIdsRes) XXX_Unmarshal(b []byte) error {
+	return xxx_messageInfo_CityIdsRes.Unmarshal(m, b)
+}
+func (m *CityIdsRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	return xxx_messageInfo_CityIdsRes.Marshal(b, m, deterministic)
+}
+func (m *CityIdsRes) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_CityIdsRes.Merge(m, src)
+}
+func (m *CityIdsRes) XXX_Size() int {
+	return xxx_messageInfo_CityIdsRes.Size(m)
+}
+func (m *CityIdsRes) XXX_DiscardUnknown() {
+	xxx_messageInfo_CityIdsRes.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_CityIdsRes proto.InternalMessageInfo
+
+func (m *CityIdsRes) GetMapList() map[string]int64 {
+	if m != nil {
+		return m.MapList
+	}
+	return nil
+}
+
 func init() {
 	proto.RegisterType((*UserRequest)(nil), "transform.UserRequest")
 	proto.RegisterType((*UserResponse)(nil), "transform.UserResponse")
@@ -834,64 +1029,77 @@ func init() {
 	proto.RegisterType((*ResponseByte)(nil), "transform.ResponseByte")
 	proto.RegisterType((*ExcelLogReq)(nil), "transform.ExcelLogReq")
 	proto.RegisterType((*ExcelLogRes)(nil), "transform.ExcelLogRes")
+	proto.RegisterType((*SchoolIdsReq)(nil), "transform.SchoolIdsReq")
+	proto.RegisterType((*ListOfInt)(nil), "transform.ListOfInt")
+	proto.RegisterType((*SchoolIdsRes)(nil), "transform.SchoolIdsRes")
+	proto.RegisterMapType((map[string]int64)(nil), "transform.SchoolIdsRes.MapListEntry")
+	proto.RegisterType((*CityIdsReq)(nil), "transform.CityIdsReq")
+	proto.RegisterType((*CityIdsRes)(nil), "transform.CityIdsRes")
+	proto.RegisterMapType((map[string]int64)(nil), "transform.CityIdsRes.MapListEntry")
 }
 
 func init() { proto.RegisterFile("transform.proto", fileDescriptor_cb4a498eeb2ba07d) }
 
 var fileDescriptor_cb4a498eeb2ba07d = []byte{
-	// 818 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xc1, 0x6e, 0xdb, 0x46,
-	0x10, 0x05, 0x4d, 0x4b, 0xb2, 0x47, 0xb2, 0x1d, 0x6c, 0x5d, 0x97, 0xe0, 0xa1, 0x10, 0x08, 0xb7,
-	0x70, 0x2e, 0x3e, 0x38, 0x40, 0x91, 0x1a, 0x45, 0x8b, 0x44, 0x56, 0x8d, 0x00, 0xb2, 0x63, 0x50,
-	0x0a, 0x7a, 0xde, 0x8a, 0x53, 0x85, 0x10, 0xc5, 0x65, 0x76, 0x57, 0x46, 0xf8, 0x0b, 0xbd, 0xf6,
-	0x83, 0xfa, 0x13, 0xbd, 0xf5, 0x63, 0x5a, 0xcc, 0xee, 0x52, 0x5a, 0x45, 0x2a, 0x1a, 0xdf, 0xe6,
-	0xbd, 0x99, 0xd9, 0x99, 0x7d, 0x9c, 0x59, 0xc2, 0x89, 0x96, 0xbc, 0x54, 0xbf, 0x09, 0xb9, 0xb8,
-	0xac, 0xa4, 0xd0, 0x82, 0x1d, 0xae, 0x88, 0xe4, 0x05, 0x74, 0xdf, 0x29, 0x94, 0x29, 0x7e, 0x58,
-	0xa2, 0xd2, 0xec, 0x18, 0xf6, 0xf2, 0x2c, 0x0a, 0xfa, 0xc1, 0xc5, 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ff, 0xff, 0x18, 0x78, 0xd5, 0x5a, 0xde, 0x09, 0x00, 0x00,
 }
 
 // Reference imports to suppress errors if they are not otherwise used.
@@ -910,6 +1118,8 @@ type TransformClient interface {
 	ParseToken(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*TokenResponse, error)
 	GetErpCityTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error)
 	LoadOptionset(ctx context.Context, in *OptionsetReq, opts ...grpc.CallOption) (*OptionsetRes, error)
+	GetSchoolIds(ctx context.Context, in *SchoolIdsReq, opts ...grpc.CallOption) (*SchoolIdsRes, error)
+	GetCityIds(ctx context.Context, in *CityIdsReq, opts ...grpc.CallOption) (*CityIdsRes, error)
 	PostExcelLog(ctx context.Context, in *ExcelLogReq, opts ...grpc.CallOption) (*ExcelLogRes, error)
 	GetErpOptionset(ctx context.Context, in *OptionCode, opts ...grpc.CallOption) (*Options, error)
 	GetErpMktNetWorkDetailTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error)
@@ -961,6 +1171,24 @@ func (c *transformClient) LoadOptionset(ctx context.Context, in *OptionsetReq, o
 	return out, nil
 }
 
+func (c *transformClient) GetSchoolIds(ctx context.Context, in *SchoolIdsReq, opts ...grpc.CallOption) (*SchoolIdsRes, error) {
+	out := new(SchoolIdsRes)
+	err := c.cc.Invoke(ctx, "/transform.Transform/GetSchoolIds", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
+func (c *transformClient) GetCityIds(ctx context.Context, in *CityIdsReq, opts ...grpc.CallOption) (*CityIdsRes, error) {
+	out := new(CityIdsRes)
+	err := c.cc.Invoke(ctx, "/transform.Transform/GetCityIds", in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
 func (c *transformClient) PostExcelLog(ctx context.Context, in *ExcelLogReq, opts ...grpc.CallOption) (*ExcelLogRes, error) {
 	out := new(ExcelLogRes)
 	err := c.cc.Invoke(ctx, "/transform.Transform/PostExcelLog", in, out, opts...)
@@ -1012,6 +1240,8 @@ type TransformServer interface {
 	ParseToken(context.Context, *TokenRequest) (*TokenResponse, error)
 	GetErpCityTree(context.Context, *Empty) (*TreeNodes, error)
 	LoadOptionset(context.Context, *OptionsetReq) (*OptionsetRes, error)
+	GetSchoolIds(context.Context, *SchoolIdsReq) (*SchoolIdsRes, error)
+	GetCityIds(context.Context, *CityIdsReq) (*CityIdsRes, error)
 	PostExcelLog(context.Context, *ExcelLogReq) (*ExcelLogRes, error)
 	GetErpOptionset(context.Context, *OptionCode) (*Options, error)
 	GetErpMktNetWorkDetailTree(context.Context, *Empty) (*TreeNodes, error)
@@ -1035,6 +1265,12 @@ func (*UnimplementedTransformServer) GetErpCityTree(ctx context.Context, req *Em
 func (*UnimplementedTransformServer) LoadOptionset(ctx context.Context, req *OptionsetReq) (*OptionsetRes, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method LoadOptionset not implemented")
 }
+func (*UnimplementedTransformServer) GetSchoolIds(ctx context.Context, req *SchoolIdsReq) (*SchoolIdsRes, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method GetSchoolIds not implemented")
+}
+func (*UnimplementedTransformServer) GetCityIds(ctx context.Context, req *CityIdsReq) (*CityIdsRes, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method GetCityIds not implemented")
+}
 func (*UnimplementedTransformServer) PostExcelLog(ctx context.Context, req *ExcelLogReq) (*ExcelLogRes, error) {
 	return nil, status.Errorf(codes.Unimplemented, "method PostExcelLog not implemented")
 }
@@ -1127,6 +1363,42 @@ func _Transform_LoadOptionset_Handler(srv interface{}, ctx context.Context, dec
 	return interceptor(ctx, in, info, handler)
 }
 
+func _Transform_GetSchoolIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(SchoolIdsReq)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(TransformServer).GetSchoolIds(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/transform.Transform/GetSchoolIds",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(TransformServer).GetSchoolIds(ctx, req.(*SchoolIdsReq))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
+func _Transform_GetCityIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(CityIdsReq)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(TransformServer).GetCityIds(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: "/transform.Transform/GetCityIds",
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(TransformServer).GetCityIds(ctx, req.(*CityIdsReq))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
 func _Transform_PostExcelLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 	in := new(ExcelLogReq)
 	if err := dec(in); err != nil {
@@ -1237,6 +1509,14 @@ var _Transform_serviceDesc = grpc.ServiceDesc{
 			MethodName: "LoadOptionset",
 			Handler:    _Transform_LoadOptionset_Handler,
 		},
+		{
+			MethodName: "GetSchoolIds",
+			Handler:    _Transform_GetSchoolIds_Handler,
+		},
+		{
+			MethodName: "GetCityIds",
+			Handler:    _Transform_GetCityIds_Handler,
+		},
 		{
 			MethodName: "PostExcelLog",
 			Handler:    _Transform_PostExcelLog_Handler,

+ 27 - 10
transformclient/transform.go

@@ -14,27 +14,34 @@ import (
 )
 
 type (
+	SchoolIdsReq  = transform.SchoolIdsReq
+	CityIdsReq    = transform.CityIdsReq
+	CityIdsRes    = transform.CityIdsRes
+	TokenRequest  = transform.TokenRequest
+	Empty         = transform.Empty
 	Tag           = transform.Tag
 	OptionsetRes  = transform.OptionsetRes
-	OptionCode    = transform.OptionCode
-	UserRequest   = transform.UserRequest
-	TokenRequest  = transform.TokenRequest
-	TokenResponse = transform.TokenResponse
-	Options       = transform.Options
-	ExcelLogReq   = transform.ExcelLogReq
-	ExcelLogRes   = transform.ExcelLogRes
-	TreeNodes     = transform.TreeNodes
+	ListOfInt     = transform.ListOfInt
+	SchoolIdsRes  = transform.SchoolIdsRes
+	UserResponse  = transform.UserResponse
 	TreeNode      = transform.TreeNode
 	OptionsetReq  = transform.OptionsetReq
+	Options       = transform.Options
+	TokenResponse = transform.TokenResponse
+	OptionCode    = transform.OptionCode
 	ResponseByte  = transform.ResponseByte
-	UserResponse  = transform.UserResponse
-	Empty         = transform.Empty
+	ExcelLogRes   = transform.ExcelLogRes
+	UserRequest   = transform.UserRequest
+	TreeNodes     = transform.TreeNodes
+	ExcelLogReq   = transform.ExcelLogReq
 
 	Transform interface {
 		GetUser(ctx context.Context, in *UserRequest) (*UserResponse, error)
 		ParseToken(ctx context.Context, in *TokenRequest) (*TokenResponse, error)
 		GetErpCityTree(ctx context.Context, in *Empty) (*TreeNodes, error)
 		LoadOptionset(ctx context.Context, in *OptionsetReq) (*OptionsetRes, error)
+		GetSchoolIds(ctx context.Context, in *SchoolIdsReq) (*SchoolIdsRes, error)
+		GetCityIds(ctx context.Context, in *CityIdsReq) (*CityIdsRes, error)
 		PostExcelLog(ctx context.Context, in *ExcelLogReq) (*ExcelLogRes, error)
 		GetErpOptionset(ctx context.Context, in *OptionCode) (*Options, error)
 		GetErpMktNetWorkDetailTree(ctx context.Context, in *Empty) (*TreeNodes, error)
@@ -73,6 +80,16 @@ func (m *defaultTransform) LoadOptionset(ctx context.Context, in *OptionsetReq)
 	return client.LoadOptionset(ctx, in)
 }
 
+func (m *defaultTransform) GetSchoolIds(ctx context.Context, in *SchoolIdsReq) (*SchoolIdsRes, error) {
+	client := transform.NewTransformClient(m.cli.Conn())
+	return client.GetSchoolIds(ctx, in)
+}
+
+func (m *defaultTransform) GetCityIds(ctx context.Context, in *CityIdsReq) (*CityIdsRes, error) {
+	client := transform.NewTransformClient(m.cli.Conn())
+	return client.GetCityIds(ctx, in)
+}
+
 func (m *defaultTransform) PostExcelLog(ctx context.Context, in *ExcelLogReq) (*ExcelLogRes, error) {
 	client := transform.NewTransformClient(m.cli.Conn())
 	return client.PostExcelLog(ctx, in)