feat(WmsDeliveryPlanBo): 添加计划日期字段格式化注解
- 为planDate字段添加@JsonFormat注解,设置日期格式为yyyy-MM-dd - 为planDate字段添加@DateTimeFormat注解,设置日期格式为yyyy-MM-dd - 确保计划日期在序列化和反序列化时保持统一的格式
This commit is contained in:
@@ -33,6 +33,8 @@ public class WmsDeliveryPlanBo extends BaseEntity {
|
||||
/**
|
||||
* 计划日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date planDate;
|
||||
/**
|
||||
* 计划类型
|
||||
|
||||
Reference in New Issue
Block a user