Browse Source

申请方保存字段改为字符型,直接保存申请方名字

zzy.zhiyuan.foxmail 8 years ago
parent
commit
544ac72814
1 changed files with 4 additions and 5 deletions
  1. 4 5
      src/main/java/com/ekexiu/portal/po/Operation.java

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

@ -6,7 +6,6 @@ import org.jfw.apt.orm.annotation.entry.Column;
6 6
import org.jfw.apt.orm.annotation.entry.PrimaryKey;
7 7
import org.jfw.apt.orm.annotation.entry.Table;
8 8
import org.jfw.apt.orm.core.defaultImpl.FixLenStringHandler;
9
import org.jfw.apt.orm.core.defaultImpl.IntHandler;
10 9
import org.jfw.apt.orm.core.defaultImpl.StringHandler;
11 10
import org.jfw.apt.orm.core.enums.DE;
12 11

@ -33,7 +32,7 @@ public class Operation {
33 32
	private String payMethod;//支付方式
34 33
	private String replyNotes; //回复备注
35 34
	private String createTime;//创建时间
36
	private int applysquare;//申请方 0代表本人,1代表所属机构
35
	private String applysquare;//申请方 专家姓名或所属机构名称
37 36
	private Professor professor;
38 37
	private Resource resource;
39 38
	
@ -67,11 +66,11 @@ public class Operation {
67 66
		this.createTime = createTime;
68 67
	}
69 68
	
70
	@Column(handlerClass=IntHandler.class,dbType="INT",nullable=true,insertable=true,renewable=false,queryable=true)
71
	public int getApplysquare() {
69
	@Column(DE.String_de)
70
	public String getApplysquare() {
72 71
		return applysquare;
73 72
	}
74
	public void setApplysquare(int applysquare) {
73
	public void setApplysquare(String applysquare) {
75 74
		this.applysquare = applysquare;
76 75
	}
77 76