|  | @ -12,10 +12,10 @@ exports.save = function(to, contentType, title, summary, content, handler) {
 | 
	
		
			
				|  |  | };
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | exports.getSystemList=function(userId, handler){
 | 
	
		
			
				|  |  |     let sql ="select count(1) as newMessageCount,max(m.content) as lastContent FROM ydf_message m  where  m.receiver = ? and m.type in(301,302,303,304,305) and m.readonly =1;";
 | 
	
		
			
				|  |  |     let sql ="select count(1) as newMessageCount,max(m.content) as lastContent FROM ydf_message m  where  m.receiver = ? and m.sender<>? and m.type in(301,302,303,304,305) and m.readonly =1;";
 | 
	
		
			
				|  |  |     imRepo.execQuery({
 | 
	
		
			
				|  |  |         "sql": sql,
 | 
	
		
			
				|  |  |         "args": [userId],
 | 
	
		
			
				|  |  |         "args": [userId,userId],
 | 
	
		
			
				|  |  |         "handler": handler
 | 
	
		
			
				|  |  |     });
 | 
	
		
			
				|  |  | }
 |