Skip to content

Commit 6809584

Browse files
author
foreyer
committed
商品服务构建,文件上传,品牌管理
1 parent dd6df6f commit 6809584

File tree

123 files changed

+1417
-8393
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+1417
-8393
lines changed

pom.xml

+19-19
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<module>vacomall-facade-system</module>
3030
<module>vacomall-service-system</module>
3131
<module>vacomall-common-shiro</module>
32+
<module>vacomall-generator</module>
33+
<module>vacomall-facade-goods</module>
34+
<module>vacomall-service-goods</module>
3235
</modules>
3336
<packaging>pom</packaging>
3437

@@ -52,7 +55,7 @@
5255
<joda-time.version>2.5</joda-time.version>
5356
<commons-lang3.version>3.3.2</commons-lang3.version>
5457
<commons-lang.version>2.6</commons-lang.version>
55-
<commons-io.version>1.3.2</commons-io.version>
58+
<commons-io.version>2.5</commons-io.version>
5659
<commons-net.version>3.3</commons-net.version>
5760
<pagehelper.version>5.0.0</pagehelper.version>
5861
<jsqlparser.version>0.9.1</jsqlparser.version>
@@ -157,20 +160,14 @@
157160
<artifactId>vacomall-facade-system</artifactId>
158161
<version>${vacomall.version}</version>
159162
</dependency>
160-
161-
<!-- service -->
162-
<dependency>
163-
<groupId>com.vacomall</groupId>
164-
<artifactId>vacomall-service-rabbitmq</artifactId>
165-
<version>${vacomall.version}</version>
166-
</dependency>
167-
168163
<dependency>
169164
<groupId>com.vacomall</groupId>
170-
<artifactId>vacomall-service-redis</artifactId>
165+
<artifactId>vacomall-facade-goods</artifactId>
171166
<version>${vacomall.version}</version>
172167
</dependency>
173168

169+
<!-- service -->
170+
174171

175172
<!-- 邮件发送 -->
176173
<dependency>
@@ -331,7 +328,7 @@
331328
<version>${commons-lang.version}</version>
332329
</dependency>
333330
<dependency>
334-
<groupId>org.apache.commons</groupId>
331+
<groupId>commons-io</groupId>
335332
<artifactId>commons-io</artifactId>
336333
<version>${commons-io.version}</version>
337334
</dependency>
@@ -478,19 +475,16 @@
478475
<groupId>javax.servlet</groupId>
479476
<artifactId>servlet-api</artifactId>
480477
<version>${servlet-api.version}</version>
481-
<scope>provided</scope>
482478
</dependency>
483479
<dependency>
484480
<groupId>javax.servlet</groupId>
485481
<artifactId>javax.servlet-api</artifactId>
486482
<version>3.0.1</version>
487-
<scope>provided</scope>
488483
</dependency>
489484
<dependency>
490485
<groupId>javax.servlet</groupId>
491486
<artifactId>jsp-api</artifactId>
492487
<version>${jsp-api.version}</version>
493-
<scope>provided</scope>
494488
</dependency>
495489
<!-- 文件上传组件 -->
496490
<dependency>
@@ -620,13 +614,19 @@
620614
<artifactId>disconf-client</artifactId>
621615
<version>${disconf.version}</version>
622616
</dependency>
623-
617+
624618
<!-- javamelody-core 监控 -->
625619
<dependency>
626-
<groupId>net.bull.javamelody</groupId>
627-
<artifactId>javamelody-core</artifactId>
628-
<version>1.69.0</version>
629-
</dependency>
620+
<groupId>net.bull.javamelody</groupId>
621+
<artifactId>javamelody-core</artifactId>
622+
<version>1.69.0</version>
623+
</dependency>
624+
625+
<dependency>
626+
<groupId>org.apache.velocity</groupId>
627+
<artifactId>velocity</artifactId>
628+
<version>1.7</version>
629+
</dependency>
630630

631631
</dependencies>
632632
</dependencyManagement>

vacomall-common/pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@
4444
<groupId>commons-lang</groupId>
4545
<artifactId>commons-lang</artifactId>
4646
</dependency>
47+
4748
<dependency>
48-
<groupId>org.apache.commons</groupId>
49+
<groupId>commons-io</groupId>
4950
<artifactId>commons-io</artifactId>
5051
</dependency>
52+
5153
<dependency>
5254
<groupId>commons-net</groupId>
5355
<artifactId>commons-net</artifactId>

vacomall-facade-goods/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# vacomall
2+
商品接口模块

vacomall-facade-goods/pom.xml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<parent>
5+
<groupId>com.vacomall</groupId>
6+
<artifactId>vacomall-parent</artifactId>
7+
<version>1.0-SNAPSHOT</version>
8+
</parent>
9+
<artifactId>vacomall-facade-goods</artifactId>
10+
<dependencies>
11+
12+
<dependency>
13+
<groupId>com.vacomall</groupId>
14+
<artifactId>vacomall-common</artifactId>
15+
</dependency>
16+
17+
<dependency>
18+
<groupId>com.baomidou</groupId>
19+
<artifactId>mybatis-plus</artifactId>
20+
</dependency>
21+
22+
<dependency>
23+
<groupId>org.hibernate</groupId>
24+
<artifactId>hibernate-validator</artifactId>
25+
</dependency>
26+
27+
</dependencies>
28+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package com.vacomall.goods.i;
2+
3+
import com.vacomall.goods.model.Brand;
4+
import com.baomidou.mybatisplus.service.IService;
5+
6+
/**
7+
* <p>
8+
* 商品品牌信息记录表 服务类
9+
* </p>
10+
*
11+
* @author GaoJun.Zhou
12+
* @since 2017-09-08
13+
*/
14+
public interface IBrandService extends IService<Brand> {
15+
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
package com.vacomall.goods.model;
2+
3+
import com.baomidou.mybatisplus.enums.IdType;
4+
import com.baomidou.mybatisplus.annotations.TableId;
5+
import com.baomidou.mybatisplus.annotations.TableField;
6+
import com.baomidou.mybatisplus.activerecord.Model;
7+
import com.baomidou.mybatisplus.annotations.TableName;
8+
import java.io.Serializable;
9+
10+
/**
11+
* <p>
12+
* 商品品牌信息记录表
13+
* </p>
14+
*
15+
* @author GaoJun.Zhou
16+
* @since 2017-09-08
17+
*/
18+
@TableName("ecs_brand")
19+
public class Brand extends Model<Brand> {
20+
21+
private static final long serialVersionUID = 1L;
22+
23+
/**
24+
* 自增ID号
25+
*/
26+
@TableId(value="brand_id", type= IdType.AUTO)
27+
private Integer brandId;
28+
/**
29+
* 品牌名称
30+
*/
31+
@TableField("brand_name")
32+
private String brandName;
33+
/**
34+
* 上传的该品牌公司logo图片
35+
*/
36+
@TableField("brand_logo")
37+
private String brandLogo;
38+
/**
39+
* 品牌描述
40+
*/
41+
@TableField("brand_desc")
42+
private String brandDesc;
43+
/**
44+
* 品牌的网址
45+
*/
46+
@TableField("site_url")
47+
private String siteUrl;
48+
/**
49+
* 品牌在前台页面的显示顺序,数字越大越靠后
50+
*/
51+
@TableField("sort_order")
52+
private Integer sortOrder;
53+
/**
54+
* 该品牌是否显示,0,否;1,显示
55+
*/
56+
@TableField("is_show")
57+
private Integer isShow;
58+
59+
60+
public Integer getBrandId() {
61+
return brandId;
62+
}
63+
64+
public void setBrandId(Integer brandId) {
65+
this.brandId = brandId;
66+
}
67+
68+
public String getBrandName() {
69+
return brandName;
70+
}
71+
72+
public void setBrandName(String brandName) {
73+
this.brandName = brandName;
74+
}
75+
76+
public String getBrandLogo() {
77+
return brandLogo;
78+
}
79+
80+
public void setBrandLogo(String brandLogo) {
81+
this.brandLogo = brandLogo;
82+
}
83+
84+
public String getBrandDesc() {
85+
return brandDesc;
86+
}
87+
88+
public void setBrandDesc(String brandDesc) {
89+
this.brandDesc = brandDesc;
90+
}
91+
92+
public String getSiteUrl() {
93+
return siteUrl;
94+
}
95+
96+
public void setSiteUrl(String siteUrl) {
97+
this.siteUrl = siteUrl;
98+
}
99+
100+
public Integer getSortOrder() {
101+
return sortOrder;
102+
}
103+
104+
public void setSortOrder(Integer sortOrder) {
105+
this.sortOrder = sortOrder;
106+
}
107+
108+
public Integer getIsShow() {
109+
return isShow;
110+
}
111+
112+
public void setIsShow(Integer isShow) {
113+
this.isShow = isShow;
114+
}
115+
116+
@Override
117+
protected Serializable pkVal() {
118+
return this.brandId;
119+
}
120+
121+
}

vacomall-generator/pom.xml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<parent>
5+
<groupId>com.vacomall</groupId>
6+
<artifactId>vacomall-parent</artifactId>
7+
<version>1.0-SNAPSHOT</version>
8+
</parent>
9+
<artifactId>vacomall-generator</artifactId>
10+
11+
<dependencies>
12+
13+
<dependency>
14+
<groupId>com.vacomall</groupId>
15+
<artifactId>vacomall-common-service</artifactId>
16+
</dependency>
17+
18+
<dependency>
19+
<groupId>com.vacomall</groupId>
20+
<artifactId>vacomall-common-web</artifactId>
21+
</dependency>
22+
23+
24+
<dependency>
25+
<groupId>com.baomidou</groupId>
26+
<artifactId>mybatis-plus</artifactId>
27+
</dependency>
28+
29+
<dependency>
30+
<groupId>org.apache.velocity</groupId>
31+
<artifactId>velocity</artifactId>
32+
</dependency>
33+
34+
</dependencies>
35+
36+
</project>

0 commit comments

Comments
 (0)