diff --git a/ghy-custom/pom.xml b/ghy-custom/pom.xml
new file mode 100644
index 00000000..7d34add3
--- /dev/null
+++ b/ghy-custom/pom.xml
@@ -0,0 +1,28 @@
+
+
+
+
+ ghy
+ com.ghy
+ 1.0.0
+
+ 4.0.0
+
+ ghy-custom
+
+
+ 消费者模块
+
+
+
+
+
+
+ com.ghy
+ ghy-common
+
+
+
+
+
\ No newline at end of file
diff --git a/ghy-custom/src/main/java/com/ghy/customer/domain/Customer.java b/ghy-custom/src/main/java/com/ghy/customer/domain/Customer.java
new file mode 100644
index 00000000..5d35c1c4
--- /dev/null
+++ b/ghy-custom/src/main/java/com/ghy/customer/domain/Customer.java
@@ -0,0 +1,36 @@
+package com.ghy.customer.domain;
+
+import com.ghy.common.annotation.Excel;
+import com.ghy.common.core.domain.BaseEntity;
+import lombok.Data;
+
+/**
+ * @author clunt
+ * 消费者实体
+ */
+@Data
+public class Customer extends BaseEntity {
+
+ @Excel(name = "用户id", cellType = Excel.ColumnType.NUMERIC)
+ private Long customerId;
+
+ @Excel(name = "用户名", cellType = Excel.ColumnType.STRING)
+ private String name;
+
+ @Excel(name = "用户微信账号", cellType = Excel.ColumnType.STRING)
+ private String account;
+
+ @Excel(name = "用户手机号", cellType = Excel.ColumnType.STRING)
+ private String phone;
+
+ @Excel(name = "微信open_id", cellType = Excel.ColumnType.STRING)
+ private String openId;
+
+ @Excel(name = "用户状态 0生效 1冻结 2删除", readConverterExp = "0=生效,1=冻结,2=删除")
+ private Integer status;
+
+ @Excel(name = "用户头像", cellType = Excel.ColumnType.STRING)
+ private String customerLogoUrl;
+
+
+}
diff --git a/ghy-custom/src/main/java/com/ghy/customer/mapper/CustomerMapper.java b/ghy-custom/src/main/java/com/ghy/customer/mapper/CustomerMapper.java
new file mode 100644
index 00000000..2d50104b
--- /dev/null
+++ b/ghy-custom/src/main/java/com/ghy/customer/mapper/CustomerMapper.java
@@ -0,0 +1,7 @@
+package com.ghy.customer.mapper;
+
+public interface CustomerMapper {
+
+
+
+}
\ No newline at end of file
diff --git a/ghy-custom/src/main/java/com/ghy/customer/service/CustomerService.java b/ghy-custom/src/main/java/com/ghy/customer/service/CustomerService.java
new file mode 100644
index 00000000..867dd74b
--- /dev/null
+++ b/ghy-custom/src/main/java/com/ghy/customer/service/CustomerService.java
@@ -0,0 +1,4 @@
+package com.ghy.customer.service;
+
+public interface CustomerService {
+}
diff --git a/ghy-custom/src/main/java/com/ghy/customer/service/impl/CustomerServiceImpl.java b/ghy-custom/src/main/java/com/ghy/customer/service/impl/CustomerServiceImpl.java
new file mode 100644
index 00000000..fefa0d72
--- /dev/null
+++ b/ghy-custom/src/main/java/com/ghy/customer/service/impl/CustomerServiceImpl.java
@@ -0,0 +1,11 @@
+package com.ghy.customer.service.impl;
+
+import com.ghy.customer.service.CustomerService;
+import org.springframework.stereotype.Service;
+
+@Service
+public class CustomerServiceImpl implements CustomerService {
+
+
+
+}
diff --git a/ghy-custom/src/main/resources/mapper.customer/CustomerMapper.xml b/ghy-custom/src/main/resources/mapper.customer/CustomerMapper.xml
new file mode 100644
index 00000000..0cf445e3
--- /dev/null
+++ b/ghy-custom/src/main/resources/mapper.customer/CustomerMapper.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT goods_imgs_id, goods_id, img_url, create_by, create_time, remark
+ FROM goods_imgs
+
+
+
+ DELETE FROM goods_imgs WHERE goods_imgs_id IN
+
+ #{goodsImgsId}
+
+
+
+
+ DELETE FROM goods_imgs WHERE goods_id = #{goodsId}
+
+
+
+
+
+
+ INSERT INTO goods_imgs(
+ goods_imgs_id,
+ goods_id,
+ img_url,
+ remark,
+ create_by,
+ create_time)
+ VALUES(
+ #{goodsImgsId},
+ #{goodsId},
+ #{imgUrl},
+ #{remark},
+ #{createBy},
+ sysdate());
+
+
+
+
+
+ UPDATE goods_imgs
+
+ goods_id = #{goodsId},
+ img_url = #{imgUrl},
+ update_time = sysdate()
+
+ WHERE goods_imgs_id = #{goodsImgsId};
+
+
+
+
\ No newline at end of file
diff --git a/ghy-custom/src/test/java/com/ghy/customer/CustomerApplicationTests.java b/ghy-custom/src/test/java/com/ghy/customer/CustomerApplicationTests.java
new file mode 100644
index 00000000..7d18efc0
--- /dev/null
+++ b/ghy-custom/src/test/java/com/ghy/customer/CustomerApplicationTests.java
@@ -0,0 +1,13 @@
+package com.ghy.customer;
+
+//import org.junit.jupiter.api.Test;
+//import org.springframework.boot.test.context.SpringBootTest;
+
+//@SpringBootTest
+class CustomerApplicationTests {
+
+// @Test
+ void contextLoads() {
+ }
+
+}
diff --git a/ghy-goods/src/main/java/com/ghy/goods/domain/Goods.java b/ghy-goods/src/main/java/com/ghy/goods/domain/Goods.java
index 2c84e689..3ac40914 100644
--- a/ghy-goods/src/main/java/com/ghy/goods/domain/Goods.java
+++ b/ghy-goods/src/main/java/com/ghy/goods/domain/Goods.java
@@ -51,7 +51,4 @@ public class Goods extends BaseEntity {
@Excel(name = "商品库存,-1则表示无限制", cellType = Excel.ColumnType.NUMERIC)
private Integer goodsNumber;
- @Excel(name = "描述")
- private String remark;
-
}
diff --git a/pom.xml b/pom.xml
index 39e821a4..8002d1f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -274,6 +274,7 @@
ghy-quartz
ghy-generator
ghy-common
+ ghy-custom
pom