diff --git a/february-merchant-common/src/main/java/com/february/system/domain/constants/Constants.java b/february-merchant-common/src/main/java/com/february/system/domain/constants/Constants.java index 8d87b54..68378a6 100644 --- a/february-merchant-common/src/main/java/com/february/system/domain/constants/Constants.java +++ b/february-merchant-common/src/main/java/com/february/system/domain/constants/Constants.java @@ -9,6 +9,7 @@ public class Constants { * 成功标记 */ public static final Integer SUCCESS = 200; + public static final String SUCCESS_MSG = "操作成功"; /** * 失败标记 diff --git a/february-merchant-mybatis-plus/src/main/java/com/february/mybatisplus/demo/Chinas.java b/february-merchant-mybatis-plus/src/main/java/com/february/mybatisplus/demo/Chinas.java new file mode 100644 index 0000000..e458079 --- /dev/null +++ b/february-merchant-mybatis-plus/src/main/java/com/february/mybatisplus/demo/Chinas.java @@ -0,0 +1,28 @@ +package com.february.mybatisplus.demo; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +@TableName("chinas") +public class Chinas { + @TableId(value = "id",type = IdType.AUTO) + private Integer id; + @TableField("code") + private Integer code; + @TableField("name") + private String name; + @TableField("pid") + private Integer pid; + @TableField("level") + private String level; +} diff --git a/february-merchant-mybatis-plus/src/main/java/com/february/mybatisplus/demo/Tcity.java b/february-merchant-mybatis-plus/src/main/java/com/february/mybatisplus/demo/Tcity.java new file mode 100644 index 0000000..b2b2930 --- /dev/null +++ b/february-merchant-mybatis-plus/src/main/java/com/february/mybatisplus/demo/Tcity.java @@ -0,0 +1,24 @@ +package com.february.mybatisplus.demo; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +@TableName("t_city") +public class Tcity { + @TableId(value = "city_id",type = IdType.AUTO) + private Integer cityId; + @TableField("province_id") + private Integer provinceId; + @TableField("city_name") + private String cityName; +} diff --git a/february-merchant-mybatis-plus/src/main/java/com/february/mybatisplus/demo/Tcounty.java b/february-merchant-mybatis-plus/src/main/java/com/february/mybatisplus/demo/Tcounty.java new file mode 100644 index 0000000..532abbb --- /dev/null +++ b/february-merchant-mybatis-plus/src/main/java/com/february/mybatisplus/demo/Tcounty.java @@ -0,0 +1,24 @@ +package com.february.mybatisplus.demo; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +@TableName("t_county") +public class Tcounty { + @TableId(value = "county_id",type = IdType.AUTO) + private Integer countyId; + @TableField("city_id") + private Integer cityId; + @TableField("county_name") + private String countyName; +} diff --git a/february-merchant-mybatis-plus/src/main/java/com/february/mybatisplus/demo/Tprovince.java b/february-merchant-mybatis-plus/src/main/java/com/february/mybatisplus/demo/Tprovince.java new file mode 100644 index 0000000..1c21755 --- /dev/null +++ b/february-merchant-mybatis-plus/src/main/java/com/february/mybatisplus/demo/Tprovince.java @@ -0,0 +1,22 @@ +package com.february.mybatisplus.demo; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +@TableName("t_prcvince") +public class Tprovince { + @TableId(value = "province_id",type = IdType.AUTO) + private Integer provinceId; + @TableField("province_name") + private String provinceName; +} diff --git a/february-merchant-remote/pom.xml b/february-merchant-remote/pom.xml index 768678d..e6c1387 100644 --- a/february-merchant-remote/pom.xml +++ b/february-merchant-remote/pom.xml @@ -9,6 +9,8 @@ 3.6.3 3.6.3 + pom + february-merchant-remote diff --git a/february-merchant-springboot/pom.xml b/february-merchant-springboot/pom.xml new file mode 100644 index 0000000..9d3c695 --- /dev/null +++ b/february-merchant-springboot/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + com.february + february-merchant-settlement + 3.6.3 + + + february-merchant-springboot + + + 17 + 17 + UTF-8 + + + diff --git a/pom.xml b/pom.xml index d03f1d3..3c3cd66 100644 --- a/pom.xml +++ b/pom.xml @@ -17,6 +17,7 @@ february-merchant-remote february-merchant-server february-merchant-mybatis-plus + february-merchant-springboot february-merchant-settlement pom