|
@@ -39,13 +39,13 @@ public class CircleCardInfoServiceImpl implements ICircleCardInfoService{
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public Page<CircleCardInfo> list(String comId,String identityId,String commonId,Date gmtCreate,Date gmtUpdate,Long deleteFlag, Integer page, Integer limit)throws ServiceException {
|
|
|
+ public Page<CircleCardInfo> list(String circleId,String cardId,String commonId,Date gmtCreate,Date gmtUpdate,Long deleteFlag, Integer page, Integer limit)throws ServiceException {
|
|
|
Wrapper<CircleCardInfo> wrapper = new EntityWrapper<CircleCardInfo>();
|
|
|
- if (!StringUtils.isEmpty(comId)) {
|
|
|
- wrapper.eq("com_id", comId);
|
|
|
+ if (!StringUtils.isEmpty(circleId)) {
|
|
|
+ wrapper.eq("circle_id", circleId);
|
|
|
}
|
|
|
- if (!StringUtils.isEmpty(identityId)) {
|
|
|
- wrapper.eq("identity_id", identityId);
|
|
|
+ if (!StringUtils.isEmpty(cardId)) {
|
|
|
+ wrapper.eq("card_id", cardId);
|
|
|
}
|
|
|
if (!StringUtils.isEmpty(commonId)) {
|
|
|
wrapper.eq("common_id", commonId);
|
|
@@ -67,8 +67,8 @@ public class CircleCardInfoServiceImpl implements ICircleCardInfoService{
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- public Boolean delete(String comId) {
|
|
|
- String[] ids = String.valueOf(comId).split(",");
|
|
|
+ public Boolean delete(String circleId) {
|
|
|
+ String[] ids = String.valueOf(circleId).split(",");
|
|
|
for (String tt:ids) {
|
|
|
CircleCardInfo tmp = circleCardInfoMapper.selectById(Long.parseLong(tt));
|
|
|
if(tmp != null){
|
|
@@ -88,18 +88,18 @@ public class CircleCardInfoServiceImpl implements ICircleCardInfoService{
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public CircleCardInfo get(String comId) throws ServiceException {
|
|
|
- return circleCardInfoMapper.selectById(comId);
|
|
|
+ public CircleCardInfo get(String circleId) throws ServiceException {
|
|
|
+ return circleCardInfoMapper.selectById(circleId);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public String export(String comId,String identityId,String commonId,Date gmtCreate,Date gmtUpdate,Long deleteFlag, Integer page, Integer limit)throws ServiceException {
|
|
|
+ public String export(String circleId,String cardId,String commonId,Date gmtCreate,Date gmtUpdate,Long deleteFlag, Integer page, Integer limit)throws ServiceException {
|
|
|
Wrapper<CircleCardInfo> wrapper = new EntityWrapper<CircleCardInfo>();
|
|
|
- if (!StringUtils.isEmpty(comId)) {
|
|
|
- wrapper.eq("com_id", comId);
|
|
|
+ if (!StringUtils.isEmpty(circleId)) {
|
|
|
+ wrapper.eq("circle_id", circleId);
|
|
|
}
|
|
|
- if (!StringUtils.isEmpty(identityId)) {
|
|
|
- wrapper.eq("identity_id", identityId);
|
|
|
+ if (!StringUtils.isEmpty(cardId)) {
|
|
|
+ wrapper.eq("card_id", cardId);
|
|
|
}
|
|
|
if (!StringUtils.isEmpty(commonId)) {
|
|
|
wrapper.eq("common_id", commonId);
|