撤销修改
This commit is contained in:
@@ -5,10 +5,8 @@ import com.czg.account.dto.shopuser.ShopUserMoneyEditDTO;
|
||||
import com.czg.account.entity.ShopUser;
|
||||
import com.czg.market.entity.SmsPushEventUser;
|
||||
import com.czg.market.vo.InviteUserVO;
|
||||
import com.czg.utils.CzgUpdateChain;
|
||||
import com.mybatisflex.core.paginate.Page;
|
||||
import com.mybatisflex.core.service.IService;
|
||||
import com.mybatisflex.core.update.UpdateChain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDate;
|
||||
@@ -22,11 +20,6 @@ import java.util.List;
|
||||
*/
|
||||
public interface ShopUserService extends IService<ShopUser> {
|
||||
|
||||
@Override
|
||||
default UpdateChain<ShopUser> updateChain() {
|
||||
return new CzgUpdateChain<>(getMapper());
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回流水Id
|
||||
*/
|
||||
|
||||
@@ -6,8 +6,6 @@ import com.czg.exception.CzgException;
|
||||
import com.czg.market.dto.MemberConfigDTO;
|
||||
import com.czg.market.dto.MemberLevelDTO;
|
||||
import com.czg.market.vo.*;
|
||||
import com.czg.utils.CzgUpdateChain;
|
||||
import com.mybatisflex.core.update.UpdateChain;
|
||||
import com.mybatisflex.core.service.IService;
|
||||
import com.czg.market.entity.TbMemberConfig;
|
||||
|
||||
@@ -23,11 +21,6 @@ import java.util.List;
|
||||
*/
|
||||
public interface TbMemberConfigService extends IService<TbMemberConfig> {
|
||||
|
||||
@Override
|
||||
default UpdateChain<TbMemberConfig> updateChain() {
|
||||
return CzgUpdateChain.of(getMapper());
|
||||
}
|
||||
|
||||
MemberConfigVO detail(Long shopId);
|
||||
|
||||
UMemberConfigVO detail(Long shopId, Long userId);
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
package com.czg.utils;
|
||||
|
||||
import com.mybatisflex.core.BaseMapper;
|
||||
import com.mybatisflex.core.update.UpdateChain;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author ww
|
||||
* @date 2023/8/23
|
||||
*/
|
||||
public class CzgUpdateChain<T> extends UpdateChain<T> implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public CzgUpdateChain(BaseMapper<T> baseMapper) {
|
||||
super(baseMapper);
|
||||
}
|
||||
|
||||
public CzgUpdateChain(BaseMapper<T> baseMapper, T entityObject) {
|
||||
super(baseMapper, entityObject);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user