Browse Source

专家表星级、咨询次数和平均星级改为不能自动更新

zzy.zhiyuan.foxmail 8 years ago
parent
commit
426944dbf2
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/main/java/com/ekexiu/portal/po/Professor.java

+ 3 - 3
src/main/java/com/ekexiu/portal/po/Professor.java

209
		this.modifyTime = modifyTime;
209
		this.modifyTime = modifyTime;
210
	}
210
	}
211
211
212
	@Column(handlerClass=BigDecimalHandler.class,dbType="DECIMAL",insertable=false,nullable=false,renewable=true,queryable=true)
212
	@Column(handlerClass=BigDecimalHandler.class,dbType="DECIMAL",insertable=false,nullable=false,renewable=false,queryable=true)
213
	public BigDecimal getStarLevel() {
213
	public BigDecimal getStarLevel() {
214
		return starLevel;
214
		return starLevel;
215
	}
215
	}
218
		this.starLevel = starLevel;
218
		this.starLevel = starLevel;
219
	}
219
	}
220
220
221
	@Column(handlerClass=WIntHandler.class,dbType="INT",insertable=false,nullable=false,renewable=true,queryable=true)
221
	@Column(handlerClass=WIntHandler.class,dbType="INT",insertable=false,nullable=false,renewable=false,queryable=true)
222
	public Integer getConsultCount() {
222
	public Integer getConsultCount() {
223
		return consultCount;
223
		return consultCount;
224
	}
224
	}
227
		this.consultCount = consultCount;
227
		this.consultCount = consultCount;
228
	}
228
	}
229
229
230
	@Column(handlerClass=BigDecimalHandler.class,dbType="DECIMAL",insertable=false,nullable=false,renewable=true,queryable=true)
230
	@Column(handlerClass=BigDecimalHandler.class,dbType="DECIMAL",insertable=false,nullable=false,renewable=false,queryable=true)
231
	public BigDecimal getStarAvg() {
231
	public BigDecimal getStarAvg() {
232
		return starAvg;
232
		return starAvg;
233
	}
233
	}