|  | @ -834,9 +834,9 @@ public class SignPatientLabelInfoService extends BaseService {
 | 
	
		
			
				|  |  |      * @param labelType 标签类型
 | 
	
		
			
				|  |  |      * @return
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     public JSONArray getPatientLabelByLabelTypeAndTeamCode(String patient, String labelType,Long teamCode) {
 | 
	
		
			
				|  |  |     public JSONArray getPatientLabelByLabelTypeAndTeamCode(String patient, String labelType, Long teamCode, String doctor) {
 | 
	
		
			
				|  |  |         List<SignPatientLabelInfo> labels = new ArrayList<>();
 | 
	
		
			
				|  |  |         JSONArray result =  new JSONArray();
 | 
	
		
			
				|  |  |         JSONArray result = new JSONArray();
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         if (StringUtils.isEmpty(labelType)) {
 | 
	
		
			
				|  |  |             labels = labelInfoDao.findByPatientAndStatus(patient, 1);
 | 
	
	
		
			
				|  | @ -844,7 +844,21 @@ public class SignPatientLabelInfoService extends BaseService {
 | 
	
		
			
				|  |  |             labels = labelInfoDao.findByPatientAndLabelTypeAndStatus(patient, labelType, 1);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         if(labels != null && labels.size() > 0) {
 | 
	
		
			
				|  |  |         SignFamily ssSign = signFamilyDao.findSignByPatient(patient, 1);
 | 
	
		
			
				|  |  |         SignFamily jtSign = signFamilyDao.findSignByPatient(patient, 2);
 | 
	
		
			
				|  |  |         Long ssTeam = 0L;
 | 
	
		
			
				|  |  |         Long jtTeam = 0L;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         if (ssSign != null && (doctor.equals(ssSign.getDoctor()) ||
 | 
	
		
			
				|  |  |                 doctor.equals(ssSign.getDoctorHealth()))) {
 | 
	
		
			
				|  |  |             ssTeam = ssSign.getAdminTeamId();
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         if (jtSign != null && (doctor.equals(jtSign.getDoctor()) ||
 | 
	
		
			
				|  |  |                 doctor.equals(jtSign.getDoctorHealth()))) {
 | 
	
		
			
				|  |  |             jtTeam = jtSign.getAdminTeamId();
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         if (labels != null && labels.size() > 0) {
 | 
	
		
			
				|  |  |             for (SignPatientLabelInfo label : labels) {
 | 
	
		
			
				|  |  |                 JSONObject json = new JSONObject(label);
 | 
	
		
			
				|  |  | 
 |