Browse Source

绑定邮箱和邮箱更换绑定删除多余的判断代码。

zzy.zhiyuan.foxmail 8 years ago
parent
commit
16af250452

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

@ -99,7 +99,7 @@ public class Operation implements CreateTimeSupported {
99 99
		this.demandId = demandId;
100 100
	}
101 101
	
102
	@Column(handlerClass=StringHandler.class,dbType="TEXT",insertable=true,nullable=false,renewable=true,queryable=true)
102
	@Column(handlerClass=StringHandler.class,dbType="TEXT",insertable=true,nullable=true,renewable=true,queryable=true)
103 103
	public String getDetailDemand() {
104 104
		return detailDemand;
105 105
	}
@ -107,7 +107,7 @@ public class Operation implements CreateTimeSupported {
107 107
		this.detailDemand = detailDemand;
108 108
	}
109 109
	
110
	@Column(handlerClass = FixLenStringHandler.class, dbType = "CHAR(8)", insertable = true, nullable = false, queryable = true, renewable = true)
110
	@Column(handlerClass=FixLenStringHandler.class,dbType="CHAR(8)",insertable=true,nullable=true,queryable=true,renewable=true)
111 111
	public String getDeliverTime() {
112 112
		return deliverTime;
113 113
	}
@ -131,7 +131,7 @@ public class Operation implements CreateTimeSupported {
131 131
		this.dealPrice = dealPrice;
132 132
	}
133 133
	
134
	@Column(handlerClass = FixLenStringHandler.class, dbType = "CHAR(14)", insertable = false, nullable = true, queryable = true, renewable = true)
134
	@Column(handlerClass=FixLenStringHandler.class,dbType="CHAR(14)",insertable=false,nullable=true,queryable=true,renewable=true)
135 135
	public String getDealTime() {
136 136
		return dealTime;
137 137
	}

+ 0 - 3
src/main/java/com/ekexiu/portal/service/SysService.java

@ -536,9 +536,6 @@ public class SysService {
536 536
		User user = this.userDao.query(con, userid);
537 537
		if (null == user)
538 538
			return false;
539
		user = this.userDao.queryByEmailOrMobilePhone(con, mail);
540
		if (null != user)
541
			return false;
542 539
543 540
		StateCode<String, String> sc = new StateCode<String, String>();
544 541
		sc.setKey(userid);