From 614ffc9abfe568b4fe1857330e54d559676d324e Mon Sep 17 00:00:00 2001 From: SongZhang <2064194730@qq.com> Date: Fri, 23 Aug 2024 10:28:49 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BB=A3=E5=AE=A2=E4=B8=8B=E5=8D=95=20?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=9F=A5=E8=AF=A2=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E5=95=86=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entity/{TbMShopUser.java => TbShopUser.java} | 14 ++++++-------- .../cashier/mybatis/mapper/TbMShopUserMapper.java | 5 ++--- .../cashier/mybatis/mapper/TbOrderInfoMapper.java | 2 -- .../mybatis/service/TbMShopUserService.java | 4 ++-- .../service/impl/TbMShopUserServiceImpl.java | 4 ++-- .../ysk/cashier/service/impl/TbPayServiceImpl.java | 9 ++++----- .../main/resources/mapper/TbMShopUserMapper.xml | 2 +- 7 files changed, 17 insertions(+), 23 deletions(-) rename eladmin-system/src/main/java/cn/ysk/cashier/mybatis/entity/{TbMShopUser.java => TbShopUser.java} (98%) diff --git a/eladmin-system/src/main/java/cn/ysk/cashier/mybatis/entity/TbMShopUser.java b/eladmin-system/src/main/java/cn/ysk/cashier/mybatis/entity/TbShopUser.java similarity index 98% rename from eladmin-system/src/main/java/cn/ysk/cashier/mybatis/entity/TbMShopUser.java rename to eladmin-system/src/main/java/cn/ysk/cashier/mybatis/entity/TbShopUser.java index 19382b3b..5e3d56bd 100644 --- a/eladmin-system/src/main/java/cn/ysk/cashier/mybatis/entity/TbMShopUser.java +++ b/eladmin-system/src/main/java/cn/ysk/cashier/mybatis/entity/TbShopUser.java @@ -2,8 +2,6 @@ package cn.ysk.cashier.mybatis.entity; import java.io.Serializable; import java.math.BigDecimal; -import javax.persistence.Column; -import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import lombok.Data; @@ -14,7 +12,7 @@ import lombok.Data; */ @Table(name="tb_shop_user") @Data -public class TbMShopUser implements Serializable { +public class TbShopUser implements Serializable { /** * (随机) */ @@ -82,7 +80,7 @@ public class TbMShopUser implements Serializable { private String name; /** - * + * */ private String head_img; @@ -142,12 +140,12 @@ public class TbMShopUser implements Serializable { private Integer sort; /** - * + * */ private Long created_at; /** - * + * */ private Long updated_at; @@ -174,7 +172,7 @@ public class TbMShopUser implements Serializable { if (getClass() != that.getClass()) { return false; } - TbMShopUser other = (TbMShopUser) that; + TbShopUser other = (TbShopUser) that; return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) && (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount())) && (this.getCredit_amount() == null ? other.getCredit_amount() == null : this.getCredit_amount().equals(other.getCredit_amount())) @@ -281,4 +279,4 @@ public class TbMShopUser implements Serializable { sb.append("]"); return sb.toString(); } -} \ No newline at end of file +} diff --git a/eladmin-system/src/main/java/cn/ysk/cashier/mybatis/mapper/TbMShopUserMapper.java b/eladmin-system/src/main/java/cn/ysk/cashier/mybatis/mapper/TbMShopUserMapper.java index a308f567..e3b4285a 100644 --- a/eladmin-system/src/main/java/cn/ysk/cashier/mybatis/mapper/TbMShopUserMapper.java +++ b/eladmin-system/src/main/java/cn/ysk/cashier/mybatis/mapper/TbMShopUserMapper.java @@ -1,7 +1,6 @@ package cn.ysk.cashier.mybatis.mapper; -import cn.ysk.cashier.dto.shop.TbShopUserQueryCriteria; -import cn.ysk.cashier.mybatis.entity.TbMShopUser; +import cn.ysk.cashier.mybatis.entity.TbShopUser; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; @@ -16,7 +15,7 @@ import java.util.Map; * @createDate 2024-07-06 11:46:46 * @Entity cn.ysk.cashier.mybatis.entity.TbMShopUser */ -public interface TbMShopUserMapper extends BaseMapper { +public interface TbMShopUserMapper extends BaseMapper { @Select("