zhangyuewww 2 роки тому
батько
коміт
3ae87a625d

+ 2 - 2
unimall-admin-api/src/main/java/com/iotechn/unimall/admin/api/card/ICardExchangeInfoService.java

@@ -1,13 +1,13 @@
-package com.iotechn.unimall.admin.api.unimall;
+package com.iotechn.unimall.admin.api.card;
 
 
-import com.iotechn.unimall.data.domain.unimall.CardExchangeInfo;
 import com.iotechn.unimall.core.annotation.HttpMethod;
 import com.iotechn.unimall.core.annotation.HttpOpenApi;
 import com.iotechn.unimall.core.annotation.HttpParam;
 import com.iotechn.unimall.core.annotation.HttpParamType;
 import com.iotechn.unimall.core.annotation.param.NotNull;
 import com.iotechn.unimall.core.exception.ServiceException;
+import com.iotechn.unimall.data.domain.CardExchangeInfo;
 import com.iotechn.unimall.data.model.Page;
 import java.util.Date;
 

+ 8 - 8
unimall-admin-api/src/main/java/com/iotechn/unimall/admin/api/card/impl/CardExchangeInfoServiceImpl.java

@@ -2,21 +2,21 @@ package com.iotechn.unimall.admin.api.card.impl;
 
 import java.util.List;
 
+import com.iotechn.unimall.admin.api.card.ICardExchangeInfoService;
+import com.iotechn.unimall.data.domain.CardExchangeInfo;
 import com.iotechn.unimall.data.domain.CardHolderInfo;
+import com.iotechn.unimall.data.mapper.CardExchangeInfoMapper;
 import com.iotechn.unimall.data.mapper.CardHolderInfoMapper;
+import com.iotechn.unimall.data.model.Page;
+import com.baomidou.mybatisplus.mapper.EntityWrapper;
+import com.baomidou.mybatisplus.mapper.Wrapper;
+import com.iotechn.unimall.data.util.ExcelUtil;
 import org.apache.ibatis.session.RowBounds;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.util.StringUtils;
 
-import com.baomidou.mybatisplus.mapper.EntityWrapper;
-import com.baomidou.mybatisplus.mapper.Wrapper;
 import com.iotechn.unimall.core.exception.ServiceException;
-import com.iotechn.unimall.data.util.ExcelUtil;
-import com.iotechn.unimall.data.mapper.unimall.CardExchangeInfoMapper;
-import com.iotechn.unimall.data.domain.unimall.CardExchangeInfo;
-import com.iotechn.unimall.admin.api.unimall.ICardExchangeInfoService;
-import com.iotechn.unimall.data.model.Page;
 import java.util.Date;
 import org.springframework.transaction.annotation.Transactional;
 
@@ -27,7 +27,7 @@ import org.springframework.transaction.annotation.Transactional;
  * @date 2023-04-12
  */
 @Service
-public class CardExchangeInfoServiceImpl implements ICardExchangeInfoService{
+public class CardExchangeInfoServiceImpl implements ICardExchangeInfoService {
 	@Autowired
 	private CardExchangeInfoMapper cardExchangeInfoMapper;
 	@Autowired

+ 3 - 3
unimall-data/src/main/java/com/iotechn/unimall/data/domain/CardExchangeInfo.java

@@ -1,4 +1,4 @@
-package com.iotechn.unimall.data.domain.unimall;
+package com.iotechn.unimall.data.domain;
 
 import com.iotechn.unimall.data.domain.SuperDO;
 import org.apache.commons.lang3.builder.ToStringBuilder;
@@ -84,8 +84,8 @@ public class CardExchangeInfo extends SuperDO {
             .append("id", getId())
             .append("sendId", getSendId())
             .append("receiveId", getReceiveId())
-            .append("sendCarId", getSendCarId())
-            .append("receiveCarId", getReceiveCarId())
+            .append("sendCarId", getSendCardId())
+            .append("receiveCarId", getReceiveCardId())
             .append("circleName", getCircleName())
             .append("status", getStatus())
             .append("gmtCreate", getGmtCreate())

+ 4 - 3
unimall-data/src/main/java/com/iotechn/unimall/data/mapper/CardExchangeInfoMapper.java

@@ -1,13 +1,14 @@
-package com.iotechn.unimall.data.mapper.unimall;
+package com.iotechn.unimall.data.mapper;
 
-import com.iotechn.unimall.data.domain.unimall.CardExchangeInfo;
 import com.baomidou.mybatisplus.mapper.BaseMapper;
+import com.iotechn.unimall.data.domain.CardExchangeInfo;
+
 /**
  * 名片交换Mapper接口
  * 
  * @author jlb
  * @date 2023-04-12
  */
-public interface CardExchangeInfoMapper extends BaseMapper<CardExchangeInfo>{
+public interface CardExchangeInfoMapper extends BaseMapper<CardExchangeInfo> {
 
 }