|
@ -177,8 +177,7 @@ public class DingdingUtil {
|
|
|
* 初始化更新钉钉账户id
|
|
|
*/
|
|
|
public void yktDoctorIdInit(){
|
|
|
String sql = "select * from base_doctor where ykt_doctor_id is null ";
|
|
|
List<BaseDoctorDO> doctorDOList = jdbcTemplate.query(sql,new BeanPropertyRowMapper(BaseDoctorDO.class));
|
|
|
List<BaseDoctorDO> doctorDOList = doctorDao.findByYktDoctorIdNull();
|
|
|
List<BaseDoctorDO> doctorDOs = new ArrayList<>();
|
|
|
for (BaseDoctorDO doctorDO:doctorDOList){
|
|
|
JSONArray jsonArray = get_by_mobiles(doctorDO.getMobile());
|