//行政区划
        private AdministrativeDivision GetAdministrativeDivision(RouteLeader requset)
        {
            SPersonLiable model = new SPersonLiable();

            model.adcd = requset.adcd;
            model.year = requset.year;
            model.grid = 0;
            var admodel = supervise.PersonLiable(model);

            return(new AdministrativeDivision()
            {
                countryCount = admodel.CountyAll, townCount = admodel.TownAll, villageCount = admodel.VillageAll
            });
        }
Example #2
0
 public SuperviseModel Post(SPersonLiable request)
 {
     return(SuperviseManager.PersonLiable(request));
 }