Skip to content

Commit

Permalink
[UPDATE]更新README
Browse files Browse the repository at this point in the history
  • Loading branch information
Exrick committed Jan 14, 2018
1 parent bd3c6fe commit 01fee3e
Show file tree
Hide file tree
Showing 15 changed files with 662 additions and 120 deletions.
280 changes: 211 additions & 69 deletions .idea/workspace.xml

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
### 开发中,敬请期待!
- Spring Cloud版
- APP
![](http://oweupqzdv.bkt.clouddn.com/QQ%E6%88%AA%E5%9B%BE20171231170920.png)
- XMall开放平台(仿微信开放平台)
![](http://oweupqzdv.bkt.clouddn.com/QQ%E6%88%AA%E5%9B%BE20171231172014.png)
### 基于SOA架构的分布式购物电商商城
- [x] 后台管理系统:管理商品、订单、类目、商品规格属性、用户、权限、系统统计、系统日志以及前台内容等功能
- [x] 前台系统:用户可以在前台系统中进行注册、登录、浏览商品、首页、下单等操作
Expand Down Expand Up @@ -100,7 +103,7 @@
- 按照依赖顺序分别在每个模块文件夹根目录执行 `mvn install` 命令
- 项目需按照依赖顺序运行除 `xmall-parent` `xmall-common` 以外其它所有服务,且都已配置好Tomcat插件, 执行命令 `mvn tomcat7:run` 或在IDEA中使用插件(`View - Tool Buttons - 右侧菜单Maven Projects - tomcat7 - tomcat7:run`)运行即可,当然可自行配置
- 后端管理系统默认端口8888 http://localhost:8888 管理员账密admin|123456
- 前端项目接口默认端口7777 前台页面请启动 [xmall-front](https://github.com/Exrick/xmall-front) 项目,并修改其接口配置
- 前端项目接口默认端口7777 前台页面请启动基于Vue的 [xmall-front](https://github.com/Exrick/xmall-front) 项目,并修改其接口配置
### 技术疑问交流
- 给作者项目Star或捐赠后可加入交流群 `475743731`,还可免费获取最新源码和 [UI框架](https://github.com/Exrick/xmall/blob/master/study/FlatLab.md) [![](http://pub.idqqimg.com/wpa/images/group.png)](http://shang.qq.com/wpa/qunwpa?idkey=7b60cec12ba93ebed7568b0a63f22e6e034c0d1df33125ac43ed753342ec6ce7)
- 作者博客:[http://blog.exrick.cn](http://blog.exrick.cn)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
<result column="money" jdbcType="DECIMAL" property="money" />
<result column="info" jdbcType="VARCHAR" property="info" />
<result column="date" jdbcType="TIMESTAMP" property="date" />
<result column="email" jdbcType="VARCHAR" property="email" />
<result column="state" jdbcType="INTEGER" property="state" />
<result column="pay_type" jdbcType="VARCHAR" property="payType" />
<result column="order_id" jdbcType="VARCHAR" property="orderId" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
Expand Down Expand Up @@ -68,7 +72,7 @@
</where>
</sql>
<sql id="Base_Column_List">
id, nick_name, username, money, info, date
id, nick_name, username, money, info, date, email, state, pay_type, order_id
</sql>
<select id="selectByExample" parameterType="cn.exrick.manager.pojo.TbThanksExample" resultMap="BaseResultMap">
select
Expand Down Expand Up @@ -102,11 +106,13 @@
</delete>
<insert id="insert" parameterType="cn.exrick.manager.pojo.TbThanks">
insert into tb_thanks (id, nick_name, username,
money, info, date
)
money, info, date,
email, state, pay_type,
order_id)
values (#{id,jdbcType=INTEGER}, #{nickName,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR},
#{money,jdbcType=DECIMAL}, #{info,jdbcType=VARCHAR}, #{date,jdbcType=TIMESTAMP}
)
#{money,jdbcType=DECIMAL}, #{info,jdbcType=VARCHAR}, #{date,jdbcType=TIMESTAMP},
#{email,jdbcType=VARCHAR}, #{state,jdbcType=INTEGER}, #{payType,jdbcType=VARCHAR},
#{orderId,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="cn.exrick.manager.pojo.TbThanks">
insert into tb_thanks
Expand All @@ -129,6 +135,18 @@
<if test="date != null">
date,
</if>
<if test="email != null">
email,
</if>
<if test="state != null">
state,
</if>
<if test="payType != null">
pay_type,
</if>
<if test="orderId != null">
order_id,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
Expand All @@ -149,6 +167,18 @@
<if test="date != null">
#{date,jdbcType=TIMESTAMP},
</if>
<if test="email != null">
#{email,jdbcType=VARCHAR},
</if>
<if test="state != null">
#{state,jdbcType=INTEGER},
</if>
<if test="payType != null">
#{payType,jdbcType=VARCHAR},
</if>
<if test="orderId != null">
#{orderId,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="cn.exrick.manager.pojo.TbThanksExample" resultType="java.lang.Long">
Expand Down Expand Up @@ -178,6 +208,18 @@
<if test="record.date != null">
date = #{record.date,jdbcType=TIMESTAMP},
</if>
<if test="record.email != null">
email = #{record.email,jdbcType=VARCHAR},
</if>
<if test="record.state != null">
state = #{record.state,jdbcType=INTEGER},
</if>
<if test="record.payType != null">
pay_type = #{record.payType,jdbcType=VARCHAR},
</if>
<if test="record.orderId != null">
order_id = #{record.orderId,jdbcType=VARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
Expand All @@ -190,7 +232,11 @@
username = #{record.username,jdbcType=VARCHAR},
money = #{record.money,jdbcType=DECIMAL},
info = #{record.info,jdbcType=VARCHAR},
date = #{record.date,jdbcType=TIMESTAMP}
date = #{record.date,jdbcType=TIMESTAMP},
email = #{record.email,jdbcType=VARCHAR},
state = #{record.state,jdbcType=INTEGER},
pay_type = #{record.payType,jdbcType=VARCHAR},
order_id = #{record.orderId,jdbcType=VARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
Expand All @@ -213,6 +259,18 @@
<if test="date != null">
date = #{date,jdbcType=TIMESTAMP},
</if>
<if test="email != null">
email = #{email,jdbcType=VARCHAR},
</if>
<if test="state != null">
state = #{state,jdbcType=INTEGER},
</if>
<if test="payType != null">
pay_type = #{payType,jdbcType=VARCHAR},
</if>
<if test="orderId != null">
order_id = #{orderId,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
Expand All @@ -222,7 +280,11 @@
username = #{username,jdbcType=VARCHAR},
money = #{money,jdbcType=DECIMAL},
info = #{info,jdbcType=VARCHAR},
date = #{date,jdbcType=TIMESTAMP}
date = #{date,jdbcType=TIMESTAMP},
email = #{email,jdbcType=VARCHAR},
state = #{state,jdbcType=INTEGER},
pay_type = #{payType,jdbcType=VARCHAR},
order_id = #{orderId,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
47 changes: 44 additions & 3 deletions generatorSqlmapCustom/src/cn/exrick/manager/pojo/TbThanks.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package cn.exrick.manager.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class TbThanks {
Expand All @@ -9,12 +10,20 @@ public class TbThanks {

private String username;

private Long money;
private BigDecimal money;

private String info;

private Date date;

private String email;

private Integer state;

private String payType;

private String orderId;

public Integer getId() {
return id;
}
Expand All @@ -39,11 +48,11 @@ public void setUsername(String username) {
this.username = username == null ? null : username.trim();
}

public Long getMoney() {
public BigDecimal getMoney() {
return money;
}

public void setMoney(Long money) {
public void setMoney(BigDecimal money) {
this.money = money;
}

Expand All @@ -62,4 +71,36 @@ public Date getDate() {
public void setDate(Date date) {
this.date = date;
}

public String getEmail() {
return email;
}

public void setEmail(String email) {
this.email = email == null ? null : email.trim();
}

public Integer getState() {
return state;
}

public void setState(Integer state) {
this.state = state;
}

public String getPayType() {
return payType;
}

public void setPayType(String payType) {
this.payType = payType == null ? null : payType.trim();
}

public String getOrderId() {
return orderId;
}

public void setOrderId(String orderId) {
this.orderId = orderId == null ? null : orderId.trim();
}
}
Loading

0 comments on commit 01fee3e

Please sign in to comment.