|
|
|
@ -183,15 +183,15 @@ func FillMainBureauOrgInfo(list2 *[]map[string]interface{}) {
|
|
|
|
|
sql, _ := myBuilder.ToBoundSQL()
|
|
|
|
|
_listExtendInfo, _ := db.SQL(sql).Query().List()
|
|
|
|
|
|
|
|
|
|
for i := range _listExtendInfo {
|
|
|
|
|
for j := range list {
|
|
|
|
|
if _listExtendInfo[i]["person_id"].(string) == list[j]["person_id"].(string) {
|
|
|
|
|
list[j]["x_bureau_id"] = _listExtendInfo[i]["bureau_id"].(string)
|
|
|
|
|
list[j]["x_org_id"] = _listExtendInfo[i]["org_id"].(string)
|
|
|
|
|
list[j]["x_provice_code"] = _listExtendInfo[i]["provice_code"].(string)
|
|
|
|
|
list[j]["x_city_code"] = _listExtendInfo[i]["city_code"].(string)
|
|
|
|
|
list[j]["x_district_code"] = _listExtendInfo[i]["district_code"].(string)
|
|
|
|
|
list[j]["x_main_school_id"] = _listExtendInfo[i]["main_school_id"].(string)
|
|
|
|
|
for i := range list {
|
|
|
|
|
for j := range _listExtendInfo {
|
|
|
|
|
if _listExtendInfo[j]["person_id"].(string) == list[i]["person_id"].(string) {
|
|
|
|
|
list[i]["x_bureau_id"] = _listExtendInfo[j]["bureau_id"].(string)
|
|
|
|
|
list[i]["x_org_id"] = _listExtendInfo[j]["org_id"].(string)
|
|
|
|
|
list[i]["x_provice_code"] = _listExtendInfo[j]["provice_code"].(string)
|
|
|
|
|
list[i]["x_city_code"] = _listExtendInfo[j]["city_code"].(string)
|
|
|
|
|
list[i]["x_district_code"] = _listExtendInfo[j]["district_code"].(string)
|
|
|
|
|
list[i]["x_main_school_id"] = _listExtendInfo[j]["main_school_id"].(string)
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|