package com.oying.modules.pc.utils; import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; import com.oying.base.BaseEntity; public class WrapperUtils { public static UpdateWrapper baseUpdateWrapper(Long id, Long updateBy) { return new UpdateWrapper() .eq("id", id) .set("update_by", updateBy); } public static LambdaUpdateWrapper getBaseLambdaUpdateWrapper(Long id, Long updateBy) { return new LambdaUpdateWrapper(); } }