|
|
|
@ -794,6 +794,7 @@ func PageGovArea(c *gin.Context) {
|
|
|
|
|
// @Param page query int true "第几页"
|
|
|
|
|
// @Param limit query int true "一页显示多少条"
|
|
|
|
|
// @Param areaCode query string true "行政区划码"
|
|
|
|
|
// @Param orgType query int true "单位类型 -1:全部 1:教育局 2:学校 7:教辅单位"
|
|
|
|
|
// @Param orgName query string false "行政区划码"
|
|
|
|
|
// @Success 200 {object} Model.Res
|
|
|
|
|
// @Router /support/accessSystem/GetOrganizationList [get]
|
|
|
|
@ -804,8 +805,9 @@ func GetOrganizationList(c *gin.Context) {
|
|
|
|
|
page := CommonUtil.ConvertStringToInt32(c.Query("page"))
|
|
|
|
|
limit := CommonUtil.ConvertStringToInt32(c.Query("limit"))
|
|
|
|
|
areaCode := c.Query("areaCode")
|
|
|
|
|
orgType := CommonUtil.ConvertStringToInt32(c.Query("orgType"))
|
|
|
|
|
orgName := c.Query("orgName")
|
|
|
|
|
r, err := BaseOrganizationService.GetOrganizationList(page, limit, areaCode, orgName)
|
|
|
|
|
r, err := BaseOrganizationService.GetOrganizationList(page, limit, areaCode, orgType, orgName)
|
|
|
|
|
if err != nil {
|
|
|
|
|
c.JSON(http.StatusOK, Model.Res{
|
|
|
|
|
Success: false,
|
|
|
|
|