|
@@ -1,8 +1,6 @@
|
|
|
package com.ruoyi.system.service.impl;
|
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.Date;
|
|
|
-import java.util.List;
|
|
|
+import java.util.*;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
@@ -12,6 +10,7 @@ import com.ruoyi.common.utils.StringUtils;
|
|
|
import com.ruoyi.common.utils.bean.BeanUtils;
|
|
|
import com.ruoyi.system.domain.PoCollection;
|
|
|
import com.ruoyi.system.domain.vo.TetherVo;
|
|
|
+import com.ruoyi.system.mapper.PoCollectionMapper;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import com.ruoyi.system.mapper.PoTetherMapper;
|
|
@@ -35,6 +34,9 @@ public class PoTetherServiceImpl extends ServiceImpl<PoTetherMapper,PoTether> im
|
|
|
@Autowired
|
|
|
private PoCollectionServiceImpl poCollectionService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private PoCollectionMapper poCollectionMapper;
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 在售
|
|
@@ -162,7 +164,8 @@ public class PoTetherServiceImpl extends ServiceImpl<PoTetherMapper,PoTether> im
|
|
|
poCollection.setCollectionTitle(tetherVo.getPoTetherandcollections().get(i).getCollectionTitle());
|
|
|
poCollection.setCollectionType(tetherVo.getPoTetherandcollections().get(i).getCollectionType());
|
|
|
poCollection.setTetherId(tetherVo.getTetherId());
|
|
|
- poCollectionService.insertCollection(poCollection);
|
|
|
+ //System.out.println(tetherVo.getTetherId());
|
|
|
+ poCollectionMapper.insertPoCollection(poCollection);
|
|
|
}
|
|
|
}
|
|
|
}
|