|  | @ -50,13 +50,13 @@ public class BaseSuggestionService extends BaseJpaService<BaseSuggestionDO, Base
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     public MixEnvelop findSuggestionByType(String type, Integer page, Integer pageSize){
 |  |     public MixEnvelop findSuggestionByType(String type, Integer page, Integer pageSize){
 | 
												
													
														
															|  |         String sql = "select a.id as\"id\",a.suggest_id as\"suggestId\",a.suggest_content as\"suggestContent\",a.suggest_img_url as\"suggestImgUrl\"," +
 |  |         String sql = "select a.id as\"id\",a.suggest_id as\"suggestId\",a.suggest_content as\"suggestContent\",a.suggest_img_url as\"suggestImgUrl\"," +
 | 
												
													
														
															|  |                 "a.suggest_user_id as\"suggestUserId\",a.user_client as \"userClient\"," +
 |  | 
 | 
												
													
														
															|  | 
 |  |                 "a.suggest_user_id as\"suggestUserId\",a.user_client as \"userClient\",a.user_type as \"userType\"," +
 | 
												
													
														
															|  |                 "a.suggest_user_name as\"suggestUserName\",a.suggest_user_phone as\"suggestUserPhone\",a.create_time as\"createTime\"," +
 |  |                 "a.suggest_user_name as\"suggestUserName\",a.suggest_user_phone as\"suggestUserPhone\",a.create_time as\"createTime\"," +
 | 
												
													
														
															|  |                 "a.update_time as\"updateTime\",a.suggest_status as \"suggestStatus\"," +
 |  |                 "a.update_time as\"updateTime\",a.suggest_status as \"suggestStatus\"," +
 | 
												
													
														
															|  |                 "b.suggest_name as\"suggestName\",b.suggest_describe as\"suggestSescribe\" from base_suggestion a ," +
 |  |                 "b.suggest_name as\"suggestName\",b.suggest_describe as\"suggestSescribe\" from base_suggestion a ," +
 | 
												
													
														
															|  |                 "base_suggestions_dict b where a.suggest_id = b.id and a.is_del = 1" ;
 |  |                 "base_suggestions_dict b where a.suggest_id = b.id and a.is_del = 1" ;
 | 
												
													
														
															|  |         if(StringUtils.isNoneBlank(type)){
 |  |         if(StringUtils.isNoneBlank(type)){
 | 
												
													
														
															|  |             sql+=" and b.id = '"+type+"'";
 |  | 
 | 
												
													
														
															|  | 
 |  |             sql+=" and a.suggest_id = '"+type+"'";
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
													
														
															|  |         sql+=" order by a.create_time desc";
 |  |         sql+=" order by a.create_time desc";
 | 
												
													
														
															|  |         List<Map<String,Object>> list = hibenateUtils.createSQLQuery(sql,page,pageSize);
 |  |         List<Map<String,Object>> list = hibenateUtils.createSQLQuery(sql,page,pageSize);
 |