Commit 42e854ed authored by yanzg's avatar yanzg

1.3版本修改,增加删除功能

parent e62915dc
...@@ -220,6 +220,9 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao { ...@@ -220,6 +220,9 @@ public abstract class BaseDaoImpl extends BaseDaoSql implements BaseDao {
} }
private void addModelFromValue(Object from, Object model, TableFieldVo fieldVo, String tag) { private void addModelFromValue(Object from, Object model, TableFieldVo fieldVo, String tag) {
if (fieldVo == null) {
return;
}
String fieldName = fieldVo.inputName + tag; String fieldName = fieldVo.inputName + tag;
Object fromValue = ObjectHelper.get(model, fieldName); Object fromValue = ObjectHelper.get(model, fieldName);
ObjectHelper.set(from, fieldName, fromValue); ObjectHelper.set(from, fieldName, fromValue);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment