From 91367adddfaec28f563b6532bca1f7202d4c3034 Mon Sep 17 00:00:00 2001 From: 李林 <z1292839451@163.com> Date: 星期四, 14 三月 2024 11:54:01 +0800 Subject: [PATCH] 功能调整 --- inspect-server/src/main/java/com/yuanchu/mom/pojo/InsOrder.java | 218 ++++++++++++++++++++++++++++++++---------------------- 1 files changed, 128 insertions(+), 90 deletions(-) diff --git a/inspect-server/src/main/java/com/yuanchu/mom/pojo/InsOrder.java b/inspect-server/src/main/java/com/yuanchu/mom/pojo/InsOrder.java index 74ccaf5..5ce28fd 100644 --- a/inspect-server/src/main/java/com/yuanchu/mom/pojo/InsOrder.java +++ b/inspect-server/src/main/java/com/yuanchu/mom/pojo/InsOrder.java @@ -1,23 +1,26 @@ package com.yuanchu.mom.pojo; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.yuanchu.mom.annotation.ValueTableShow; +import com.yuanchu.mom.common.OrderBy; +import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; -import java.util.Date; +import java.time.LocalDate; +import java.time.LocalDateTime; /** * 妫�楠屼笅鍗� + * * @TableName ins_order */ -@TableName(value ="ins_order") +@TableName(value = "ins_order") @Data -public class InsOrder implements Serializable { +public class InsOrder extends OrderBy implements Serializable { /** - * + * */ @TableId(type = IdType.AUTO) private Integer id; @@ -25,127 +28,162 @@ /** * 濮旀墭缂栧彿 */ + @ValueTableShow(1) + @ApiModelProperty(value = "濮旀墭缂栧彿") private String entrustCode; /** * 鏍峰搧缂栫爜 */ + @ValueTableShow(2) + @ApiModelProperty(value = "鏍峰搧缂栫爜") private String sampleCode; - - /** - * 涓嬪崟瀹㈡埛 - */ - private String orderingCustomers; - - /** - * 涓嬪崟鍗曚綅 - */ - private String orderingUnit; - - /** - * 绱ф�ョ▼搴� - */ - private String urgency; - - /** - * 绾﹀畾鏃堕棿 - */ - private Date appointedTime; - - /** - * 瀹為獙瀹ゅ悕绉� - */ - private String laboratoryName; - - /** - * 鏍峰搧鍒嗙被 - */ - private String sampleClassification; - - /** - * 瑙勬牸鍨嬪彿 - */ - private String model; - - /** - * 鏍峰搧鍚嶇О - */ - private String sample; - - /** - * 鏍峰搧鏁伴噺 - */ - private Integer numberSamples; - - /** - * 鏄惁鐣欐牱 - */ - private String leaveSample; - - /** - * 鐣欐牱鏁伴噺 - */ - private Integer retainedSamples; /** * 鏍峰搧绫诲瀷 */ - private String smapleType; + @ValueTableShow(3) + @ApiModelProperty(value = "鏍峰搧绫诲瀷") + private String sampleType; /** - * 濮旀墭鍏徃 + * 鏍峰搧鍚嶇О */ - private String entrustCompany; + @ValueTableShow(3) + @ApiModelProperty(value = "鏍峰搧鍚嶇О") + private String sample; + /** - * 濮旀墭浜� + * 鏍峰搧鏁伴噺 */ - private String entrustName; + @ValueTableShow(4) + @ApiModelProperty(value = "鏍峰搧鏁伴噺") + private Integer sampleNum; /** - * 鍒跺崟鏃堕棿 - + * 绱ф�ョ▼搴� */ - private Date documentTime; + @ValueTableShow(5) + @ApiModelProperty(value = "绱ф�ョ▼搴�") + private Integer type; /** - * 濮旀墭鏃堕棿 - + * 绾﹀畾鏃堕棿 */ - private Date entrustmentTime; + @ValueTableShow(6) + @ApiModelProperty(value = "绾﹀畾鏃堕棿") + @TableField(fill = FieldFill.INSERT) + @JsonFormat(pattern = "yyyy-MM-dd") + private LocalDate appointed; /** * 妫�娴嬭繘搴� - */ - private String inspectionProgress; + @ValueTableShow(7) + @ApiModelProperty(value = "妫�娴嬭繘搴�") + private String insProgress; /** - * 妫�娴嬬粨鏋� - + * 涓嬪崟瀹㈡埛 */ - private String inspectionResult; + @ValueTableShow(8) + @ApiModelProperty(value = "涓嬪崟瀹㈡埛") + private String custom; /** - * + * 涓嬪崟鍗曚綅 */ + @ValueTableShow(9) + @ApiModelProperty(value = "涓嬪崟鍗曚綅") + private String company; + + /** + * 宸ュ巶鍩� + */ + @ValueTableShow(10) + @ApiModelProperty(value = "宸ュ巶鍩�") + private String code; + + /** + * 瀹為獙瀹ゅ悕绉� + */ + @ValueTableShow(11) + @ApiModelProperty(value = "瀹為獙瀹ゅ悕绉�") + private String laboratory; + + /** + * 瑙勬牸鍨嬪彿 + */ + @ValueTableShow(12) + @ApiModelProperty(value = "瑙勬牸鍨嬪彿") + private String model; + + /** + * 鏄惁鐣欐牱 + */ + @ValueTableShow(13) + @ApiModelProperty(value = "鏄惁鐣欐牱") + private Integer isLeave; + + /** + * 鐣欐牱鏁伴噺 + */ + @ValueTableShow(14) + @ApiModelProperty(value = "鐣欐牱鏁伴噺") + private Integer leaveNum; + + /** + * 1锛氭楠屽鐞� 0锛氬緟瀹℃牳 2锛氶��鍥� 3锛氭挙閿� + */ + private Integer state; + + /** + * 澶囨敞 + */ + private String remark; + + /** + * OTC璁㈠崟鍙� + */ + private String otcCode; + + @ApiModelProperty("鍒涘缓浜�") + @TableField(fill = FieldFill.INSERT) private Integer createUser; - /** - * + * */ - private Date createTime; - + @ApiModelProperty("鍒涘缓鏃堕棿") + @TableField(fill = FieldFill.INSERT) + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private LocalDateTime createTime; /** - * + * */ + @ApiModelProperty("淇敼浜�") + @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; - /** - * + * */ - private Date updateTime; + @ApiModelProperty("淇敼鏃堕棿") + @TableField(fill = FieldFill.INSERT_UPDATE) + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private LocalDateTime updateTime; - @TableField(exist = false) - private static final long serialVersionUID = 1L; + private Integer userId; + + @ApiModelProperty(value = "妫�楠岀姸鎬�(0锛氬緟妫�楠�1:妫�楠屼腑 2:宸叉楠�3锛氬緟澶嶆牳4锛氬鏍告湭閫氳繃5锛氬鏍搁�氳繃)") + private Integer insState; + + @ApiModelProperty(value = "妫�楠岀粨鏋�(0锛氫笉鍚堟牸 1锛氬悎鏍�)") + private Integer insResult; + + @ApiModelProperty(value = "涓嬪彂鏃堕棿") + private LocalDateTime sendTime; + + @ApiModelProperty(value = "宸ュ巶") + private String factory; + } \ No newline at end of file -- Gitblit v1.9.3