Skip to content

Commit

Permalink
修复创建时间不显示的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nnngu committed Jan 29, 2018
1 parent 46bbe3b commit bc0e305
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/nnngu/entity/Seckill.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public Date getCreateTime() {
return createTime;
}

public void setCreateTime(Date createTIme) {
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/nnngu/web/SeckillController.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public String detail(@PathVariable("seckillId") Long seckillId, Model model) {
return "detail";
}

//ajax ,json暴露秒杀接口的方法
//ajaxjson暴露秒杀接口的方法
@RequestMapping(value = "/{seckillId}/exposer",
method = RequestMethod.GET,
produces = {"application/json;charset=UTF-8"})
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/com.nnngu.dao/SeckillMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<select id="queryAll" resultMap="BaseResultMap">
SELECT *
FROM seckill AS s
ORDER BY create_time DESC
ORDER BY seckill_id ASC
LIMIT #{offset}, #{limit}
</select>

Expand Down

0 comments on commit bc0e305

Please sign in to comment.