|
@ -1,6 +1,9 @@
|
|
package com.yihu.wlyy.service.app.sign;
|
|
package com.yihu.wlyy.service.app.sign;
|
|
|
|
|
|
import com.sun.corba.se.spi.activation.Server;
|
|
import com.sun.corba.se.spi.activation.Server;
|
|
|
|
import com.yihu.wlyy.entity.address.Country;
|
|
|
|
import com.yihu.wlyy.entity.address.Street;
|
|
|
|
import com.yihu.wlyy.entity.address.Town;
|
|
import com.yihu.wlyy.entity.charge.WlyyCharge;
|
|
import com.yihu.wlyy.entity.charge.WlyyCharge;
|
|
import com.yihu.wlyy.entity.consult.Consult;
|
|
import com.yihu.wlyy.entity.consult.Consult;
|
|
import com.yihu.wlyy.entity.dict.SystemDict;
|
|
import com.yihu.wlyy.entity.dict.SystemDict;
|
|
@ -10,6 +13,9 @@ import com.yihu.wlyy.entity.doctor.team.sign.DoctorTeam;
|
|
import com.yihu.wlyy.entity.doctor.team.sign.DoctorTeamMember;
|
|
import com.yihu.wlyy.entity.doctor.team.sign.DoctorTeamMember;
|
|
import com.yihu.wlyy.entity.message.Message;
|
|
import com.yihu.wlyy.entity.message.Message;
|
|
import com.yihu.wlyy.entity.patient.*;
|
|
import com.yihu.wlyy.entity.patient.*;
|
|
|
|
import com.yihu.wlyy.repository.address.CountryDao;
|
|
|
|
import com.yihu.wlyy.repository.address.StreetDao;
|
|
|
|
import com.yihu.wlyy.repository.address.TownDao;
|
|
import com.yihu.wlyy.repository.charge.ChargeDao;
|
|
import com.yihu.wlyy.repository.charge.ChargeDao;
|
|
import com.yihu.wlyy.repository.consult.ConsultDao;
|
|
import com.yihu.wlyy.repository.consult.ConsultDao;
|
|
import com.yihu.wlyy.repository.consult.ConsultTeamDao;
|
|
import com.yihu.wlyy.repository.consult.ConsultTeamDao;
|
|
@ -96,6 +102,17 @@ public class SignWebService extends BaseService {
|
|
@Autowired
|
|
@Autowired
|
|
private ChargeDao chargeDao;
|
|
private ChargeDao chargeDao;
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
private TownDao townDao;
|
|
|
|
@Autowired
|
|
|
|
private StreetDao streetDao;
|
|
|
|
@Autowired
|
|
|
|
private CountryDao countryDao;
|
|
|
|
/**
|
|
|
|
* 厦门市
|
|
|
|
*/
|
|
|
|
public static String city ="350200";
|
|
|
|
|
|
/**
|
|
/**
|
|
* 根据医生代码及签约状态编码 获取该医生签约患者的信息列表
|
|
* 根据医生代码及签约状态编码 获取该医生签约患者的信息列表
|
|
*
|
|
*
|
|
@ -2339,4 +2356,16 @@ public class SignWebService extends BaseService {
|
|
return -1;
|
|
return -1;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public JSONArray getTownList(){
|
|
|
|
List<Town> towns = townDao.findByCityCode(city);
|
|
|
|
return new JSONArray(towns);
|
|
|
|
}
|
|
|
|
public JSONArray getStreetListByTown(String town){
|
|
|
|
Iterable<Street> streets = streetDao.findByTown(town);
|
|
|
|
return new JSONArray(streets);
|
|
|
|
}
|
|
|
|
public JSONArray getCountryListByStreet(String street){
|
|
|
|
List<Country> countrys = countryDao.findByStreet(street);
|
|
|
|
return new JSONArray(countrys);
|
|
|
|
}
|
|
}
|
|
}
|