Commit 5ee2f63b authored by 赵啸非's avatar 赵啸非

添加更新基础区域

parent 3438b077
......@@ -24,6 +24,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.ObjectUtils;
import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;
......@@ -136,6 +137,7 @@ public class BaseAreaServiceImpl extends AbstractCRUDServiceImpl<BaseAreaDao, Ba
} else {
//更新
BeanUtils.copyProperties(group, entity, BeanUtil.getNullPropertyNames(group));
entity.setUpdateTime(new Date());
this.update(entity);
}
}
......
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