作者 张晓杰

采购申请编辑修改

... ... @@ -114,6 +114,7 @@ public class TblBiddingShenqController extends JeecgController<TblBiddingShenq,
@ApiOperation(value="tbl_bidding_shenq-编辑", notes="tbl_bidding_shenq-编辑")
@RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
public Result<String> edit(@RequestBody TblBiddingShenq tblBiddingShenq) {
tblBiddingShenq.setSqTime(new Date());
tblBiddingShenqService.updateById(tblBiddingShenq);
return Result.OK("编辑成功!");
}
... ...
... ... @@ -131,16 +131,16 @@ public class TblBiddingShenq implements Serializable {
@ApiModelProperty(value = "创建人")
private String createBy;
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd hh:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd hh:mm:ss")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
@ApiModelProperty(value = "创建日期")
private Date createTime;
/**更新人*/
@ApiModelProperty(value = "更新人")
private String updateBy;
/**更新日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd hh:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd hh:mm:ss")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
@ApiModelProperty(value = "更新日期")
private Date updateTime;
... ...