fix copy bug & add 拷贝开关字段 1-开启 不拷贝 不是1抽取到的都拷贝(空或者0 都拷贝)
This commit is contained in:
@@ -6,7 +6,6 @@ import com.sv.dto.api.MemberCardVenuesDTO;
|
||||
import com.sv.dto.api.VenueDTO;
|
||||
import com.sv.dto.oms.VenueOmsDTO;
|
||||
import com.sv.entity.Venue;
|
||||
import com.sv.entity.VenueCard;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
package com.sv.service.oms;
|
||||
|
||||
import com.enums.VenueTypeEnum;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.sv.dto.oms.VenueLessonOmsDTO;
|
||||
import com.sv.entity.Platform;
|
||||
import com.sv.entity.VenueLesson;
|
||||
import com.sv.entity.VenueLessonTag;
|
||||
import com.sv.entity.VenueLessonTicket;
|
||||
import com.sv.exception.oms.OmsException;
|
||||
import com.sv.mapper.VenueLessonMapper;
|
||||
@@ -28,13 +26,11 @@ import org.springframework.dao.DuplicateKeyException;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import redis.clients.jedis.Jedis;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.InputStream;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.*;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import static com.sv.entity.Constants.LESSON_TICKET_LOCK_KEY;
|
||||
|
||||
@@ -346,7 +342,7 @@ public class VenueLessonService extends BaseServiceImpl {
|
||||
VenueLesson x = venueLessonMapper.findById(lessonId);
|
||||
Integer oldId = x.getId();
|
||||
x.setId(null);
|
||||
x.setModifiedId(999);
|
||||
x.setModifiedId(888);
|
||||
x.setSaleNum(0);
|
||||
x.setModifiedTime(new Date());
|
||||
x.setDate(targetDate);
|
||||
|
||||
Reference in New Issue
Block a user