ソースを参照

--update column solveStatus VARCHAR(2);

zzy.zhiyuan.foxmail 8 年 前
コミット
a82063e0b7
共有2 個のファイルを変更した3 個の追加1 個の削除を含む
  1. 2 1
      src/main/java/com/ekexiu/portal/po/OrgRetrieve.java
  2. 1 0
      src/main/java/com/ekexiu/portal/service/OrgRetrieveService.java

+ 2 - 1
src/main/java/com/ekexiu/portal/po/OrgRetrieve.java

4
import org.jfw.apt.orm.annotation.entry.PrimaryKey;
4
import org.jfw.apt.orm.annotation.entry.PrimaryKey;
5
import org.jfw.apt.orm.annotation.entry.Table;
5
import org.jfw.apt.orm.annotation.entry.Table;
6
import org.jfw.apt.orm.core.defaultImpl.FixLenStringHandler;
6
import org.jfw.apt.orm.core.defaultImpl.FixLenStringHandler;
7
import org.jfw.apt.orm.core.defaultImpl.StringHandler;
7
import org.jfw.apt.orm.core.enums.DE;
8
import org.jfw.apt.orm.core.enums.DE;
8

9

9
import com.ekexiu.portal.basepo.CreateTimeSupported;
10
import com.ekexiu.portal.basepo.CreateTimeSupported;
53
	public void setPasswd(String passwd) {
54
	public void setPasswd(String passwd) {
54
		this.passwd = passwd;
55
		this.passwd = passwd;
55
	}
56
	}
56
	@Column(handlerClass=FixLenStringHandler.class,dbType="CHAR(2)",nullable=false)
57
	@Column(handlerClass=StringHandler.class,dbType="VARCHAR(2)",nullable=false)
57
	public String getSolveStatus() {
58
	public String getSolveStatus() {
58
		return solveStatus;
59
		return solveStatus;
59
	}
60
	}

+ 1 - 0
src/main/java/com/ekexiu/portal/service/OrgRetrieveService.java

55
		String id = StringUtil.buildUUID();
55
		String id = StringUtil.buildUUID();
56
		orgRetrieve.setOrgId(this.orgDao.queryByName(con, orgRetrieve.getName()));
56
		orgRetrieve.setOrgId(this.orgDao.queryByName(con, orgRetrieve.getName()));
57
		orgRetrieve.setId(id);
57
		orgRetrieve.setId(id);
58
		orgRetrieve.setSolveStatus("1");
58
		this.orgRetrieveDao.insert(con, orgRetrieve);
59
		this.orgRetrieveDao.insert(con, orgRetrieve);
59
		for (String fn : fns) {
60
		for (String fn : fns) {
60
			this.orgRetrieveImgService.insertImg(con, id, fn);
61
			this.orgRetrieveImgService.insertImg(con, id, fn);