Skip to content

Commit

Permalink
feat: 单词使用错误,采用“更新”,而不是“跟新”。
Browse files Browse the repository at this point in the history
  • Loading branch information
linlinjava committed Nov 23, 2018
1 parent 29dc050 commit a64e941
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions doc/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

原因:

这里可能是缓存问题,虽然修改了appid,但是微信开发者工具未及时跟新
这里可能是缓存问题,虽然修改了appid,但是微信开发者工具未及时更新

解决:

Expand Down Expand Up @@ -150,7 +150,7 @@ org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

原因:

应该是自动生成的新的XML文件没有及时跟新到编译文件夹target中,造成了target中mybatis的Java代码和XML文件不对应。
应该是自动生成的新的XML文件没有及时更新到编译文件夹target中,造成了target中mybatis的Java代码和XML文件不对应。

解决:

Expand Down
2 changes: 1 addition & 1 deletion doc/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

用户登录成功以后,后端会返回`token`,之后用户的请求都会携带token。

目前token的失效和跟新机制没有涉及
目前token的失效和更新机制没有涉及

#### 4.1.8.2 CROS

Expand Down
2 changes: 1 addition & 1 deletion doc/platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ litemall-db模块中不涉及到事务管理,而是在其他后台服务模块
事务管理的问题出现在多个表的修改操作中。

例如用户A修改表1,再修改表2,而如果修改表2的时候出现错误推出,
此时如果没有引入事务管理,那么这里会存在表1数据已跟新,表2数据
此时如果没有引入事务管理,那么这里会存在表1数据已更新,表2数据
未更新的问题。

解决的方案是采用spring自带的事务管理机制。
Expand Down
2 changes: 1 addition & 1 deletion doc/wxmall.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* `改善`商品好评计算与显示,例如90%好评
* `改善`商品的评论列表中显示评价的评论分数、商品规格
* `改善`商品的评论列表中的图片点击可放大,同时用户评价的多个图片可以选择左右滑动查看。
* `改善`当一些页面查询数据没有跟新时,底部显示相应的提醒,例如“没有更多数据”。
* `改善`当一些页面查询数据没有更新时,底部显示相应的提醒,例如“没有更多数据”。
* `改善`个人页面中实现订单部件,显示用户订单数量,同时点击以后跳转到订单的相应页面。
* `改善`商品的订单中支持订单号搜索功能
* `改善`在一些内容比较多的页面中支持“顶部”功能
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public Object update(@LoginAdmin Integer adminId, @RequestBody GoodsAllinone goo

// 商品基本信息表litemall_goods
if (goodsService.updateById(goods) == 0) {
throw new Exception("跟新数据失败");
throw new Exception("更新数据失败");
}

Integer gid = goods.getId();
Expand Down Expand Up @@ -302,7 +302,7 @@ public Object create(@LoginAdmin Integer adminId, @RequestBody GoodsAllinone goo
if (!StringUtils.isEmpty(url)) {
goods.setShareUrl(url);
if (goodsService.updateById(goods) == 0) {
throw new Exception("跟新数据失败");
throw new Exception("更新数据失败");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public Object refund(@LoginAdmin Integer adminId, @RequestBody String body) {
// 设置订单取消状态
order.setOrderStatus(OrderUtil.STATUS_REFUND_CONFIRM);
if (orderService.updateWithOptimisticLocker(order) == 0) {
throw new Exception("跟新数据已失效");
throw new Exception("更新数据已失效");
}

// 商品货品数量增加
Expand Down Expand Up @@ -292,7 +292,7 @@ public void checkOrderUnpaid() {
order.setOrderStatus(OrderUtil.STATUS_AUTO_CANCEL);
order.setEndTime(LocalDateTime.now());
if (orderService.updateWithOptimisticLocker(order) == 0) {
throw new Exception("跟新数据已失效");
throw new Exception("更新数据已失效");
}

// 商品货品数量增加
Expand Down

0 comments on commit a64e941

Please sign in to comment.