Commit 4b0a8856 authored by 赵啸非's avatar 赵啸非

添加更新基础区域

parent 5430ee8c
...@@ -136,6 +136,8 @@ public class BaseAreaServiceImpl extends AbstractCRUDServiceImpl<BaseAreaDao, Ba ...@@ -136,6 +136,8 @@ public class BaseAreaServiceImpl extends AbstractCRUDServiceImpl<BaseAreaDao, Ba
entity = new BaseAreaEntity(); entity = new BaseAreaEntity();
entity.initAttrValue(); entity.initAttrValue();
BeanUtils.copyProperties(group, entity, BeanUtil.getNullPropertyNames(group)); BeanUtils.copyProperties(group, entity, BeanUtil.getNullPropertyNames(group));
entity.setCreateTime(new Date());
entity.setCreateUserId(1L);
//log.info("新增数据:{}", JSON.toJSONString(group)); //log.info("新增数据:{}", JSON.toJSONString(group));
this.save(entity); this.save(entity);
} else { } else {
......
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