From 029de836702607a95ccb0a69a74efcea52ddc451 Mon Sep 17 00:00:00 2001 From: czt <czt18638530771@163.com> Date: 星期四, 25 九月 2025 19:35:38 +0800 Subject: [PATCH] 上海对农数据接口调整2 --- src/main/java/com/fzzy/async/fzzy61/entity/Fz61Quality.java | 173 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 173 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/fzzy/async/fzzy61/entity/Fz61Quality.java b/src/main/java/com/fzzy/async/fzzy61/entity/Fz61Quality.java new file mode 100644 index 0000000..143827e --- /dev/null +++ b/src/main/java/com/fzzy/async/fzzy61/entity/Fz61Quality.java @@ -0,0 +1,173 @@ +package com.fzzy.async.fzzy61.entity; + +import com.alibaba.fastjson.annotation.JSONField; +import com.bstek.dorado.annotation.PropertyDef; +import lombok.Data; + +import javax.persistence.*; +import java.io.Serializable; +import java.util.Date; +import java.util.List; + +/** + * 璐ㄩ噺绠$悊锛�2023骞�5鏈�26鏃� 鏍规嵁鏂板浗绮浼樺寲璋冩暣 + * + * @author chen + */ +@Data +@Entity +@Table(name = "D_M_QUALITY") +public class Fz61Quality implements Serializable { + + public static String SORT_PROP = "id"; + + @Id + @Column(name = "ID_", length = 40) + @PropertyDef(label = "涓婚敭ID", description = "yyyyMMdd + 4浣嶉『搴忓彿") + private String id; + + @Column(name = "COMPANY_ID_", length = 10) + @PropertyDef(label = "缁勭粐缂栫爜") + private String companyId; + + @Column(name = "DEPT_ID_", length = 40) + @PropertyDef(label = "搴撳尯缂栫爜") + private String deptId; + + @Column(name = "DEPOT_ID_", length = 50) + @PropertyDef(label = "浠撳簱缂栫爜") + private String depotId; + + @Column(name = "FOOD_VARIETY_", length = 10) + @PropertyDef(label = "绮鍝佺") + private String foodVariety; + + @Column(name = "FOOD_LEVEL_", length = 10) + @PropertyDef(label = "绮绛夌骇") + private String foodLevel; + + @PropertyDef(label = "鍏ュ簱鏃ユ湡") + @Column(name = "STORE_DATE_") + private Date storeDate; + + @Column(name = "TYPE_", length = 10) + @PropertyDef(label = "妫�楠岀被鍒�", description = "01锛氬叆浠撻獙鏀� 02锛氬嚭浠撴楠� 03锛�3 鏈堟湯鏅04锛�9 鏈堟湯鏅 05锛氬叆浠撳垵妫� 06锛氭湀搴︽鏌� 07锛�3 鏈堟湯搴撳唴鏅煡 08锛�9 鏈堟湯搴撳唴鏅煡") + private String type; + + @Column(name = "TIME_") + @PropertyDef(label = "妫�楠屾椂闂�") + private Date time; + + @Column(name = "UNIT_", length = 50) + @PropertyDef(label = "妫�楠屽崟浣�") + private String unit; + + @Column(name = "USER_", length = 50) + @PropertyDef(label = "妫�楠屼汉", description = "妫�楠屼汉鍛樺鍚嶏紝鑻ユ湁澶氫釜淇濈鍛�") + private String user; + + @Column(name = "STANDARD_", length = 4) + @PropertyDef(label = "妫�楠屼緷鎹�", description = "1-鍥芥爣锛�0-鍏朵粬") + private String standard; + + + @PropertyDef(label = "鎸囨爣绫诲埆", description = "1: 璐ㄩ噺鎸囨爣妫�楠�2锛氬偍瀛樺搧璐ㄦ楠�3锛氶鍝佸畨鍏ㄦ楠� 濡傛灉鍚屾椂妫�楠屼簡澶氫釜锛岀敤#闅斿紑锛屼緥濡傦細1#2#3") + @Column(name = "zblb", length = 8) + private String zblb; + + @Column(name = "RESULT_", length = 40) + @PropertyDef(label = "妫�楠岀粨璁�", description = "1銆佽川閲忔寚鏍囧~鍐�/杈炬爣/涓嶈揪鏍� 2銆佸偍瀛樺搧璐ㄦ寚鏍囧~鍐欌�滃疁瀛樷�濄�佽交搴︿笉瀹滃瓨鈥濄�佲�滈噸搴︿笉瀹滃瓨鈥�3銆侀鍝佸畨鍏ㄦ寚鏍囧~鍐欌�滃悎鏍尖�濄�佷笉鍚堟牸鈥� 澶氶」鎸囨爣鏃朵互#鍒嗛殧锛屼緥濡傦細杈炬爣|缁煎悎鍒ゅ畾#瀹滃瓨#鍚堟牸 ") + private String result; + + @Column(name = "spaqzbsfhg", length = 40) + @PropertyDef(label = "椋熷搧瀹夊叏鎸囨爣鏄惁鍚堟牸", description = "0-涓嶅悎鏍硷紝1-鍚堟牸") + private String spaqzbsfhg; + + @JSONField(format = "yyyy-MM-dd") + @PropertyDef(label = "绛惧彂鏃ユ湡") + @Column(name = "qfrq") + private Date qfrq; + + @JSONField(format = "yyyy-MM-dd HH:mm:ss") + @PropertyDef(label = "鎶ュ憡鍑哄叿鏃堕棿") + @Column(name = "bgcjsj") + private Date bgcjsj; + + @PropertyDef(label = "瀹℃牳浜哄鍚�") + @Column(name = "shrxm", length = 64) + private String shrxm; + + @PropertyDef(label = "鎵︽牱鍗曠紪鍙�") + @Column(name = "qydbh", length = 64) + private String qydbh; + + @Column(name = "CHECK_TIME_") + @PropertyDef(label = "鎵︽牱鏃堕棿", required = true) + private Date checkTime; + + @Column(name = "CHECK_AREA_", length = 50) + @PropertyDef(label = "鎵︽牱鍖哄煙") + private String checkArea; + + @Column(name = "CHECK_USER_", length = 50) + @PropertyDef(label = "鎵︽牱浜�", required = true) + private String checkUser; + + @PropertyDef(label = "鐩戠潱浜哄鍚�") + @Column(name = "jdrxm", length = 64) + private String jdrxm; + + @PropertyDef(label = "鏍峰搧缂栧彿") + @Column(name = "ypbh", length = 64) + private String ypbh; + + @PropertyDef(label = "鏍峰搧鏁伴噺", required = true) + @Column(name = "ypsl", precision = 20, scale = 6) + private Double ypsl; + + @PropertyDef(label = "浠h〃鏁伴噺") + @Column(name = "dbsl", precision = 20, scale = 6) + private Double dbsl; + + @PropertyDef(label = "鏍峰搧绛夌骇") + @Column(name = "ypdj", length = 2) + private String ypdj; + + @Column(name = "NORMAL_YEAR_", length = 10) + @PropertyDef(label = "鏄惁姝e父瀛樺偍骞撮檺") + private String normalYear; + + @Column(name = "REMARK_", length = 200) + @PropertyDef(label = "澶囨敞", description = "澶囨敞淇℃伅") + private String remark; + + @Column(name = "UPDATE_TIME_") + @PropertyDef(label = "鏁版嵁鏇存柊鏃堕棿") + private Date updateTime; + + @Column(name = "REPORT_TYPE_", length = 10) + @PropertyDef(label = "鎶ュ憡绫诲瀷", description = "1-鍗曚綅妫�楠岋紝2-鏁翠綋妫�楠�(鍔犳潈骞冲潎)锛�3-鍏朵粬") + private String reportType; + + /** + * 鍖栭獙椤圭洰鏄庣粏 + */ + @Transient + private List<Fz61CheckItem> checkItems; + + /** + * --------闄勪欢-------- + **/ + @Column(name = "FILE_ID_", length = 30) + @PropertyDef(label = "闄勪欢id") + private String fileId; + + @Column(name = "FILE_NAME_", length = 50) + @PropertyDef(label = "闄勪欢鍚嶇О") + private String fileName; + + @Column(name = "FILE_TIME_") + @PropertyDef(label = "闄勪欢涓婁紶鏃堕棿") + private Date fileTime; + +} -- Gitblit v1.9.3