From a8a841000119370ec34a59a7f4f51dc2f8ee0976 Mon Sep 17 00:00:00 2001 From: liuxm <liuxm_a@163.com> Date: 星期四, 13 六月 2024 14:22:02 +0800 Subject: [PATCH] 去掉原controller 中的try catch 和BindingResult --- pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltStation.java | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltStation.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltStation.java index 781f504..3798a85 100644 --- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltStation.java +++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltStation.java @@ -1,5 +1,7 @@ package com.dy.pmsGlobal.pojoPlt; +import com.alibaba.fastjson2.annotation.JSONField; +import com.alibaba.fastjson2.writer.ObjectWriterImplToString; import com.baomidou.mybatisplus.annotation.*; import com.dy.common.po.BaseEntity; import com.fasterxml.jackson.annotation.JsonFormat; @@ -23,8 +25,18 @@ /** * */ + @JSONField(serializeUsing= ObjectWriterImplToString.class) @TableId(type = IdType.AUTO) public Long id; + + /** + * 鐢熶骇绾縤d + */ + @JSONField(serializeUsing= ObjectWriterImplToString.class) + public Long lineId; + + @TableField(exist = false) + public String lineName; /** * 缂栧彿 @@ -52,8 +64,17 @@ public Date dt; /** + * 鏄惁绂佺敤锛�1鏄紝0鍚� + */ + public Boolean disabled; + /** * 鏄惁鍒犻櫎锛�1鏄紝0鍚� */ public Boolean deleted; + /** + * 浜岀淮鐮� + */ + @TableField(exist = false) + public String qrCode; } \ No newline at end of file -- Gitblit v1.8.0