作者 张晓杰

采购申请编辑修改

@@ -114,6 +114,7 @@ public class TblBiddingShenqController extends JeecgController<TblBiddingShenq, @@ -114,6 +114,7 @@ public class TblBiddingShenqController extends JeecgController<TblBiddingShenq,
114 @ApiOperation(value="tbl_bidding_shenq-编辑", notes="tbl_bidding_shenq-编辑") 114 @ApiOperation(value="tbl_bidding_shenq-编辑", notes="tbl_bidding_shenq-编辑")
115 @RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST}) 115 @RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
116 public Result<String> edit(@RequestBody TblBiddingShenq tblBiddingShenq) { 116 public Result<String> edit(@RequestBody TblBiddingShenq tblBiddingShenq) {
  117 + tblBiddingShenq.setSqTime(new Date());
117 tblBiddingShenqService.updateById(tblBiddingShenq); 118 tblBiddingShenqService.updateById(tblBiddingShenq);
118 return Result.OK("编辑成功!"); 119 return Result.OK("编辑成功!");
119 } 120 }
@@ -131,16 +131,16 @@ public class TblBiddingShenq implements Serializable { @@ -131,16 +131,16 @@ public class TblBiddingShenq implements Serializable {
131 @ApiModelProperty(value = "创建人") 131 @ApiModelProperty(value = "创建人")
132 private String createBy; 132 private String createBy;
133 /**创建日期*/ 133 /**创建日期*/
134 - @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd hh:mm:ss")  
135 - @DateTimeFormat(pattern="yyyy-MM-dd hh:mm:ss") 134 + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
  135 + @DateTimeFormat(pattern="yyyy-MM-dd")
136 @ApiModelProperty(value = "创建日期") 136 @ApiModelProperty(value = "创建日期")
137 private Date createTime; 137 private Date createTime;
138 /**更新人*/ 138 /**更新人*/
139 @ApiModelProperty(value = "更新人") 139 @ApiModelProperty(value = "更新人")
140 private String updateBy; 140 private String updateBy;
141 /**更新日期*/ 141 /**更新日期*/
142 - @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd hh:mm:ss")  
143 - @DateTimeFormat(pattern="yyyy-MM-dd hh:mm:ss") 142 + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
  143 + @DateTimeFormat(pattern="yyyy-MM-dd")
144 @ApiModelProperty(value = "更新日期") 144 @ApiModelProperty(value = "更新日期")
145 private Date updateTime; 145 private Date updateTime;
146 146