group.flyfish.fluent.update.UpdateImpl Maven / Gradle / Ivy
package group.flyfish.fluent.update;
import group.flyfish.fluent.chain.SQLSegment;
import group.flyfish.fluent.chain.update.AfterSetSqlChain;
import group.flyfish.fluent.utils.sql.ConcatSegment;
import group.flyfish.fluent.utils.sql.SFunction;
import lombok.RequiredArgsConstructor;
import org.springframework.lang.Nullable;
import org.springframework.util.ObjectUtils;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.function.Function;
import java.util.stream.Collectors;
/**
* 更新实现
*
* @author wangyu
*/
@RequiredArgsConstructor
public class UpdateImpl implements Update {
private final Function chain;
// 参数源
private final Collection