jiapeng 7 年之前
父節點
當前提交
2b92d6dfe6

+ 8 - 0
jfwAptOrm/src/main/java/org/jfw/apt/orm/core/model/update/UpdateFactory.java

14
import org.jfw.apt.orm.OrmAnnoCheckUtil;
14
import org.jfw.apt.orm.OrmAnnoCheckUtil;
15
import org.jfw.apt.orm.annotation.dao.Dynamic;
15
import org.jfw.apt.orm.annotation.dao.Dynamic;
16
import org.jfw.apt.annotation.Nullable;
16
import org.jfw.apt.annotation.Nullable;
17
import org.jfw.apt.orm.annotation.dao.method.Exclude;
17
import org.jfw.apt.orm.annotation.dao.method.IncludeFixSet;
18
import org.jfw.apt.orm.annotation.dao.method.IncludeFixSet;
18
import org.jfw.apt.orm.annotation.dao.method.SetSentence;
19
import org.jfw.apt.orm.annotation.dao.method.SetSentence;
19
import org.jfw.apt.orm.annotation.dao.param.Alias;
20
import org.jfw.apt.orm.annotation.dao.param.Alias;
66
		if (qu != null) {
67
		if (qu != null) {
67
			excludeColumnJavaNames.addAll(qu.getColumns());
68
			excludeColumnJavaNames.addAll(qu.getColumns());
68
		}
69
		}
70
		Exclude exclude =  methodEle.getAnnotation(Exclude.class);
71
		if(null!= exclude && exclude.value().length>0){
72
			String[] excludeColumns =exclude.value();
73
			for (String ec:excludeColumns) {
74
				excludeColumnJavaNames.add(ec);
75
			}
76
		}
69
		LinkedList<UpdateColumn> list = updatePart.getColumns();
77
		LinkedList<UpdateColumn> list = updatePart.getColumns();
70
		String sus = "";
78
		String sus = "";
71
		boolean ud = false;
79
		boolean ud = false;

+ 0 - 1
jfwAptOrm/src/main/java/org/jfw/apt/orm/daoHandler/BaseQueryHandler.java

16
import org.jfw.apt.orm.core.model.where.WherePart;
16
import org.jfw.apt.orm.core.model.where.WherePart;
17
17
18
public abstract class BaseQueryHandler extends BaseDaoHandler {
18
public abstract class BaseQueryHandler extends BaseDaoHandler {
19
	private static final String[] EMPTY_STRING_ARRAY = new String[0];
20
19
21
	public static final String PAGE_PREFIX = "org.jfw.util.PageQueryResult<";
20
	public static final String PAGE_PREFIX = "org.jfw.util.PageQueryResult<";
22
	public static final int PAGE_RCN_INDEX = PAGE_PREFIX.length();
21
	public static final int PAGE_RCN_INDEX = PAGE_PREFIX.length();