| | |
| | | import java.util.UUID;
|
| | |
|
| | | import javax.annotation.Resource;
|
| | | import javax.transaction.Transactional;
|
| | |
|
| | | import org.springframework.stereotype.Service;
|
| | | import org.springframework.transaction.annotation.Transactional;
|
| | | import org.springframework.web.multipart.MultipartFile;
|
| | | import org.yeshi.utils.tencentcloud.COSManager;
|
| | |
|
| | |
| | |
|
| | |
|
| | | @Override
|
| | | @Transactional
|
| | | @Transactional(rollbackFor=Exception.class)
|
| | | public int deleteBatchByPrimaryKey(List<Long> list) throws Exception{
|
| | | specialService.deleteBatchByCardID(list);
|
| | | return specialCardMapper.deleteBatchByPrimaryKey(list);
|
| | |
| | | }
|
| | |
|
| | | for (SpecialCard specialCard: listObj) {
|
| | | long totalSpecial= specialService.countlistQueryByCard(specialCard.getId(), null);
|
| | | long totalSpecial= specialService.countlistQueryByCard(specialCard.getId(), null, null);
|
| | | specialCard.setTotalSpecial(totalSpecial);
|
| | |
|
| | | Date startTime = specialCard.getStartTime();
|