|  | @ -7188,7 +7188,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
	
		
			
				|  |  |         if(StringUtils.isNoneBlank(patientid)){
 | 
	
		
			
				|  |  |             groupBy+=" , follow.id" ;
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         groupBy += ", evaluate.score as \"score\",a.total as \"total\"";
 | 
	
		
			
				|  |  |         groupBy += ", evaluate.score ,a.total ";
 | 
	
		
			
				|  |  |         WlyyHospitalSysDictDO hospitalSysDictDO = hospitalSysDictDao.findById("isSort").orElse(null);//isSort:1按照后台顺序,0按照系统排序
 | 
	
		
			
				|  |  |         if (hospitalSysDictDO!=null&&hospitalSysDictDO.getDictValue().equalsIgnoreCase("1")){
 | 
	
		
			
				|  |  |             sql +=" and d.del='1' "+groupBy+" order by d.sort asc  ";
 |