|  | @@ -11,6 +11,7 @@ import io.swagger.annotations.ApiModelProperty;
 | 
	
		
			
				|  |  |  import lombok.AllArgsConstructor;
 | 
	
		
			
				|  |  |  import lombok.Data;
 | 
	
		
			
				|  |  |  import lombok.NoArgsConstructor;
 | 
	
		
			
				|  |  | +import org.apache.commons.lang3.StringUtils;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import java.io.Serializable;
 | 
	
		
			
				|  |  |  import java.util.Date;
 | 
	
	
		
			
				|  | @@ -59,8 +60,47 @@ public class TeacherVO {
 | 
	
		
			
				|  |  |      @AllArgsConstructor
 | 
	
		
			
				|  |  |      public static class TeacherFansQuery extends QueryInfo {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        @ApiModelProperty("搜索条件:昵称/编号/手机号")
 | 
	
		
			
				|  |  | +        private String search;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          @ApiModelProperty("老师ID")
 | 
	
		
			
				|  |  |          private Long teacherId;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        @ApiModelProperty("开始时间")
 | 
	
		
			
				|  |  | +        @JsonFormat(pattern = MK.TIME_PATTERN, timezone = MK.TIME_ZONE)
 | 
	
		
			
				|  |  | +        private Date startTime;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        @ApiModelProperty("结束时间")
 | 
	
		
			
				|  |  | +        @JsonFormat(pattern = MK.TIME_PATTERN, timezone = MK.TIME_ZONE)
 | 
	
		
			
				|  |  | +        private Date endTime;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        private String nickname;
 | 
	
		
			
				|  |  | +        private Long userId;
 | 
	
		
			
				|  |  | +        private String phone;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public String jsonString() {
 | 
	
		
			
				|  |  | +            return JSON.toJSONString(this);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public void setSearch(String search) {
 | 
	
		
			
				|  |  | +            if (StringUtils.isNotEmpty(search)) {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                if (search.matches(MK.EXP_INT)) {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                    if (search.matches(MK.EXP_MOBILE_NUMBER)) {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                        setPhone(search);
 | 
	
		
			
				|  |  | +                    } else {
 | 
	
		
			
				|  |  | +                        setUserId(Long.parseLong(search));
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                } else {
 | 
	
		
			
				|  |  | +                    // 昵称
 | 
	
		
			
				|  |  | +                    setNickname(search);
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            this.search = search;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      /**
 |