| | |
| | | import com.ld.igds.constant.RedisConst; |
| | | import com.ld.igds.log.service.InteStatusLogService; |
| | | import com.ld.igds.models.InteStatusLog; |
| | | import com.ld.igds.models.MVarietyChange; |
| | | import com.ld.igds.sh.dto.ApiResponse; |
| | | import com.ld.igds.sh.dto.Dto1312; |
| | | import com.ld.igds.sh.param.ApiRequest; |
| | |
| | | redisUtil.set(key, param.getEndTime()); |
| | | |
| | | //æ¥è¯¢æ¸©æ¹¿åº¦ä¿¡æ¯ï¼å³ç²®æ
ä¿¡æ¯ |
| | | List<MVarietyChange> dataList = hApiShServiceImpl.listFoodVarietyChange(companyId, |
| | | List<InoutVarietyChange> dataList = hApiShServiceImpl.listFoodVarietyChange(companyId, |
| | | param.getDepotId(), startTime, param.getEndTime()); |
| | | |
| | | //ååºæ°æ®ä¸ºç©ºåç´æ¥è¿åååºç 2000 |
| | |
| | | InteStatusLog log; |
| | | InteStatusLog addLog; |
| | | //å°è£
æ°æ®ä¿¡æ¯ |
| | | for (MVarietyChange variety : dataList) { |
| | | for (InoutVarietyChange variety : dataList) { |
| | | dto1312 = new Dto1312(); |
| | | dto1312.setXzzbdbh(variety.getId()); |
| | | dto1312.setHwbm(variety.getDepotId()); |
| | |
| | | * @param endTime |
| | | * @return |
| | | */ |
| | | public List<MVarietyChange> listFoodVarietyChange(String companyId, String depotId, Date startTime, Date endTime) { |
| | | String hql = " from " + MVarietyChange.class.getName() + " where companyId =:companyId"; |
| | | public List<InoutVarietyChange> listFoodVarietyChange(String companyId, String depotId, Date startTime, Date endTime) { |
| | | String hql = " from " + InoutVarietyChange.class.getName() + " where companyId =:companyId"; |
| | | |
| | | Map<String, Object> args = new HashMap<String, Object>(); |
| | | args.put("companyId", companyId); |
| | |
| | | * @param endTime |
| | | * @return |
| | | */ |
| | | public List<MVarietyChange> listFoodVarietyChange(String companyId, String depotId, Date startTime, Date endTime) { |
| | | String hql = " from " + MVarietyChange.class.getName() + " where companyId =:companyId"; |
| | | public List<InoutVarietyChange> listFoodVarietyChange(String companyId, String depotId, Date startTime, Date endTime) { |
| | | String hql = " from " + InoutVarietyChange.class.getName() + " where companyId =:companyId"; |
| | | |
| | | Map<String, Object> args = new HashMap<String, Object>(); |
| | | args.put("companyId", companyId); |
| | |
| | | * @description: |
| | | * @version: |
| | | * @data:2020å¹´4æ7æ¥ |
| | | * |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_CHECK_ITEM") |
| | | public class CheckItem implements Serializable { |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Id |
| | | @Column(name = "CHECK_ID_", length = 40) |
| | | @PropertyDef(label = "æ£æµç¼ç ") |
| | | private String checkId; |
| | | @Id |
| | | @Column(name = "CHECK_ID_", length = 40) |
| | | @PropertyDef(label = "æ£æµç¼ç ") |
| | | private String checkId; |
| | | |
| | | @Id |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | @Id |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | |
| | | @Id |
| | | @Column(name = "STANDARD_ID_", length = 40) |
| | | @PropertyDef(label = "æ£æµé¡¹ç¼ç ") |
| | | private String standardId; |
| | | @Id |
| | | @Column(name = "STANDARD_ID_", length = 10) |
| | | @PropertyDef(label = "æ£æµé¡¹ç¼ç ") |
| | | private String standardId; |
| | | |
| | | @Column(name = "STANDARD_NAME_", length = 50) |
| | | @PropertyDef(label = "åéªé¡¹") |
| | | private String standardName; |
| | | @Column(name = "STANDARD_NAME_", length = 50) |
| | | @PropertyDef(label = "åéªé¡¹") |
| | | private String standardName; |
| | | |
| | | @Column(name = "UNIT_", length = 20) |
| | | @PropertyDef(label = "åä½") |
| | | private String unit; |
| | | @Column(name = "UNIT_", length = 20) |
| | | @PropertyDef(label = "åä½") |
| | | private String unit; |
| | | |
| | | @Column(name = "UPPER_LIMIT_") |
| | | @PropertyDef(label = "æ åä¼å¼") |
| | | private Double upperLimit; |
| | | @Column(name = "UPPER_LIMIT_") |
| | | @PropertyDef(label = "æ åä¼å¼") |
| | | private Double upperLimit; |
| | | |
| | | @Column(name = "OPERA_SYMBOL_",length = 4) |
| | | @PropertyDef(label = "è¿ç®ç¬¦å·") |
| | | private String operaSymbol; |
| | | @Column(name = "OPERA_SYMBOL_", length = 4) |
| | | @PropertyDef(label = "è¿ç®ç¬¦å·") |
| | | private String operaSymbol; |
| | | |
| | | // @Column(name = "LOWER_LIMIT_") |
| | | // @PropertyDef(label = "æ åä¸é") |
| | | // private Double lowerLimit; |
| | | @Column(name = "RULE_NUM_") |
| | | @PropertyDef(label = "æ£éç³»æ°") |
| | | private Double ruleNum; |
| | | |
| | | @Column(name = "RULE_NUM_") |
| | | @PropertyDef(label = "æ£éç³»æ°") |
| | | private Double ruleNum; |
| | | @Column(name = "RULE_ADD_") |
| | | @PropertyDef(label = "å¢é%") |
| | | private Double ruleAdd; |
| | | |
| | | @Column(name = "RULE_ADD_") |
| | | @PropertyDef(label = "å¢é%") |
| | | private Double ruleAdd; |
| | | @Column(name = "RULE_ADD_END_") |
| | | @PropertyDef(label = "å¢éä¸é%") |
| | | private Double ruleAddEnd; |
| | | |
| | | @Column(name = "RULE_ADD_END_") |
| | | @PropertyDef(label = "å¢éä¸é%") |
| | | private Double ruleAddEnd; |
| | | @Column(name = "RULE_REDUCE_") |
| | | @PropertyDef(label = "æ£éå¼%") |
| | | private Double ruleReduce; |
| | | |
| | | @Column(name = "RULE_REDUCE_") |
| | | @PropertyDef(label = "æ£éå¼%") |
| | | private Double ruleReduce; |
| | | @Column(name = "VALUE_", length = 40) |
| | | @PropertyDef(label = "æ£æµå¼") |
| | | private String value; |
| | | |
| | | @Column(name = "STANDARD_VALUE_", length = 15) |
| | | @PropertyDef(label = "æ åå¼,å¯ä»¥æ¯èå´") |
| | | private String standardValue; |
| | | @Column(name = "RULE_PRICE_") |
| | | @PropertyDef(label = "æ£è´¹ç³»æ°") |
| | | private Double rulePrice; |
| | | |
| | | @Column(name = "VALUE_", length = 40) |
| | | @PropertyDef(label = "æ£æµå¼") |
| | | private String value; |
| | | @Column(name = "RULE_REDUCE_PRICE_") |
| | | @PropertyDef(label = "æ£è´¹") |
| | | private Double ruleReducePrice; |
| | | |
| | | @Column(name = "STANDARD_PRICE_") |
| | | @PropertyDef(label = "æ ååä»·ï¼å
/æ¤ï¼") |
| | | private Double standardPrice; |
| | | @Column(name = "ADD_NUM_") |
| | | @PropertyDef(label = "å¢é", description = "åä½ï¼kG") |
| | | private Double addNum; |
| | | |
| | | @Column(name = "RULE_PRICE_") |
| | | @PropertyDef(label = "æ£è´¹ç³»æ°") |
| | | private Double rulePrice; |
| | | @Column(name = "DE_NUM_") |
| | | @PropertyDef(label = "æ£é", description = "åä½ï¼kG") |
| | | private Double deNum; |
| | | |
| | | @Column(name = "RULE_REDUCE_PRICE_") |
| | | @PropertyDef(label = "æ£è´¹") |
| | | private Double ruleReducePrice; |
| | | @Column(name = "ADD_PRICE_") |
| | | @PropertyDef(label = "å¢ä»·", description = "åä½ï¼å
") |
| | | private Double addPrice; |
| | | |
| | | @Column(name = "REMARKS_", length = 50) |
| | | @PropertyDef(label = "åéªç»æ") |
| | | private String remarks; |
| | | |
| | | @Column(name = "DE_PRICE_") |
| | | @PropertyDef(label = "æ£é", description = "åä½ï¼å
") |
| | | private Double dePrice; |
| | | |
| | | @Column(name = "RESULT_", length = 2) |
| | | @PropertyDef(label = "æ£éªç»æ", description = "0=ä¸åæ ¼ 1=åæ ¼") |
| | | private String result; |
| | | |
| | | @Column(name = "REMARKS_", length = 50) |
| | | @PropertyDef(label = "夿³¨") |
| | | private String remarks; |
| | | |
| | | } |
| | |
| | | package com.ld.igds.models; |
| | | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * åéªæ åé
ç½®ä¿¡æ¯ |
| | | * åéªæ åé
ç½® |
| | | * |
| | | * @author: chen |
| | | * |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_CHECK_STANDARD") |
| | | public class CheckStandard implements Serializable { |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "ID") |
| | | private String id; |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "ID") |
| | | private String id; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | |
| | | @Column(name = "DEPT_ID_", length = 40) |
| | | @PropertyDef(label = "æå±åºç¹") |
| | | private String deptId; |
| | | @Column(name = "FOOD_VARIETY_", length = 20) |
| | | @PropertyDef(label = "ç²®é£åç§") |
| | | private String foodVariety; |
| | | |
| | | @Column(name = "FOOD_VARIETY_", length = 20) |
| | | @PropertyDef(label = "ç²®é£åç§") |
| | | private String foodVariety; |
| | | @Column(name = "STANDARD_ID_", length = 10) |
| | | @PropertyDef(label = "åéªé¡¹") |
| | | private String standardId; |
| | | |
| | | @Column(name = "STANDARD_ID_", length = 10) |
| | | @PropertyDef(label = "åéªé¡¹") |
| | | private String standardId; |
| | | @Column(name = "STANDARD_NAME_", length = 50) |
| | | @PropertyDef(label = "åéªé¡¹") |
| | | private String standardName; |
| | | |
| | | @Column(name = "STANDARD_NAME_", length = 50) |
| | | @PropertyDef(label = "åéªé¡¹") |
| | | private String standardName; |
| | | @Column(name = "UNIT_", length = 20) |
| | | @PropertyDef(label = "åä½") |
| | | private String unit; |
| | | |
| | | @Column(name = "UNIT_", length = 20) |
| | | @PropertyDef(label = "åä½") |
| | | private String unit; |
| | | @Column(name = "OPERA_SYMBOL_", length = 4) |
| | | @PropertyDef(label = "è¿ç®ç¬¦å·") |
| | | private String operaSymbol; |
| | | |
| | | @Column(name = "OPERA_SYMBOL_",length = 4) |
| | | @PropertyDef(label = "è¿ç®ç¬¦å·") |
| | | private String operaSymbol; |
| | | @Column(name = "UPPER_LIMIT_") |
| | | @PropertyDef(label = "æ åä¸é") |
| | | private Double upperLimit; |
| | | |
| | | @Column(name = "UPPER_LIMIT_") |
| | | @PropertyDef(label = "æ åä¸é") |
| | | private Double upperLimit; |
| | | @Column(name = "RULE_NUM_") |
| | | @PropertyDef(label = "æ£éç³»æ°") |
| | | private Double ruleNum; |
| | | |
| | | // @Column(name = "LOWER_LIMIT_") |
| | | // @PropertyDef(label = "æ åä¸é") |
| | | // private Double lowerLimit; |
| | | @Column(name = "RULE_ADD_") |
| | | @PropertyDef(label = "å¢é%") |
| | | private Double ruleAdd; |
| | | |
| | | @Column(name = "RULE_NUM_") |
| | | @PropertyDef(label = "æ£éç³»æ°") |
| | | private Double ruleNum; |
| | | @Column(name = "RULE_ADD_END_") |
| | | @PropertyDef(label = "å¢éä¸é%") |
| | | private Double ruleAddEnd; |
| | | |
| | | @Column(name = "RULE_ADD_") |
| | | @PropertyDef(label = "å¢é%") |
| | | private Double ruleAdd; |
| | | @Column(name = "RULE_REDUCE_") |
| | | @PropertyDef(label = "æ£é%") |
| | | private Double ruleReduce; |
| | | |
| | | @Column(name = "RULE_ADD_END_") |
| | | @PropertyDef(label = "å¢éä¸é%") |
| | | private Double ruleAddEnd; |
| | | @Column(name = "RULE_PRICE_") |
| | | @PropertyDef(label = "æ£è´¹ç³»æ°") |
| | | private Double rulePrice; |
| | | |
| | | @Column(name = "RULE_REDUCE_") |
| | | @PropertyDef(label = "æ£é%") |
| | | private Double ruleReduce; |
| | | @Column(name = "RULE_REDUCE_PRICE_") |
| | | @PropertyDef(label = "æ£è´¹") |
| | | private Double ruleReducePrice; |
| | | |
| | | @Column(name = "STANDARD_PRICE_") |
| | | @PropertyDef(label = "æ ååä»·ï¼å
/æ¤ï¼") |
| | | private Double standardPrice; |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | @Column(name = "RULE_PRICE_") |
| | | @PropertyDef(label = "æ£è´¹ç³»æ°") |
| | | private Double rulePrice; |
| | | |
| | | @Column(name = "RULE_REDUCE_PRICE_") |
| | | @PropertyDef(label = "æ£è´¹") |
| | | private Double ruleReducePrice; |
| | | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | @Column(name = "REMARKS_",length= 200) |
| | | @PropertyDef(label = "说æ") |
| | | private String remarks; |
| | | |
| | | @Column(name = "REMARKS_", length = 200) |
| | | @PropertyDef(label = "说æ") |
| | | private String remarks; |
| | | } |
| | |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * åºå
¥åºæ°æ®è®°å½ï¼å½åè®°å½å
æ¬ å
¥åºä¿¡æ¯ååºå
¥åºä¿¡æ¯ï¼ |
| | | * @Desc: åºå
¥åºæµæ°´è¡¨ï¼æ ¹æ®æ°å½ç²®è§è°æ´ä¼ååæ®µ |
| | | * |
| | | * @author: Andy |
| | | * @update-time: 2023/5/26 |
| | | * |
| | | */ |
| | | @Data |
| | | @Entity |
| | |
| | | private String companyId; |
| | | |
| | | @Column(name = "DEPT_ID_", length = 50) |
| | | @PropertyDef(label = "é¨é¨ID", description = "ç¨äºåºåé¨é¨") |
| | | @PropertyDef(label = "åºåºç¼ç ") |
| | | private String deptId; |
| | | |
| | | @Column(name = "NOTICE_ID_", length = 40) |
| | |
| | | package com.ld.igds.models; |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.ld.igds.check.dto.CheckItemData; |
| | | import lombok.Data; |
| | | |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è´¨éå·¡æ£--ç²®é£å¨ä»æ£æµ |
| | | * |
| | | * @author chen |
| | | * è´¨é管çï¼2023å¹´5æ26æ¥ æ ¹æ®æ°å½ç²®è§ä¼åè°æ´ |
| | | * |
| | | * @author chen |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_M_QUALITY") |
| | | public class MQuality implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "主é®ID", description = "ZJ+æ£éªç±»å«+å¹´ææ¥æ¶åç§") |
| | | private String id; |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "主é®ID", description = "ZJ+æ£éªç±»å«+å¹´ææ¥æ¶åç§") |
| | | private String id; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | |
| | | @Column(name = "DEPT_ID_", length = 40) |
| | | @PropertyDef(label = "åºåºç¼ç ") |
| | | private String deptId; |
| | | @Column(name = "DEPT_ID_", length = 40) |
| | | @PropertyDef(label = "åºåºç¼ç ") |
| | | private String deptId; |
| | | |
| | | @Column(name = "DEPOT_ID_", length = 50) |
| | | @PropertyDef(label = "ä»åºç¼ç ") |
| | | private String depotId; |
| | | @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_VARIETY_", length = 10) |
| | | @PropertyDef(label = "ç²®é£åç§") |
| | | private String foodVariety; |
| | | |
| | | @Column(name = "FOOD_LEVEL_", length = 10) |
| | | @PropertyDef(label = "ç²®é£ç级") |
| | | private String foodLevel; |
| | | @Column(name = "FOOD_LEVEL_", length = 10) |
| | | @PropertyDef(label = "ç²®é£ç级") |
| | | private String foodLevel; |
| | | |
| | | @Column(name = "FOOD_TYPE_", length = 10) |
| | | @PropertyDef(label = "ç²®é£æ§è´¨") |
| | | private String foodType; |
| | | @PropertyDef(label = "å
¥åºæ¥æ") |
| | | @Column(name = "STORE_DATE_") |
| | | private Date storeDate; |
| | | |
| | | @Column(name = "FOOD_LOCATION_", length = 30) |
| | | @PropertyDef(label = "ç²®é£äº§å°") |
| | | private String foodLocation; |
| | | @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 = "TYPE_", length = 10) |
| | | @PropertyDef(label = "æ£éªç±»å«", description = "å¦å
¥åºéªæ¶ãå¨èæ£éªãæ¥å¸¸å·¡æ£ç") |
| | | private String type; |
| | | @Column(name = "TIME_") |
| | | @PropertyDef(label = "æ£éªæ¶é´") |
| | | private Date time; |
| | | |
| | | @Column(name = "STANDARD_", length = 10) |
| | | @PropertyDef(label = "æ£éªä¾æ®", description = "01-彿 ï¼02-å
¶ä»") |
| | | private String standard; |
| | | @Column(name = "USER_", length = 50) |
| | | @PropertyDef(label = "æ£éªäºº", description = "æ£éªäººåå§åï¼è¥æå¤ä¸ªä¿ç®¡å") |
| | | private String user; |
| | | |
| | | @Column(name = "USER_", length = 50) |
| | | @PropertyDef(label = "æ£éªå使æ£éªäºº") |
| | | private String user; |
| | | @Column(name = "UNIT_", length = 50) |
| | | @PropertyDef(label = "æ£éªåä½") |
| | | private String unit; |
| | | |
| | | @Column(name = "TIME_") |
| | | @PropertyDef(label = "æ£éªæ¶é´") |
| | | private Date time; |
| | | @Column(name = "STANDARD_", length = 4) |
| | | @PropertyDef(label = "æ£éªä¾æ®", description = "1-彿 ï¼0-å
¶ä»") |
| | | private String standard; |
| | | |
| | | @Column(name = "RESULT_", length = 50) |
| | | @PropertyDef(label = "æ£éªç»è®º") |
| | | private String result; |
| | | |
| | | @Column(name = "CHECK_AREA__", length = 50) |
| | | @PropertyDef(label = "æ¦æ ·åºå") |
| | | private String checkArea; |
| | | @PropertyDef(label = "ææ ç±»å«", description = "1: è´¨éææ æ£éª2ï¼å¨ååè´¨æ£éª3ï¼é£åå®å
¨æ£éª 妿忶æ£éªäºå¤ä¸ªï¼ç¨#éå¼ï¼ä¾å¦ï¼1#2#3") |
| | | @Column(name = "zblb", length = 8) |
| | | private String zblb; |
| | | |
| | | @Column(name = "CHECK_USER_", length = 50) |
| | | @PropertyDef(label = "æ¦æ ·äºº") |
| | | private String checkUser; |
| | | @Column(name = "RESULT_", length = 40) |
| | | @PropertyDef(label = "æ£éªç»è®º", description = "1ãè´¨éææ å¡«å/è¾¾æ /ä¸è¾¾æ 2ãå¨ååè´¨ææ å¡«åâå®åâã轻度ä¸å®åâãâé度ä¸å®åâ3ãé£åå®å
¨ææ å¡«åâåæ ¼âãä¸åæ ¼â å¤é¡¹ææ æ¶ä»¥#åéï¼ä¾å¦ï¼è¾¾æ |综åå¤å®#å®å#åæ ¼ ") |
| | | private String result; |
| | | |
| | | @Column(name = "CHECK_TIME_") |
| | | @PropertyDef(label = "æ¦æ ·æ¶é´") |
| | | private Date checkTime; |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "ç¾åæ¥æ") |
| | | @Column(name = "qfrq") |
| | | private Date qfrq; |
| | | |
| | | @Column(name = "CHECK_NUM_") |
| | | @PropertyDef(label = "æ ·åæ°é") |
| | | private Double checkNum; |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "æ¥ååºå
·æ¶é´") |
| | | @Column(name = "bgcjsj") |
| | | private Date bgcjsj; |
| | | |
| | | @Column(name = "CHECK_REPRESENT_", length = 50) |
| | | @PropertyDef(label = "æ ·å代表") |
| | | private String checkRepresent; |
| | | @PropertyDef(label = "å®¡æ ¸äººå§å") |
| | | @Column(name = "shrxm", length = 64, nullable = false) |
| | | private String shrxm; |
| | | |
| | | @Column(name = "CHECK_LEVEL_", length = 20) |
| | | @PropertyDef(label = "æ ·åç级") |
| | | private String checkLevel; |
| | | @PropertyDef(label = "æ¦æ ·åç¼å·") |
| | | @Column(name = "qydbh", length = 64) |
| | | private String qydbh; |
| | | |
| | | @Column(name = "NORMAL_YEAR_", length = 10) |
| | | @PropertyDef(label = "æ¯å¦æ£å¸¸åå¨å¹´é") |
| | | private String normalYear; |
| | | @Column(name = "CHECK_TIME_") |
| | | @PropertyDef(label = "æ¦æ ·æ¶é´", required = true) |
| | | private Date checkTime; |
| | | |
| | | @Column(name = "REMARK_", length = 500) |
| | | @PropertyDef(label = "夿³¨", description = "夿³¨ä¿¡æ¯") |
| | | private String remark; |
| | | @Column(name = "CHECK_AREA_", length = 50) |
| | | @PropertyDef(label = "æ¦æ ·åºå") |
| | | private String checkArea; |
| | | |
| | | /** |
| | | * åéªé¡¹ä¿¡æ¯ |
| | | */ |
| | | @Transient |
| | | private List<CheckItemData> checkItems; |
| | | @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 = "代表æ°é") |
| | | @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 = "æ¯å¦æ£å¸¸åå¨å¹´é") |
| | | private String normalYear; |
| | | |
| | | @Column(name = "REMARK_", length = 200) |
| | | @PropertyDef(label = "夿³¨", description = "夿³¨ä¿¡æ¯") |
| | | private String remark; |
| | | |
| | | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ°æ®æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * åéªé¡¹ç® |
| | | */ |
| | | @Transient |
| | | private List<CheckItemData> checkItems; |
| | | |
| | | } |
| | |
| | | -- çæ¬V35å级V40èæ¬ ---2023å¹´5æ17æ¥ |
| | | -- çæ¬V35å级V40èæ¬ ---2023å¹´5æ |
| | | |
| | | -- ä¿®æ¹è®¡å表åç§° |
| | | RENAME TABLE D_M_PLAN TO D_INOUT_PLAN |
| | | RENAME TABLE D_M_PLAN_DETAIL TO D_INOUT_PLAN_DETAIL; |
| | | |
| | | --ä¿®æ¹ååä¿¡æ¯ |
| | | RENAME TABLE D_M_CONTRACT TO D_INOUT_CONTRACT; |
| | | RENAME TABLE D_M_CONTRACT TO D_INOUT_CONTRACT; |
| | | |
| | | --æ§è´¨åæ´ |
| | | RENAME TABLE D_M_VARIETY_CHANGE TO D_INOUT_VARIETY_CHANGE; |
| | | |
| | | --è´¨é管ç-æ£éªç±»åå级--å¾
é
ç½® |
| | | UPDATE D_M_QUALITY SET TYPE_ = '', WHERE TYPE_ =''; |
| | | |
| | | UPDATE D_M_QUALITY SET STANDARD_ = '1', WHERE STANDARD_ ='01'; |
| | | UPDATE D_M_QUALITY SET STANDARD_ = '0', WHERE STANDARD_ ='02'; |
| | |
| | | @PropertyDef(label = "åºåºç¼ç ") |
| | | private String deptId; |
| | | |
| | | |
| | | @Column(name = "NAME_", length = 50) |
| | | @PropertyDef(label = "åååç§°") |
| | | private String name; |
| | |
| | | @Column(name = "CUSTOMER_NAME_", length = 50) |
| | | @PropertyDef(label = "客æ·åç§°") |
| | | private String customerName; |
| | | |
| | | |
| | | @Column(name = "fddbr", length = 50) |
| | | @PropertyDef(label = "æ³å®ä»£è¡¨äºº") |
| | |
| | | @PropertyDef(label = "å®¡æ¹æ¶é´", description = "æ ¼å¼ï¼yyyy-MM-dd HH:mm:ss") |
| | | private String auditDate; |
| | | |
| | | @Column(name = "AUDIT_STATUS_", length = 10) |
| | | @PropertyDef(label = "审æ¹ç¶æ") |
| | | private String auditStatus; |
| | | |
| | | @Column(name = "CREATE_TIME_") |
| | | @PropertyDef(label = "å建æ¶é´") |
| | | private Date createTime; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ld.igds.models; |
| | | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * @Desc: 空ä»éªæ¶å |
| | | * @author: Andy |
| | | * @update-time: 2023/5/26 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_INOUT_EMPTY_CHECK") |
| | | public class InoutEmptyCheck implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "åæ®å·") |
| | | private String id; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | |
| | | @Column(name = "DEPT_ID_", length = 50) |
| | | @PropertyDef(label = "åºåºç¼ç ") |
| | | private String deptId; |
| | | |
| | | @Column(name = "DEPOT_ID_", length = 50) |
| | | @PropertyDef(label = "ä»åºç¼ç ") |
| | | private String depotId; |
| | | |
| | | @Column(name = "NAME_", length = 50) |
| | | @PropertyDef(label = "åæ®åç§°") |
| | | private String name; |
| | | |
| | | @Column(name = "FOOD_VARIETY_", length = 20) |
| | | @PropertyDef(label = "æååç§") |
| | | private String foodVariety; |
| | | |
| | | @Column(name = "dpqk", length = 10) |
| | | @PropertyDef(label = "å°åª", description = "仿¿å®å¥½æ
åµ") |
| | | private String dpqk; |
| | | |
| | | @Column(name = "qtqk", length = 10) |
| | | @PropertyDef(label = "å¢ä½", description = "仿¿å®å¥½æ
åµ") |
| | | private String qtqk; |
| | | |
| | | @Column(name = "wmqk", length = 10) |
| | | @PropertyDef(label = "å±é¢", description = "仿¿å®å¥½æ
åµ") |
| | | private String wmqk; |
| | | |
| | | @Column(name = "mcqk", length = 10) |
| | | @PropertyDef(label = "é¨çª", description = "仿¿å®å¥½æ
åµ") |
| | | private String mcqk; |
| | | |
| | | @Column(name = "pdqk", length = 10) |
| | | @PropertyDef(label = "éºå«", description = "仿¿å®å¥½æ
åµ") |
| | | private String pdqk; |
| | | |
| | | @Column(name = "fqw", length = 10) |
| | | @PropertyDef(label = "é²éç½", description = "ä¸é²è®¾æ½æ¯å¦å®å¥½") |
| | | private String fqw; |
| | | |
| | | @Column(name = "fcx", length = 10) |
| | | @PropertyDef(label = "é²è«çº¿", description = "ä¸é²è®¾æ½æ¯å¦å®å¥½") |
| | | private String fcx; |
| | | |
| | | @Column(name = "fsb", length = 10) |
| | | @PropertyDef(label = "é²é¼ æ¿", description = "ä¸é²è®¾æ½æ¯å¦å®å¥½") |
| | | private String fsb; |
| | | |
| | | @Column(name = "tfxt", length = 10) |
| | | @PropertyDef(label = "éé£ç³»ç»æ¯å¦å®å¥½") |
| | | private String tfxt; |
| | | |
| | | @Column(name = "xzxt", length = 10) |
| | | @PropertyDef(label = "çè¸ç³»ç»æ¯å¦å®å¥½") |
| | | private String xzxt; |
| | | |
| | | @Column(name = "lqxt", length = 10) |
| | | @PropertyDef(label = "ç²®æ
ç³»ç»æ¯å¦å®å¥½") |
| | | private String lqxt; |
| | | |
| | | @Column(name = "wkxt", length = 10) |
| | | @PropertyDef(label = "温æ§ç³»ç»æ¯å¦å®å¥½") |
| | | private String wkxt; |
| | | |
| | | @Column(name = "qtxt", length = 10) |
| | | @PropertyDef(label = "æ°è°ç³»ç»æ¯å¦å®å¥½") |
| | | private String qtxt; |
| | | |
| | | @Column(name = "sfqx", length = 10) |
| | | @PropertyDef(label = "æ¯å¦æ¸
æ¶") |
| | | private String sfqx; |
| | | |
| | | @Column(name = "zlfa", length = 10) |
| | | @PropertyDef(label = "æ¯å¦å¶å®è£
ç²®æ¹æ¡") |
| | | private String zlfa; |
| | | |
| | | @Column(name = "CREATE_TIME_") |
| | | @PropertyDef(label = "æ¥æ£æ¶é´") |
| | | private Date createTime; |
| | | |
| | | @Column(name = "AUTID_TIME_") |
| | | @PropertyDef(label = "éªæ¶æ¶é´") |
| | | private Date auditTime; |
| | | |
| | | @Column(name = "AUTID_RESULT_", length = 200) |
| | | @PropertyDef(label = "éªæ¶ç»è®º") |
| | | private String auditResult; |
| | | |
| | | @Column(name = "AUTID_INFO_", length = 200) |
| | | @PropertyDef(label = "éªæ¶å»ºè®®") |
| | | private String auditInfo; |
| | | |
| | | @Column(name = "AUTID_UNIT_", length = 50) |
| | | @PropertyDef(label = "éªæ¶åä½") |
| | | private String auditUnit; |
| | | |
| | | @Column(name = "AUTID_USER_", length = 50) |
| | | @PropertyDef(label = "éªæ¶äºº") |
| | | private String auditUser; |
| | | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ°æ®æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | @Transient |
| | | @PropertyDef(label = "ç¸å
³éä»¶") |
| | | private List<FileInfo> files; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ld.igds.models; |
| | | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * @Desc: 满ä»éªæ¶å |
| | | * @author: Andy |
| | | * @update-time: 2023/5/26 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_INOUT_FULL_CHECK") |
| | | public class InoutFullCheck implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "åæ®å·") |
| | | private String id; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | |
| | | @Column(name = "DEPT_ID_", length = 50) |
| | | @PropertyDef(label = "åºåºç¼ç ") |
| | | private String deptId; |
| | | |
| | | @Column(name = "DEPOT_ID_", length = 50) |
| | | @PropertyDef(label = "ä»åºç¼ç ") |
| | | private String depotId; |
| | | |
| | | @Column(name = "NAME_", length = 50) |
| | | @PropertyDef(label = "åæ®åç§°") |
| | | private String name; |
| | | |
| | | @Column(name = "NOTICE_IDS_", length = 200) |
| | | @PropertyDef(label = "éç¥åç¼å·", description = "æ¯æå¤ä¸ªéæ©ï¼éå·éå¼") |
| | | private String noticeIds; |
| | | |
| | | @Column(name = "NOTICE_NAMES_", length = 200) |
| | | @PropertyDef(label = "éç¥ååç§°", description = "æ¯æå¤ä¸ªéæ©ï¼éå·éå¼") |
| | | private String noticeNames; |
| | | |
| | | @Column(name = "PLAN_NUM_", precision = 16, scale = 2) |
| | | @PropertyDef(label = "è®¡åæ°é", description = "åä½ï¼å¨") |
| | | private Double planNum; |
| | | |
| | | @Column(name = "COMPLETE_NUM_", precision = 16, scale = 2) |
| | | @PropertyDef(label = "宿æ°é", description = "åä½ï¼å¨ï¼ç³»ç»èªå¨å计") |
| | | private double completeNumber = 0.0; |
| | | |
| | | @Column(name = "AUDIT_USER_", length = 50) |
| | | @PropertyDef(label = "å®¡æ ¸äºº") |
| | | private String auditUser; |
| | | |
| | | @Column(name = "AUDIT_DATE_") |
| | | @PropertyDef(label = "å®¡æ¹æ¶é´", description = "æ ¼å¼ï¼yyyy-MM-dd HH:mm:ss") |
| | | private String auditDate; |
| | | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ°æ®æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | @Transient |
| | | @PropertyDef(label = "ç¸å
³éä»¶") |
| | | private List<FileInfo> files; |
| | | |
| | | @Transient |
| | | @PropertyDef(label = "åºå
¥åºæµæ°´") |
| | | private List<InoutRecord> recordList; |
| | | } |
| | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * åºå
¥åº-å
¥åºéç¥å |
| | | * åºå
¥åº-å
¥åºéç¥åï¼2023å¹´5æ26æ¥ ä¼åè°æ´ |
| | | * |
| | | * @author chen |
| | | */ |
| | |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | |
| | | @Column(name = "DEPT_ID_", length = 40) |
| | | @PropertyDef(label = "åºåºç¼ç ", description = "æå±ååº") |
| | | @Column(name = "DEPT_ID_", length = 50) |
| | | @PropertyDef(label = "åºåºç¼ç ") |
| | | private String deptId; |
| | | |
| | | @Column(name = "PLAN_ID_", length = 40) |
| | | @PropertyDef(label = "计åid", description = "计åidä¸ååidäºéä¸") |
| | | private String planId; |
| | | |
| | | @Column(name = "PLAN_NAME_", length = 50) |
| | | @PropertyDef(label = "计ååç§°") |
| | | private String planName; |
| | | |
| | | @Column(name = "CONTRACT_ID_", length = 40) |
| | | @PropertyDef(label = "ååç¼ç ", description = "计åidä¸ååidäºéä¸") |
| | | private String contractId; |
| | | |
| | | @Column(name = "CONTRACT_NAME_", length = 50) |
| | | @PropertyDef(label = "åååç§°") |
| | | private String contractName; |
| | | |
| | | @Column(name = "NAME_", length = 50) |
| | | @PropertyDef(label = "éç¥ååç§°") |
| | | private String name; |
| | | |
| | | @Column(name = "PLAN_ID_", length = 40) |
| | | @PropertyDef(label = "计åæç»å·", description = "é对轮æ¢ç²®é£å¿
å¡«") |
| | | private String planId; |
| | | |
| | | @Column(name = "CONTRACT_ID_", length = 40) |
| | | @PropertyDef(label = "ååç¼ç ", description = "é对轮æ¢ç²®é£å¿
å¡«") |
| | | private String contractId; |
| | | |
| | | @Column(name = "CONTRACT_NAME_", length = 50) |
| | | @PropertyDef(label = "åååç§°", description = "é对轮æ¢ç²®é£å¿
å¡«") |
| | | private String contractName; |
| | | |
| | | // @Column(name = "PLAN_NAME_", length = 50) |
| | | // @PropertyDef(label = "计ååç§°") |
| | | // private String planName; |
| | | |
| | | @Column(name = "DEPOT_ID_", length = 50) |
| | | @PropertyDef(label = "ç®æ ä»åº") |
| | | private String depotId; |
| | | |
| | | @Column(name = "CUSTOMER_ID_", length = 40) |
| | | @PropertyDef(label = "å货客æ·ID") |
| | | @PropertyDef(label = "å货客æ·") |
| | | private String customerId; |
| | | |
| | | @Column(name = "CUSTOMER_NAME_", length = 50) |
| | |
| | | private String year; |
| | | |
| | | @Column(name = "TARGET_NUMBER_") |
| | | @PropertyDef(label = "ç®æ æ°é", description = "åä½ï¼KG") |
| | | @PropertyDef(label = "ç®æ æ°é", description = "åä½ï¼å¨ï¼æå¨å¡«æ¥") |
| | | private double targetNumber = 0.0; |
| | | |
| | | @Column(name = "COMPLETE_NUMBER_") |
| | | @PropertyDef(label = "宿æ°é", description = "åä½ï¼KG") |
| | | @PropertyDef(label = "宿æ°é", description = "åä½ï¼å¨ï¼ç³»ç»èªå¨å计") |
| | | private double completeNumber = 0.0; |
| | | |
| | | @Column(name = "AUDIT_STATUS_", length = 10) |
| | |
| | | @PropertyDef(label = "å®¡æ ¸äºº") |
| | | private String auditUser; |
| | | |
| | | @Column(name = "AUDIT_DATE_") |
| | | @PropertyDef(label = "å®¡æ¹æ¶é´", description = "æ ¼å¼ï¼yyyy-MM-dd HH:mm:ss") |
| | | private String auditDate; |
| | | |
| | | @Column(name = "COMPLETE_STATUS_", length = 10) |
| | | @PropertyDef(label = "å®æç¶æ", description = "æªå®æï¼å·²å®æ") |
| | | private String completeStatus = InoutConstant.COMPLETE_STATUS_NONE; |
| | | |
| | | @Column(name = "COMPLETE_TIME_") |
| | | @PropertyDef(label = "宿æ¶é´") |
| | | private Date completeTime; |
| | | |
| | | @Column(name = "CREATE_TIME_") |
| | | @PropertyDef(label = "å建æ¶é´") |
| | |
| | | @PropertyDef(label = "å建人") |
| | | private String createUser; |
| | | |
| | | @Column(name = "COMPLETE_TIME_") |
| | | @PropertyDef(label = "宿æ¶é´") |
| | | private Date completeTime; |
| | | |
| | | @Column(name = "REMARK_", length = 200) |
| | | @PropertyDef(label = "夿³¨ä¿¡æ¯") |
| | | private String remark; |
| | | |
| | | @Column(name = "TYPE_", length = 2) |
| | | @PropertyDef(label = "ä¸å¡è¯´æ", description = "è½®æ¢ç²®é£ï¼éè½®æ¢ç²®ï¼å¦æä¸ºè½®æ¢ç²®é£ï¼è®¡åæç»åååå¿
å¡«") |
| | | private String type; |
| | | |
| | | @Transient |
| | | @PropertyDef(label = "æ è®°", description = "ç¨äºå¤æéç¥åæ¯å¦ä¸ºæ°å¢") |
| | | private String tag; |
| | | |
| | | @Transient |
| | | @PropertyDef(label = "ç²®é£åç§") |
| | | private String foodVarietyName; |
| | | |
| | | public String getFoodVarietyName() { |
| | | if (null != this.foodVariety) { |
| | |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | @Transient |
| | | @PropertyDef(label = "ä»åºåç§°") |
| | | private String depotName = ""; |
| | | |
| | | @Transient |
| | | @PropertyDef(label = "ç²®é£åç§") |
| | | private String foodVarietyName; |
| | | } |
| | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * åºå
¥åº-åºåºéç¥å |
| | | * åºå
¥åº-åºåºéç¥åï¼æ ¹æ®æ°å½æ å·²æ ¸å¯¹ 2023å¹´5æ26æ¥ 09:35:23 |
| | | * |
| | | * @author chen |
| | | */ |
| | |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | |
| | | @Column(name = "DEPT_ID_", length = 40) |
| | | @PropertyDef(label = "åºåºç¼ç ", description = "æå±ååº") |
| | | @Column(name = "DEPT_ID_", length = 50) |
| | | @PropertyDef(label = "åºåºç¼ç ") |
| | | private String deptId; |
| | | |
| | | @Column(name = "PLAN_ID_", length = 40) |
| | | @PropertyDef(label = "计åid", description = "计åidä¸ååidäºéä¸") |
| | | private String planId; |
| | | |
| | | @Column(name = "PLAN_NAME_", length = 50) |
| | | @PropertyDef(label = "计ååç§°") |
| | | private String planName; |
| | | |
| | | @Column(name = "CONTRACT_ID_", length = 40) |
| | | @PropertyDef(label = "ååid", description = "计åidä¸ååidäºéä¸") |
| | | private String contractId; |
| | | |
| | | @Column(name = "CONTRACT_NAME_", length = 50) |
| | | @PropertyDef(label = "åååç§°") |
| | | private String contractName; |
| | | |
| | | @Column(name = "NAME_", length = 50) |
| | | @PropertyDef(label = "éç¥ååç§°") |
| | | private String name; |
| | | |
| | | @Column(name = "PLAN_ID_", length = 40) |
| | | @PropertyDef(label = "计åæç»å·", description = "é对轮æ¢ç²®é£å¿
å¡«") |
| | | private String planId; |
| | | |
| | | @Column(name = "CONTRACT_ID_", length = 40) |
| | | @PropertyDef(label = "ååç¼ç ", description = "é对轮æ¢ç²®é£å¿
å¡«") |
| | | private String contractId; |
| | | |
| | | @Column(name = "CONTRACT_NAME_", length = 50) |
| | | @PropertyDef(label = "åååç§°", description = "é对轮æ¢ç²®é£å¿
å¡«") |
| | | private String contractName; |
| | | |
| | | // @Column(name = "PLAN_NAME_", length = 50) |
| | | // @PropertyDef(label = "计ååç§°") |
| | | // private String planName; |
| | | |
| | | @Column(name = "DEPOT_ID_", length = 50) |
| | | @PropertyDef(label = "ä»åº") |
| | | @PropertyDef(label = "ç®æ ä»åº") |
| | | private String depotId; |
| | | |
| | | @Column(name = "CUSTOMER_ID_", length = 40) |
| | | @PropertyDef(label = "æ¶è´§åä½ID") |
| | | @PropertyDef(label = "å货客æ·") |
| | | private String customerId; |
| | | |
| | | @Column(name = "CUSTOMER_NAME_", length = 50) |
| | | @PropertyDef(label = "æ¶è´§åä½") |
| | | @PropertyDef(label = "å货客æ·") |
| | | private String customerName; |
| | | |
| | | @Column(name = "UNIT_NAME_", length = 50) |
| | | @PropertyDef(label = "åè´§åä½", description = "åºåºåç§°ï¼æå¨å¡«å") |
| | | @PropertyDef(label = "æ¶è´§åä½", description = "åºåºæå±å
¬å¸ï¼æå¨å½å
¥") |
| | | private String unitName; |
| | | |
| | | @Column(name = "FOOD_VARIETY_", length = 10) |
| | | @PropertyDef(label = "ç²®é£åç§") |
| | | private String foodVariety; |
| | | |
| | | @Column(name = "FOOD_TYPE_", length = 10) |
| | | @PropertyDef(label = "ç²®é£æ§è´¨") |
| | | private String foodType; |
| | | |
| | | @Column(name = "FOOD_LEVEL_", length = 10) |
| | | @PropertyDef(label = "ç²®é£ç级") |
| | | private String foodLevel; |
| | | |
| | | @Column(name = "YEAR_", length = 10) |
| | | @PropertyDef(label = "éç¥å年份") |
| | | @PropertyDef(label = "年份") |
| | | private String year; |
| | | |
| | | @Column(name = "STORAGE_REAL_") |
| | | @PropertyDef(label = "ä»åºå®é
å¨é", description = "åä½ï¼KG") |
| | | private double storageReal = 0.0; |
| | | |
| | | @Column(name = "TARGET_NUMBER_") |
| | | @PropertyDef(label = "ç®æ æ°é", description = "åä½ï¼KG") |
| | | @PropertyDef(label = "ç®æ æ°é", description = "åä½ï¼KGï¼æå¨å¡«æ¥") |
| | | private double targetNumber = 0.0; |
| | | |
| | | @Column(name = "COMPLETE_NUMBER_") |
| | | @PropertyDef(label = "宿é", description = "åä½ï¼KG") |
| | | @PropertyDef(label = "宿æ°é", description = "åä½ï¼KGï¼ç³»ç»èªå¨å计") |
| | | private double completeNumber = 0.0; |
| | | |
| | | @Column(name = "AUDIT_STATUS_", length = 10) |
| | |
| | | @PropertyDef(label = "å®¡æ ¸äºº") |
| | | private String auditUser; |
| | | |
| | | @Column(name = "AUDIT_DATE_") |
| | | @PropertyDef(label = "å®¡æ¹æ¶é´", description = "æ ¼å¼ï¼yyyy-MM-dd HH:mm:ss") |
| | | private String auditDate; |
| | | |
| | | @Column(name = "COMPLETE_STATUS_", length = 10) |
| | | @PropertyDef(label = "å®æç¶æ", description = "æªå®æï¼å·²å®æ") |
| | | private String completeStatus = InoutConstant.COMPLETE_STATUS_NONE; |
| | | |
| | | @Column(name = "COMPLETE_TIME_") |
| | | @PropertyDef(label = "宿æ¶é´") |
| | | private Date completeTime; |
| | | |
| | | @Column(name = "CREATE_TIME_") |
| | | @PropertyDef(label = "å建æ¶é´") |
| | |
| | | @PropertyDef(label = "å建人") |
| | | private String createUser; |
| | | |
| | | @Column(name = "COMPLETE_TIME_") |
| | | @PropertyDef(label = "宿æ¶é´") |
| | | private Date completeTime; |
| | | |
| | | @Column(name = "REMARK_", length = 200) |
| | | @PropertyDef(label = "夿³¨ä¿¡æ¯") |
| | | private String remark; |
| | | |
| | | @Column(name = "TYPE_", length = 2) |
| | | @PropertyDef(label = "ä¸å¡è¯´æ", description = "è½®æ¢ç²®é£ï¼éè½®æ¢ç²®ï¼å¦æä¸ºè½®æ¢ç²®é£ï¼è®¡åæç»åååå¿
å¡«") |
| | | private String type; |
| | | |
| | | @Transient |
| | | @PropertyDef(label = "æ è®°", description = "ç¨äºå¤æéç¥åæ¯å¦ä¸ºæ°å¢") |
| | | private String tag; |
| | | |
| | | |
| | | public String getFoodVarietyName() { |
| | | if (null != this.foodVariety) { |
| | | return FoodVariety.getMsg(this.foodVariety); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | @Transient |
| | | @PropertyDef(label = "ä»åºåç§°") |
| | |
| | | @PropertyDef(label = "ç²®é£åç§") |
| | | private String foodVarietyName; |
| | | |
| | | public String getFoodVarietyName() { |
| | | if (null != this.foodVariety) { |
| | | return FoodVariety.getMsg(this.foodVariety); |
| | | } |
| | | return null; |
| | | } |
| | | } |
| | |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "计åæç»åå·") |
| | | @PropertyDef(label = "计åæç»å·") |
| | | private String id; |
| | | |
| | | @Column(name = "PLAN_ID_", length = 40) |
| | |
| | | private String depotId; |
| | | |
| | | @Column(name = "PLAN_NUM_", precision = 16, scale = 2) |
| | | @PropertyDef(label = "è®¡åæ°é") |
| | | @PropertyDef(label = "è®¡åæ°é", description = "åä½ï¼å¨") |
| | | private Double planNum; |
| | | |
| | | @Column(name = "TYPE_", length = 4) |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ld.igds.models; |
| | | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Desc: åºå
¥åºç²®é£ä»·æ ¼é
置表 |
| | | * @author: Andy |
| | | * @update-time: 2023/5/26 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_INOUT_PRICE") |
| | | public class InoutPrice implements Serializable { |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "ID") |
| | | private String id; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | |
| | | @Column(name = "FOOD_VARIETY_", length = 20) |
| | | @PropertyDef(label = "ç²®é£åç§") |
| | | private String foodVariety; |
| | | |
| | | @Column(name = "FOOD_LEVEL_", length = 20) |
| | | @PropertyDef(label = "ç²®é£ç级") |
| | | private String foodLevel; |
| | | |
| | | @Column(name = "PRICE_") |
| | | @PropertyDef(label = "ç²®é£ä»·æ ¼", description = "åä½ï¼å
/KG") |
| | | private double price; |
| | | |
| | | @Column(name = "START_TIME_") |
| | | @PropertyDef(label = "ææå¼å§æ¶é´") |
| | | private Date startTime; |
| | | |
| | | @Column(name = "END_TIME_") |
| | | @PropertyDef(label = "æææªè³æ¶é´") |
| | | private Date endTime; |
| | | |
| | | @Column(name = "UPDATE_USER_", length = 30) |
| | | @PropertyDef(label = "æåæ´æ°äºº") |
| | | private String updateUser; |
| | | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | @Column(name = "REMARKS_", length = 200) |
| | | @PropertyDef(label = "说æ") |
| | | private String remarks; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ld.igds.models; |
| | | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 综å管ç-ç²®é£æ§è´¨åæ´ï¼ä¸»è¦æ¯åºå
¥åºä¹åå å¨å¤è½¬ååï¼å®æä¹å åå转å¨å¤ã |
| | | * <p> |
| | | * åæ´è®°å½ï¼è¡¨ååæ´ä¸º D_INOUT_VARIETY_CHANGE |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_INOUT_VARIETY_CHANGE") |
| | | public class InoutVarietyChange implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "主é®") |
| | | 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 = "NUMBER_") |
| | | @PropertyDef(label = "ç²®é£æ°é") |
| | | private Double number = 0.0; |
| | | |
| | | @Column(name = "CHANGE_NUMBER_") |
| | | @PropertyDef(label = "å转æ°é") |
| | | private Double changeNumber = 0.0; |
| | | |
| | | @Column(name = "APPROVAL_ID_", length = 40) |
| | | @PropertyDef(label = "æ¹åæå·") |
| | | private String approvalId; |
| | | |
| | | @Column(name = "FOOD_VARIETY_", length = 10) |
| | | @PropertyDef(label = "ç²®é£åç§") |
| | | private String foodVariety; |
| | | |
| | | @Column(name = "FOOD_TYPE_", length = 10) |
| | | @PropertyDef(label = "åç²®é£æ§è´¨") |
| | | private String foodType; |
| | | |
| | | @Column(name = "NEW_FOOD_TYPE_", length = 10) |
| | | @PropertyDef(label = "åæ´åæ§è´¨") |
| | | private String newFoodType; |
| | | |
| | | @Column(name = "CHANGE_TIME_") |
| | | @PropertyDef(label = "åæ´æ¶é´") |
| | | private Date changeTime; |
| | | |
| | | @PropertyDef(label = "ä»å¨å®¡æ ¸äºº") |
| | | @Column(name = "ccshr", length = 64) |
| | | private String ccshr; |
| | | |
| | | @Column(name = "AUDIT_CCSH_", length = 10) |
| | | @PropertyDef(label = "审æ¹ç¶æ") |
| | | private String auditCcsh; |
| | | |
| | | @Column(name = "INFO_CCSH_", length = 200) |
| | | @PropertyDef(label = "å®¡æ ¸è¯´æ") |
| | | private String InfoCcsh; |
| | | |
| | | @PropertyDef(label = "è´¨æ£å®¡æ ¸äºº") |
| | | @Column(name = "zjshr", length = 64) |
| | | private String zjshr; |
| | | |
| | | @Column(name = "AUDIT_ZJSH_", length = 10) |
| | | @PropertyDef(label = "审æ¹ç¶æ") |
| | | private String auditZjsh; |
| | | |
| | | @Column(name = "INFO_ZJSH_", length = 200) |
| | | @PropertyDef(label = "å®¡æ ¸è¯´æ") |
| | | private String InfoZjsh; |
| | | |
| | | @PropertyDef(label = "ç»è®¡å®¡æ ¸äºº") |
| | | @Column(name = "tjshr", length = 64) |
| | | private String tjshr; |
| | | |
| | | @Column(name = "AUDIT_TJSH_", length = 10) |
| | | @PropertyDef(label = "审æ¹ç¶æ") |
| | | private String auditTjsh; |
| | | |
| | | @Column(name = "INFO_TJSH_", length = 200) |
| | | @PropertyDef(label = "å®¡æ ¸è¯´æ") |
| | | private String InfoTjsh; |
| | | |
| | | @PropertyDef(label = "ä¼è®¡å®¡æ ¸äºº") |
| | | @Column(name = "kjshr", length = 64) |
| | | private String kjshr; |
| | | |
| | | @Column(name = "AUDIT_KJSH_", length = 10) |
| | | @PropertyDef(label = "审æ¹ç¶æ") |
| | | private String auditKjsh; |
| | | |
| | | @Column(name = "INFO_KJSH_", length = 200) |
| | | @PropertyDef(label = "å®¡æ ¸è¯´æ") |
| | | private String InfoKjsh; |
| | | |
| | | @PropertyDef(label = "é¢å¯¼å®¡æ ¸äºº") |
| | | @Column(name = "ldshr", length = 64) |
| | | private String ldshr; |
| | | |
| | | @Column(name = "AUDIT_LDSH_", length = 10) |
| | | @PropertyDef(label = "审æ¹ç¶æ", description = "æç»å®¡æ ¸ç¶æä»¥é¢å¯¼å®¡æ ¸ä¸ºå") |
| | | private String auditLdsh; |
| | | |
| | | @Column(name = "INFO_LDSH_", length = 200) |
| | | @PropertyDef(label = "å®¡æ ¸è¯´æ") |
| | | private String InfoLdsh; |
| | | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | @Column(name = "REMARK_", length = 200) |
| | | @PropertyDef(label = "夿³¨") |
| | | private String remark; |
| | | |
| | | } |
| | |
| | | |
| | | import com.bstek.bdf2.core.orm.hibernate.HibernateDao; |
| | | import com.bstek.dorado.data.provider.Page; |
| | | import com.ld.igds.models.MVarietyChange; |
| | | import com.ld.igds.util.ContextUtil; |
| | | |
| | | @Component |
| | | public class HVarietyChangeService extends HibernateDao { |
| | | |
| | | public void pageData(Page<MVarietyChange> page, Map<String, Object> param) |
| | | public void pageData(Page<InoutVarietyChange> page, Map<String, Object> param) |
| | | throws Exception { |
| | | String hql = " from " + MVarietyChange.class.getName() |
| | | String hql = " from " + InoutVarietyChange.class.getName() |
| | | + " where companyId=:companyId"; |
| | | |
| | | Map<String, Object> args = new HashMap<String, Object>(); |
| | |
| | | |
| | | } |
| | | |
| | | public void saveData(MVarietyChange data) { |
| | | public void saveData(InoutVarietyChange data) { |
| | | if (null == data.getCompanyId()) { |
| | | data.setCompanyId(ContextUtil.getCompanyId()); |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | public String delData(MVarietyChange data) { |
| | | public String delData(InoutVarietyChange data) { |
| | | Session session = this.getSessionFactory().openSession(); |
| | | try { |
| | | if (null != data.getId()) { |
| | |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.ld.igds.models.MVarietyChange</Property> |
| | | <Property name="creationType">com.ld.igds.models.InoutVarietyChange</Property> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | <Property name="label">ID</Property> |
| | |
| | | import com.bstek.dorado.annotation.Expose; |
| | | import com.bstek.dorado.data.provider.Page; |
| | | import com.ld.igds.m.service.HVarietyChangeService; |
| | | import com.ld.igds.models.MVarietyChange; |
| | | |
| | | /** |
| | | * 综åä¸å¡-ç²®é£åç§åæ´è®°å½ |
| | |
| | | * @throws Exception |
| | | */ |
| | | @DataProvider |
| | | public void pageData(Page<MVarietyChange> page, Map<String, Object> param) |
| | | public void pageData(Page<InoutVarietyChange> page, Map<String, Object> param) |
| | | throws Exception { |
| | | service.pageData(page, param); |
| | | } |
| | |
| | | * @param data |
| | | */ |
| | | @DataResolver |
| | | public void saveData(MVarietyChange data) { |
| | | public void saveData(InoutVarietyChange data) { |
| | | service.saveData(data); |
| | | } |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @Expose |
| | | public String delData(MVarietyChange data) { |
| | | public String delData(InoutVarietyChange data) { |
| | | return service.delData(data); |
| | | } |
| | | |