fixbug—课程复制
This commit is contained in:
@@ -316,9 +316,11 @@ public class VenueLessonService extends BaseServiceImpl {
|
||||
Integer oldId = x.getId();
|
||||
x.setId(null);
|
||||
x.setModifiedId(999);
|
||||
x.setSaleNum(0);
|
||||
x.setModifiedTime(new Date());
|
||||
x.setDate(start);
|
||||
venueLessonMapper.insert(x);
|
||||
insertLessonTicket(x);
|
||||
venueLessonMapper.copyImg(oldId, x.getId());
|
||||
}
|
||||
start = DateUtilCard.addOneDay(start);
|
||||
|
||||
Reference in New Issue
Block a user