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,7 +209,7 @@ public class Professor implements CreateTimeSupported, ModifyTimeSupported{
209 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 213
	public BigDecimal getStarLevel() {
214 214
		return starLevel;
215 215
	}
@ -218,7 +218,7 @@ public class Professor implements CreateTimeSupported, ModifyTimeSupported{
218 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 222
	public Integer getConsultCount() {
223 223
		return consultCount;
224 224
	}
@ -227,7 +227,7 @@ public class Professor implements CreateTimeSupported, ModifyTimeSupported{
227 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 231
	public BigDecimal getStarAvg() {
232 232
		return starAvg;
233 233
	}