jiapeng преди 7 години
родител
ревизия
2b92d6dfe6

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

@ -14,6 +14,7 @@ import org.jfw.apt.model.MethodParamEntry;
14 14
import org.jfw.apt.orm.OrmAnnoCheckUtil;
15 15
import org.jfw.apt.orm.annotation.dao.Dynamic;
16 16
import org.jfw.apt.annotation.Nullable;
17
import org.jfw.apt.orm.annotation.dao.method.Exclude;
17 18
import org.jfw.apt.orm.annotation.dao.method.IncludeFixSet;
18 19
import org.jfw.apt.orm.annotation.dao.method.SetSentence;
19 20
import org.jfw.apt.orm.annotation.dao.param.Alias;
@ -66,6 +67,13 @@ public final class UpdateFactory {
66 67
		if (qu != null) {
67 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 77
		LinkedList<UpdateColumn> list = updatePart.getColumns();
70 78
		String sus = "";
71 79
		boolean ud = false;

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

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