You've already forked FrameTour-BE
refactor(order): 将 OrderMapper 重命名为 OrderV2Mapper- 将 OrderMapper 接口重命名为 OrderV2Mapper
- 更新了相关服务类中的 Mapper引用 - 修改了 OrderServiceImpl 中的字段名从 orderMapper改为 orderV2Mapper - 更新了与订单相关的所有方法中对 Mapper 的调用
This commit is contained in:
@@ -57,6 +57,7 @@ import com.ycwl.basic.utils.SnowFlakeUtil;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.context.annotation.ScopedProxyMode;
|
||||
import org.springframework.stereotype.Service;
|
||||
@@ -78,7 +79,7 @@ import java.util.stream.Collectors;
|
||||
* @Date:2024/12/3 13:54
|
||||
*/
|
||||
@Slf4j
|
||||
@Service
|
||||
@Service("OrderServiceOldImpl")
|
||||
@Scope(proxyMode = ScopedProxyMode.TARGET_CLASS)
|
||||
public class OrderServiceImpl implements OrderService {
|
||||
|
||||
@@ -86,6 +87,7 @@ public class OrderServiceImpl implements OrderService {
|
||||
private OrderMapper orderMapper;
|
||||
|
||||
@Autowired
|
||||
@Qualifier(value = "OrderServiceOldImpl")
|
||||
private OrderServiceImpl self;
|
||||
@Autowired
|
||||
private SourceMapper sourceMapper;
|
||||
|
Reference in New Issue
Block a user