|
@@ -2,8 +2,10 @@ package com.zanxiang.game.platform.serve.service.impl;
|
|
|
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.zanxiang.game.platform.serve.dao.mapper.PlatformDeYangOrderMapper;
|
|
import com.zanxiang.game.platform.serve.dao.mapper.PlatformDeYangOrderMapper;
|
|
|
|
+import com.zanxiang.game.platform.serve.pojo.dto.PlatformDeYangOrderDTO;
|
|
import com.zanxiang.game.platform.serve.pojo.entity.PlatformDeYangOrder;
|
|
import com.zanxiang.game.platform.serve.pojo.entity.PlatformDeYangOrder;
|
|
import com.zanxiang.game.platform.serve.service.IPlatformDeYangOrderService;
|
|
import com.zanxiang.game.platform.serve.service.IPlatformDeYangOrderService;
|
|
|
|
+import com.zanxiang.module.util.bean.BeanUtil;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@@ -15,4 +17,9 @@ import org.springframework.stereotype.Service;
|
|
@Slf4j
|
|
@Slf4j
|
|
@Service
|
|
@Service
|
|
public class PlatformDeYangOrderServiceImpl extends ServiceImpl<PlatformDeYangOrderMapper, PlatformDeYangOrder> implements IPlatformDeYangOrderService {
|
|
public class PlatformDeYangOrderServiceImpl extends ServiceImpl<PlatformDeYangOrderMapper, PlatformDeYangOrder> implements IPlatformDeYangOrderService {
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public Boolean addOrUpdate(PlatformDeYangOrderDTO orderDTO) {
|
|
|
|
+ return super.saveOrUpdate(BeanUtil.copy(orderDTO, PlatformDeYangOrder.class));
|
|
|
|
+ }
|
|
}
|
|
}
|