Prechádzať zdrojové kódy

订单日期显示年月日

liuchaohui 2 rokov pred
rodič
commit
dd6ed40a97

+ 3 - 3
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/orderData/entity/SyOrderData.java

@@ -37,9 +37,9 @@ public class SyOrderData {
     @ApiModelProperty(value = "订单号")
 	private java.lang.String orderNumber;
 	/**订单日期*/
-	@Excel(name = "订单日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
-	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+	@Excel(name = "订单日期", width = 20, format = "yyyy-MM-dd")
+	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
+    @DateTimeFormat(pattern="yyyy-MM-dd")
     @ApiModelProperty(value = "订单日期")
 	private java.util.Date orderDate;
 	/**业务类型*/