饮用日期格式修改;
This commit is contained in:
+2
-2
@@ -368,7 +368,7 @@ public class ReservationInMaterialDetail extends BaseVOEntity {
|
||||
@Excel(name = "lot编号")
|
||||
private String lotNo;
|
||||
@ApiModelProperty(value = "饮用时间")
|
||||
@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")
|
||||
private Date drinkDate;
|
||||
}
|
||||
+2
-2
@@ -469,7 +469,7 @@ public class ReservationInMaterialDetailPO extends ReservationStockInOrderBasePO
|
||||
@Excel(name = "调整后面积")
|
||||
private BigDecimal adjustedArea;
|
||||
@ApiModelProperty(value = "饮用时间")
|
||||
@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")
|
||||
private Date drinkDate;
|
||||
}
|
||||
+2
-2
@@ -433,8 +433,8 @@ public class ReservationInMaterialDetailDO extends ReservationStockInOrderBaseDO
|
||||
private BigDecimal adjustedArea;
|
||||
|
||||
@ApiModelProperty(value = "饮用时间")
|
||||
@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")
|
||||
private Date drinkDate;
|
||||
|
||||
}
|
||||
+2
-2
@@ -444,7 +444,7 @@ public class ReservationInMaterialDetailDTO extends BaseVOEntity {
|
||||
private BigDecimal adjustedArea;
|
||||
|
||||
@ApiModelProperty(value = "饮用时间")
|
||||
@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")
|
||||
private Date drinkDate;
|
||||
}
|
||||
+1
-2
@@ -185,10 +185,9 @@ public class ReservationMaterialInventoryApi extends BaseController {
|
||||
*/
|
||||
@ApiOperation("编辑物料库存")
|
||||
@PostMapping("/omsEdit")
|
||||
public AjaxResult omsEdit(@RequestBody MaterialInventoryOmsParamDO materialInventoryOmsParamDO)
|
||||
public void omsEdit(@RequestBody MaterialInventoryOmsParamDO materialInventoryOmsParamDO)
|
||||
{
|
||||
materialInventoryApplicationService.omsEdit(materialInventoryOmsParamDO);
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user