提交 21dceed7 authored 作者: 邓砥奕's avatar 邓砥奕

[销毁模块]提交表单增加销毁时间

上级 ebba6a7d
......@@ -94,7 +94,7 @@ public class DeviceDestroyController {
//更改账单状态
destroyBill.setDestroyStatus(DestroyStatus.CONFIRM_SUCCESS.getStatus());
//设置销毁时间
destroyBill.setDestroyTime(new Date());
destroyBill.setDestroyTime(formVo.getDestroyTime());
//保存销毁账单
DeviceDestroyBill deviceDestroyBillEntitySaved = deviceDestroyBillService.addEntity(destroyBill);
//为账单新增文号
......
......@@ -4,6 +4,7 @@ import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotEmpty;
import java.util.Date;
import java.util.List;
/**
......@@ -40,4 +41,7 @@ public class DeviceDestroyFormVo {
@ApiModelProperty(value = "监销人")
private String supervisor;
@ApiModelProperty(value = "销毁时间")
private Date destroyTime;
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论