|
|
|
@ -82,8 +82,8 @@ func PageSchoolInfo(page int32, limit int32, areaCode string, xxbxlxm string, or
|
|
|
|
|
return Reply, err
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func PageMainSchoolInfo(page int32, limit int32, areaCode string, actionPersonId string, actionIpAddress string) (*BaseOrganizationProto.Reply, error) {
|
|
|
|
|
Reply, err := PageBaseOrganization(BaseOrganizationProto.QueryArg{Page: page, Limit: limit, AreaCode: areaCode, OrgType: 2, BUse: 1, IsMainSchool: true, Xxbxlxm: "-1", ActionPersonId: actionPersonId, ActionIpAddress: actionIpAddress})
|
|
|
|
|
func PageMainSchoolInfo(page int32, limit int32, areaCode string, orgId string, actionPersonId string, actionIpAddress string) (*BaseOrganizationProto.Reply, error) {
|
|
|
|
|
Reply, err := PageBaseOrganization(BaseOrganizationProto.QueryArg{Page: page, Limit: limit, AreaCode: areaCode, BureauId: orgId, OrgType: 2, BUse: 1, IsMainSchool: true, Xxbxlxm: "-1", ActionPersonId: actionPersonId, ActionIpAddress: actionIpAddress})
|
|
|
|
|
if Reply.List != "[]" {
|
|
|
|
|
codeArr := CommonUtil.ListCollectAttributes(Reply.List, "xxbxlxm")
|
|
|
|
|
DictReply, _ := SysDictService.PageSysDictMultipleDictCode(SysDictProto.MultipleQueryArg{DictKind: "xxbxlxm", MultipleDictCode: codeArr, ActionPersonId: actionPersonId, ActionIpAddress: actionIpAddress})
|
|
|
|
|