From ccb39e91f2feaeafa2d89440c84d14db22bf856f Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 22 五月 2025 10:47:01 +0800 Subject: [PATCH] FastJson的Configuration中去掉不推荐应用的JSONWriter.Feature.MapSortField(对map进行排序) --- pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/QueryVo.java | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/QueryVo.java b/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/QueryVo.java index 2748c41..4548886 100644 --- a/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/QueryVo.java +++ b/pms-parent/pms-web-station/src/main/java/com/dy/pmsStation/workOrder/QueryVo.java @@ -34,21 +34,25 @@ /** * 缁勮鐢熶骇浠诲姟瀹炰綋缂栧彿 */ - @NotNull(message="[缁勮鐢熶骇浠诲姟瀹炰綋缂栧彿]涓嶈兘涓虹┖") + //@NotNull(message="[缁勮鐢熶骇浠诲姟瀹炰綋缂栧彿]涓嶈兘涓虹┖") @JSONField(serializeUsing= ObjectWriterImplToString.class) public Long planId; /** * 鐢熶骇娴佺▼瀹炰綋缂栧彿 */ - @NotNull(message="[鐢熶骇娴佺▼瀹炰綋缂栧彿]涓嶈兘涓虹┖") + //@NotNull(message="[鐢熶骇娴佺▼瀹炰綋缂栧彿]涓嶈兘涓虹┖") @JSONField(serializeUsing= ObjectWriterImplToString.class) public Long processId; /** * 鐢熶骇娴佺▼鑺傜偣瀹炰綋缂栧彿 */ - @NotNull(message="[鐢熶骇娴佺▼鑺傜偣瀹炰綋缂栧彿]涓嶈兘涓虹┖") + //@NotNull(message="[鐢熶骇娴佺▼鑺傜偣瀹炰綋缂栧彿]涓嶈兘涓虹┖") @JSONField(serializeUsing= ObjectWriterImplToString.class) public Long nodeId; + + //@NotNull(message="[鐢熶骇娴佺▼鑺傜偣绫诲瀷]涓嶈兘涓虹┖") + @NotNull(message="[宸ヤ綔鑱岃矗]涓嶈兘涓虹┖") + public Integer workType; /** * 浠诲姟璁ら鏃堕棿 */ -- Gitblit v1.8.0