| 
															
																@ -4,7 +4,6 @@ import com.yihu.jw.care.dao.assistance.EmergencyAssistanceDao; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import com.yihu.jw.care.dao.message.UrgeReminderRecordDao; 
															 | 
															
															 | 
															
																import com.yihu.jw.care.dao.message.UrgeReminderRecordDao; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import com.yihu.jw.care.dao.security.SecurityMonitoringOrderDao; 
															 | 
															
															 | 
															
																import com.yihu.jw.care.dao.security.SecurityMonitoringOrderDao; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import com.yihu.jw.care.dao.team.BaseTeamMemberDao; 
															 | 
															
															 | 
															
																import com.yihu.jw.care.dao.team.BaseTeamMemberDao; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import com.yihu.jw.care.service.common.PermissionService; 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import com.yihu.jw.care.util.MessageUtil; 
															 | 
															
															 | 
															
																import com.yihu.jw.care.util.MessageUtil; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import com.yihu.jw.care.vo.OrgVo; 
															 | 
															
															 | 
															
																import com.yihu.jw.care.vo.OrgVo; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import com.yihu.jw.care.vo.UserVo; 
															 | 
															
															 | 
															
																import com.yihu.jw.care.vo.UserVo; 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -46,8 +45,6 @@ public class AdminManageService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @Resource 
															 | 
															
															 | 
															
																    @Resource 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    private BaseTeamMemberDao baseTeamMemberDao; 
															 | 
															
															 | 
															
																    private BaseTeamMemberDao baseTeamMemberDao; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @Resource 
															 | 
															
															 | 
															
																    @Resource 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    private PermissionService permissionService; 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @Resource 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    private BaseDoctorDao doctorDao; 
															 | 
															
															 | 
															
																    private BaseDoctorDao doctorDao; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @Resource 
															 | 
															
															 | 
															
																    @Resource 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    private UrgeReminderRecordDao urgeReminderRecordDao; 
															 | 
															
															 | 
															
																    private UrgeReminderRecordDao urgeReminderRecordDao; 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -63,7 +60,7 @@ public class AdminManageService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     * 工单催促提醒 
															 | 
															
															 | 
															
																     * 工单催促提醒 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     * 20紧急呼叫22安防工单 
															 | 
															
															 | 
															
																     * 20紧急呼叫22安防工单 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     */ 
															 | 
															
															 | 
															
																     */ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public void orderUrgeReminder(String id,String orderType){ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    public void orderUrgeReminder(String id,String orderType,String sender){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        synchronized (id.intern()){ 
															 | 
															
															 | 
															
																        synchronized (id.intern()){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            UrgeReminderRecordDO recordDO = urgeReminderRecordDao.findByTypeAndOrderId(orderType,id); 
															 | 
															
															 | 
															
																            UrgeReminderRecordDO recordDO = urgeReminderRecordDao.findByTypeAndOrderId(orderType,id); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            if(recordDO==null){ 
															 | 
															
															 | 
															
																            if(recordDO==null){ 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -71,8 +68,7 @@ public class AdminManageService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                recordDO.setOrderId(id); 
															 | 
															
															 | 
															
																                recordDO.setOrderId(id); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                recordDO.setType(orderType); 
															 | 
															
															 | 
															
																                recordDO.setType(orderType); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                urgeReminderRecordDao.save(recordDO); 
															 | 
															
															 | 
															
																                urgeReminderRecordDao.save(recordDO); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                String sender = permissionService.getUID(); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                BaseDoctorDO baseDoctorDO = doctorDao.findById(sender); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                BaseDoctorDO baseDoctorDO = getDoctorDO(sender); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                String patient; 
															 | 
															
															 | 
															
																                String patient; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                String name; 
															 | 
															
															 | 
															
																                String name; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                String teamCode; 
															 | 
															
															 | 
															
																                String teamCode; 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -97,6 +93,18 @@ public class AdminManageService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        } 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    } 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    private BaseDoctorDO getDoctorDO(String id){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        BaseDoctorDO baseDoctorDO; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        if("system".equals(id)){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            baseDoctorDO = new BaseDoctorDO(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            baseDoctorDO.setId("system"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            baseDoctorDO.setName("系统"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        }else { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            baseDoctorDO = doctorDao.findById(id); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        return baseDoctorDO; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    //type   2社工 3助老员 4教师 
															 | 
															
															 | 
															
																    //type   2社工 3助老员 4教师 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    //2. 社区医院3.  养老机构 4.  托育机构 
															 | 
															
															 | 
															
																    //2. 社区医院3.  养老机构 4.  托育机构 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public List<Map<String,Object>> getOrgList(String type){ 
															 | 
															
															 | 
															
																    public List<Map<String,Object>> getOrgList(String type){ 
															 |