已重命名2个文件
已删除2个文件
已修改24个文件
已添加2个文件
| | |
| | | import com.ld.igds.constant.RedisConst; |
| | | import com.ld.igds.log.service.InteStatusLogService; |
| | | import com.ld.igds.models.InteStatusLog; |
| | | import com.ld.igds.models.MStockChange; |
| | | import com.ld.igds.models.InoutStockChange; |
| | | import com.ld.igds.sh.dto.ApiResponse; |
| | | import com.ld.igds.sh.dto.Dto1309; |
| | | import com.ld.igds.sh.param.ApiRequest; |
| | |
| | | redisUtil.set(key, param.getEndTime()); |
| | | |
| | | //æ¥è¯¢æ°æ® |
| | | List<MStockChange> dataList = hApiShServiceImpl.listStockChange(companyId, param.getDepotId(), startTime, param.getEndTime()); |
| | | List<InoutStockChange> dataList = hApiShServiceImpl.listStockChange(companyId, param.getDepotId(), startTime, param.getEndTime()); |
| | | |
| | | //ååºæ°æ®ä¸ºç©ºåç´æ¥è¿åååºç 2000 |
| | | if (dataList == null || dataList.isEmpty()) { |
| | |
| | | InteStatusLog log; |
| | | InteStatusLog addLog; |
| | | //å°è£
æ°æ®ä¿¡æ¯ |
| | | for (MStockChange data : dataList) { |
| | | for (InoutStockChange data : dataList) { |
| | | dto = new Dto1309(); |
| | | dto.setDcdbm(data.getId()); |
| | | dto.setDclx(StringUtils.isEmpty(data.getType())?"0":data.getType()); |
| | |
| | | import com.ld.igds.constant.RedisConst; |
| | | import com.ld.igds.log.service.InteStatusLogService; |
| | | import com.ld.igds.models.InteStatusLog; |
| | | import com.ld.igds.models.MLossOver; |
| | | import com.ld.igds.models.InoutLossOver; |
| | | import com.ld.igds.sh.dto.ApiResponse; |
| | | import com.ld.igds.sh.dto.Dto1311; |
| | | import com.ld.igds.sh.param.ApiRequest; |
| | |
| | | redisUtil.set(key, param.getEndTime()); |
| | | |
| | | //æ¥è¯¢æ°æ® |
| | | List<MLossOver> dataList = hApiShServiceImpl.listLossOver(companyId, |
| | | List<InoutLossOver> dataList = hApiShServiceImpl.listLossOver(companyId, |
| | | param.getDepotId(), startTime, param.getEndTime()); |
| | | |
| | | //ååºæ°æ®ä¸ºç©ºåç´æ¥è¿åååºç 2000 |
| | |
| | | InteStatusLog log; |
| | | InteStatusLog addLog; |
| | | //å°è£
æ°æ®ä¿¡æ¯ |
| | | for (MLossOver data : dataList) { |
| | | for (InoutLossOver data : dataList) { |
| | | dto1311 = new Dto1311(); |
| | | dto1311.setSydbh(data.getId()); |
| | | dto1311.setHwbm(data.getDepotId()); |
| | |
| | | * @param endTime |
| | | * @return |
| | | */ |
| | | public List<MStockChange> listStockChange(String companyId, String depotId, Date startTime, Date endTime) { |
| | | String hql = " from " + MStockChange.class.getName() + " where companyId =:companyId"; |
| | | public List<InoutStockChange> listStockChange(String companyId, String depotId, Date startTime, Date endTime) { |
| | | String hql = " from " + InoutStockChange.class.getName() + " where companyId =:companyId"; |
| | | |
| | | Map<String, Object> args = new HashMap<String, Object>(); |
| | | args.put("companyId", companyId); |
| | |
| | | * @param endTime |
| | | * @return |
| | | */ |
| | | public List<MLossOver> listLossOver(String companyId, String depotId, Date startTime, Date endTime) { |
| | | String hql = " from " + MLossOver.class.getName() + " where companyId =:companyId"; |
| | | public List<InoutLossOver> listLossOver(String companyId, String depotId, Date startTime, Date endTime) { |
| | | String hql = " from " + InoutLossOver.class.getName() + " where companyId =:companyId"; |
| | | |
| | | Map<String, Object> args = new HashMap<String, Object>(); |
| | | args.put("companyId", companyId); |
| | |
| | | * @param endTime |
| | | * @return |
| | | */ |
| | | public List<MStockChange> listStockChange(String companyId, String depotId, Date startTime, Date endTime) { |
| | | String hql = " from " + MStockChange.class.getName() + " where companyId =:companyId"; |
| | | public List<InoutStockChange> listStockChange(String companyId, String depotId, Date startTime, Date endTime) { |
| | | String hql = " from " + InoutStockChange.class.getName() + " where companyId =:companyId"; |
| | | |
| | | Map<String, Object> args = new HashMap<String, Object>(); |
| | | args.put("companyId", companyId); |
| | |
| | | * @param endTime |
| | | * @return |
| | | */ |
| | | public List<MLossOver> listLossOver(String companyId, String depotId, Date startTime, Date endTime) { |
| | | String hql = " from " + MLossOver.class.getName() + " where companyId =:companyId"; |
| | | public List<InoutLossOver> listLossOver(String companyId, String depotId, Date startTime, Date endTime) { |
| | | String hql = " from " + InoutLossOver.class.getName() + " where companyId =:companyId"; |
| | | |
| | | Map<String, Object> args = new HashMap<String, Object>(); |
| | | args.put("companyId", companyId); |
| | |
| | | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 建çç©ï¼å
æ¬ä»æ¿åå
¶ä»æ¿å |
| | | * <p> |
| | | * ä»åºçæé´ä½¿ç¨çæ¯ï¼Depotç±»ï¼ä¸ä¸ªä»æ¿å»ºçå¯è½å
å«å¤ä¸ªæé´ã |
| | | * <p> |
| | | * å½åå®ä¹å¯¹è±¡ä»
ä»
ç¨äºå»ºçç©çæ°æ®é
ç½® |
| | | * @Desc: åºç¡ä¿¡æ¯-仿¿ä¿¡æ¯ |
| | | * @author: Andy |
| | | * @update-time: 2023/5/26 |
| | | */ |
| | | @Data |
| | | @Entity |
| | |
| | | public class Building implements Serializable { |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Id |
| | | @Id |
| | | @Column(name = "ID_", length = 50) |
| | | @PropertyDef(label = "仿¿ç¼ç ") |
| | | private String id; |
| | |
| | | @Column(name = "CREATE_DATE_") |
| | | @PropertyDef(label = "å»ºé æ¥æ") |
| | | private Date createDate; |
| | | |
| | | @Column(name = "LON_", precision = 16, scale = 4) |
| | | @PropertyDef(label = "ç»åº¦") |
| | | private Double lon; |
| | | |
| | | @Column(name = "LAT_", precision = 16, scale = 4) |
| | | @PropertyDef(label = "纬度") |
| | | private Double lat; |
| | | @Column(name = "LON_", precision = 16, scale = 4) |
| | | @PropertyDef(label = "ç»åº¦") |
| | | private Double lon; |
| | | |
| | | @Column(name = "LAT_", precision = 16, scale = 4) |
| | | @PropertyDef(label = "纬度") |
| | | private Double lat; |
| | | } |
| | |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | | * 仿¿æé´-ä¸ä»æ¿å»ºçä¸ä¸æ ·ï¼åªä½ä¸ºå
·ä½ä»åºä½¿ç¨ï¼ç³»ç»ä¸ä»åºçæå°åä½å®ä¹ |
| | | * |
| | | * @author Andy |
| | | * <p> |
| | | * çæ¬å级记å½ï¼ 1ï¼è°æ´åæ®µç»æï¼å é¤é
置类ååæ®µ |
| | | * @Desc: åºç¡ä¿¡æ¯-è´§ä½ä¿¡æ¯ |
| | | * @author: Andy |
| | | * @update-time: 2023/5/26 |
| | | */ |
| | | @Data |
| | | @Entity |
| | |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 50) |
| | | @PropertyDef(label = "ä»åºç¼å·") |
| | | private String id; |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 50) |
| | | @PropertyDef(label = "è´§ä½ç¼å·") |
| | | private String id; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | |
| | | private String deptId; |
| | | |
| | | @Column(name = "NAME_", length = 50) |
| | | @PropertyDef(label = "ä»åºåç§°") |
| | | @PropertyDef(label = "è´§ä½åç§°") |
| | | private String name; |
| | | |
| | | @Column(name = "BUILDING_ID_", length = 50) |
| | | @PropertyDef(label = "æå±ä»æ¿å»ºç") |
| | | @Column(name = "BUILDING_ID_", length = 40) |
| | | @PropertyDef(label = "æå±ä»æ¿") |
| | | private String buildingId; |
| | | |
| | | @Column(name = "GRANARY_ID_", length = 40) |
| | | @PropertyDef(label = "æå±å»é´") |
| | | private String granaryId; |
| | | |
| | | @Column(name = "DEPOT_TYPE_", length = 10) |
| | | @PropertyDef(label = "ä»åºç±»å", description = "æ®éå¹³æ¿ä»") |
| | | @PropertyDef(label = "ä»åºç±»å", description = "æ ¹æ®å½æ é
置类åï¼å¹³æ¿ä»ãç«çä»ãæµ
åä»ã卿²¹ç½") |
| | | private String depotType; |
| | | |
| | | @Column(name = "DEPOT_STATUS_", length = 10) |
| | | @PropertyDef(label = "ä»åºç¶æ", description = "") |
| | | @PropertyDef(label = "ä»åºç¶æ", description = "ä¸åºå表å
³èï¼éè¿åºååæ´") |
| | | private String depotStatus; |
| | | |
| | | @Column(name = "STORE_TYPE_", length = 6) |
| | | @PropertyDef(label = "å¨ç²®æ¹å¼", description = "1:æ£è£
å¨ç²® 2:å
è£
å¨ç²® 3:å´å
æ£å 9:å
¶ä»") |
| | | @PropertyDef(label = "å¨ç²®æ¹å¼", description = "ä¸åºå表å
³è") |
| | | private String storeType; |
| | | |
| | | @Column(name = "STORAGE_MAX_") |
| | | @PropertyDef(label = "设计å¨é", description = "åä½ï¼KG") |
| | | @PropertyDef(label = "设计å¨é", description = "åä½ï¼å¨") |
| | | private Double storageMax; |
| | | |
| | | /** |
| | | * å®é
å¨ééè¦ç¬ç«å»ä¿®æ¹ |
| | | */ |
| | | @Column(name = "STORAGE_REAL_", insertable = true) |
| | | @PropertyDef(label = "å®é
å¨é", description = "åä½ï¼KG") |
| | | @PropertyDef(label = "å®é
å¨é", description = "åä½ï¼KGï¼éè¿åºååæ´") |
| | | private Double storageReal; |
| | | |
| | | @Column(name = "ORIENTATION_", length = 10) |
| | | @PropertyDef(label = "æå", description = "ä¸ãåã西ãå") |
| | | private String orientation; |
| | | |
| | | @Column(name = "FOOD_TYPE_", length = 10) |
| | | @PropertyDef(label = "ç²®é£æ§è´¨") |
| | | @PropertyDef(label = "ç²®é£æ§è´¨", description = "ä¸åºå表å
³èï¼éè¿åºååæ´") |
| | | private String foodType; |
| | | |
| | | @Column(name = "FOOD_VARIETY_", length = 10) |
| | | @PropertyDef(label = "ç²®é£åç§") |
| | | @PropertyDef(label = "ç²®é£åç§", description = "ä¸åºå表å
³èï¼éè¿åºååæ´") |
| | | private String foodVariety; |
| | | |
| | | @Column(name = "FOOD_LEVEL_", length = 10) |
| | | @PropertyDef(label = "ç²®é£ç级") |
| | | @PropertyDef(label = "ç²®é£ç级", description = "ä¸åºå表å
³èï¼éè¿åºååæ´") |
| | | private String foodLevel; |
| | | |
| | | @Column(name = "FOOD_LOCATION_", length = 200) |
| | | @PropertyDef(label = "ç²®é£äº§å°") |
| | | @Column(name = "FOOD_LOCATION_", length = 50) |
| | | @PropertyDef(label = "ç²®é£äº§å°", description = "ä¸åºå表å
³èï¼éè¿åºååæ´") |
| | | private String foodLocation; |
| | | |
| | | // -----以ä¸ä¸ºç²®é£è´¨éä¿¡æ¯ ------// |
| | | @Column(name = "FOOD_YEAR_", length = 10) |
| | | @PropertyDef(label = "ç²®é£å¹´ä»½", description = "ä¸åºå表å
³èï¼éè¿åºååæ´") |
| | | private String foodYear; |
| | | |
| | | |
| | | @Column(name = "PER_WET_") |
| | | @PropertyDef(label = "æ°´å", description = "ç¾åæ¯") |
| | | @PropertyDef(label = "æ°´å", description = "ç¾åæ¯ï¼é»è®¤ä¸ºç©ºï¼æ¥æºè´¨æ£ä¿¡æ¯") |
| | | private Double perWet; |
| | | |
| | | @Column(name = "PER_IMPURITY_") |
| | | @PropertyDef(label = "æè´¨", description = "ç¾åæ¯") |
| | | @PropertyDef(label = "æè´¨", description = "ç¾åæ¯ï¼é»è®¤ä¸ºç©ºï¼æ¥æºè´¨æ£ä¿¡æ¯") |
| | | private Double perImpurity; |
| | | |
| | | @Column(name = "BULK_WEIGHT_") |
| | |
| | | private String storeKeeperName; |
| | | |
| | | @Column(name = "CHECK_DATE_") |
| | | @PropertyDef(label = "æ£æµæ¶é´", description = "æåè´¨æ£æ¶é´") |
| | | @PropertyDef(label = "æåè´¨æ£æ¶é´", description = "é»è®¤ç©ºï¼æ¥æºè´¨æ£ä¿¡æ¯") |
| | | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date checkDate; |
| | | |
| | | @Column(name = "STORE_DATE_") |
| | | @PropertyDef(label = "å
¥åºæ¶é´", description = "å
¥åºæ¶é´") |
| | | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date storeDate; |
| | | |
| | | @Column(name = "FOOD_YEAR_", length = 10) |
| | | @PropertyDef(label = "ç²®é£å¹´ä»½") |
| | | private String foodYear; |
| | | |
| | | @Column(name = "REMARK_", length = 250) |
| | | @Column(name = "REMARK_", length = 200) |
| | | @PropertyDef(label = "夿³¨", description = "夿³¨ä¿¡æ¯") |
| | | private String remark; |
| | | |
| | | // ------------å
¶ä»å±æ§ä¿¡æ¯------------// |
| | | @Transient |
| | | @PropertyDef(label = "å½ååèä¸è®¾å¤ä¿¡æ¯") |
| | | private List<Device> devices; |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ°æ®æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | // ------------å
¶ä»å±æ§ä¿¡æ¯------------// |
| | | @Transient |
| | | @PropertyDef(label = "ç²®é£åç§") |
| | | private String foodVarietyName; |
| | |
| | | @Transient |
| | | @PropertyDef(label = "Yåæ ", description = "ä¸ç»´æ¨¡åä¸åæ ï¼é¡µé¢æ éç»´æ¤") |
| | | private Double posY; |
| | | |
| | | @Transient |
| | | @PropertyDef(label = "ä¿®æ¹æ ç¾") |
| | | private String editTag; |
| | | |
| | | |
| | | public String getFoodLevelName() { |
| | |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | |
| | | @Column(name = "DEPT_ID_", length = 20) |
| | | @Column(name = "DEPT_ID_", length = 40) |
| | | @PropertyDef(label = "æå±åºåº") |
| | | private String deptId; |
| | | |
| | |
| | | @PropertyDef(label = "æå±ä»åº") |
| | | private String depotId; |
| | | |
| | | @Column(name = "COUNTRY_", length = 10) |
| | | @PropertyDef(label = "å½å«") |
| | | private String country; |
| | | |
| | | @Column(name = "STORE_TYPE_", length = 6) |
| | | @PropertyDef(label = "å¨ç²®æ¹å¼", description = "1:æ£è£
å¨ç²® 2:å
è£
å¨ç²® 3:å´å
æ£å 9:å
¶ä»") |
| | | private String storeType; |
| | | |
| | | @Column(name = "MANAGE_TYPE_", length = 6) |
| | | @PropertyDef(label = "ç®¡çæ¹å¼", description = "01 ç´å¨02 代å¨03 ç§ä»04 å§æ") |
| | | private String manageType; |
| | | |
| | | @Column(name = "FOOD_TYPE_", length = 10) |
| | | @PropertyDef(label = "ç²®é£æ§è´¨") |
| | |
| | | @PropertyDef(label = "ç²®é£ç级") |
| | | private String foodLevel; |
| | | |
| | | @Column(name = "FOOD_LOCATION_ID_", length = 50) |
| | | @PropertyDef(label = "ç²®é£äº§å°") |
| | | private String foodLocationId; |
| | | |
| | | @Column(name = "FOOD_LOCATION_", length = 50) |
| | | @PropertyDef(label = "ç²®é£äº§å°") |
| | | private String foodLocation; |
| | | |
| | | @Column(name = "DEPOT_STATUS_", length = 10) |
| | | @PropertyDef(label = "ä»åºç¶æ") |
| | | private String depotStatus; |
| | | |
| | | @Column(name = "FOOD_YEAR_", length = 10) |
| | | @PropertyDef(label = "æ¶è´§å¹´åº¦") |
| | | private String foodYear; |
| | | |
| | | @Column(name = "DEPOT_STATUS_", length = 10) |
| | | @PropertyDef(label = "ä»åºç¶æ", description = "1=空ä»ã2=å
¥åºä¸ã3=满ä»ã4=åºåºä¸ã9=å
¶ä»") |
| | | private String depotStatus; |
| | | |
| | | @Column(name = "STORE_DATE_") |
| | | @PropertyDef(label = "å
¥åºæ¶é´", description = "å
¥åºæ¶é´ï¼ç¬¬ä¸è½¦ç²®é£å
¥ä»æ¶é´,æ ¼å¼ï¼yyyy-MM-dd HH:mm:ss") |
| | | private Date storeDate; |
| | | |
| | | @Column(name = "STORAGE_REAL_") |
| | | @PropertyDef(label = "å®é
å¨é", description = "åä½ï¼KG") |
| | | private Double storageReal; |
| | | |
| | | @Column(name = "FULL_DATE_") |
| | | @PropertyDef(label = "å°ä»æ¥æ", description = "å½è´§ä½ï¼æ²¹ç½ï¼ç¶æä¸ºå°ä»æ¶ï¼æ¤é¡¹ä¸ºå¿
填项") |
| | | private Date fullDate; |
| | | |
| | | @Column(name = "OUT_DATE_") |
| | | @PropertyDef(label = "åºä»æ¶é´", description = "å
¥åºæ¶é´ï¼ç¬¬ä¸è½¦ç²®é£åºä»æ¶é´,æ ¼å¼ï¼yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "åºä»æ¶é´", description = "åºåºæ¶é´ï¼æåä¸è½¦ç²®é£åºä»å®ææ¶é´,æ ¼å¼ï¼yyyy-MM-dd HH:mm:ss") |
| | | private Date outDate; |
| | | |
| | | @Column(name = "STORAGE_REAL_") |
| | | @PropertyDef(label = "å®é
å¨é", description = "åä½ï¼KG") |
| | | private Double storageReal; |
| | | |
| | | @Column(name = "STORE_SETTLE__") |
| | | @PropertyDef(label = "计价æ°é", description = "åä½ï¼KG") |
| | | private Double storageSettle; |
| | | |
| | | @Column(name = "GRAIN_HEIGHT_") |
| | | @PropertyDef(label = "è£
粮线é«", description = "åä½ï¼ç±³") |
| | |
| | | @Column(name = "UPDATE_DATE_") |
| | | @PropertyDef(label = "ä¿®æ¹æ¶é´") |
| | | private Date updateDate; |
| | | |
| | | @Column(name = "CREATE_DATE_") |
| | | @PropertyDef(label = "å建æ¶é´") |
| | | private Date createDate; |
| | | |
| | | public DepotStore() { |
| | | } |
| | |
| | | this.remark = remark; |
| | | this.updateUser = updateUser; |
| | | this.updateDate = updateDate; |
| | | this.createDate = createDate; |
| | | } |
| | | |
| | | public DepotStore(Depot depot, String depotStatus) { |
| | |
| | | this.storageReal = depot.getStorageReal(); |
| | | this.storeDate = new Date(); |
| | | this.updateDate = new Date(); |
| | | this.createDate = new Date(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ld.igds.models; |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | 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_GRANARY") |
| | | public class Granary implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 9157617424050247565L; |
| | | |
| | | @Id |
| | | @PropertyDef(label = "å»é´ä»£ç ") |
| | | @Column(name = "ajdh", length = 28) |
| | | private String ajdh; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | |
| | | @Column(name = "DEPT_ID_", length = 40) |
| | | @PropertyDef(label = "æå±ååº") |
| | | private String deptId; |
| | | |
| | | @PropertyDef(label = "å»é´åç§°") |
| | | @Column(name = "ajmc", length = 100) |
| | | private String ajmc; |
| | | |
| | | @PropertyDef(label = "仿¿(ææ²¹ç½)ç¼ç ") |
| | | @Column(name = "cfbh", length = 25) |
| | | private String cfbh; |
| | | |
| | | @PropertyDef(label = "å»é´é¿åº¦") |
| | | @Column(name = "ajcd", precision = 8, scale = 4) |
| | | private double ajcd; |
| | | |
| | | @PropertyDef(label = "å»é´å®½åº¦") |
| | | @Column(name = "ajkd", precision = 8, scale = 4) |
| | | private double ajkd; |
| | | |
| | | @PropertyDef(label = "å»é´é«åº¦") |
| | | @Column(name = "ajgd", precision = 8, scale = 4) |
| | | private double ajgd; |
| | | |
| | | @PropertyDef(label = "å»é´è®¾è®¡ä»å®¹") |
| | | @Column(name = "ajsjcr", precision = 20, scale = 3) |
| | | private double ajsjcr; |
| | | |
| | | @PropertyDef(label = "å»é´èç³»çµè¯") |
| | | @Column(name = "ajlxdh", length = 20) |
| | | private String ajlxdh; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "å»é´å¯ç¨æ¥æ") |
| | | @Column(name = "ajqyrq") |
| | | private Date ajqyrq; |
| | | |
| | | @PropertyDef(label = "å»é´ç¶æ") |
| | | @Column(name = "ajzt", length = 1) |
| | | private String ajzt; |
| | | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ°æ®æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | } |
| | |
| | | import javax.persistence.*; |
| | | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.ld.igds.constant.Constant; |
| | | import com.ld.igds.constant.TransType; |
| | | import com.ld.igds.inout.InoutConstant; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * @Desc: åºå
¥åºæµæ°´è¡¨ï¼æ ¹æ®æ°å½ç²®è§è°æ´ä¼ååæ®µ |
| | | * |
| | | * @Desc: åºå
¥åºæµæ°´è¡¨ï¼æ ¹æ®æ°å½ç²®è§è°æ´ä¼ååæ®µï¼2023å¹´5æ26æ¥ æ ¹æ®æ°å½ç²®è§ä¼å |
| | | * @author: Andy |
| | | * @update-time: 2023/5/26 |
| | | * |
| | | */ |
| | | @Data |
| | | @Entity |
| | |
| | | private String id; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "ç»ç»ç¼ç ", description = "") |
| | | @PropertyDef(label = "ç»ç»ç¼ç ") |
| | | private String companyId; |
| | | |
| | | @Column(name = "DEPT_ID_", length = 50) |
| | |
| | | private String depotId; |
| | | |
| | | @Column(name = "TYPE_", length = 10) |
| | | @PropertyDef(label = "åºå
¥åºç±»å", description = "åºåºï¼å
¥åº") |
| | | @PropertyDef(label = "åºå
¥åºç±»å", description = "IN=å
¥åºï¼OUT=åºåº") |
| | | private String type; |
| | | |
| | | @Column(name = "PROGRESS_", length = 20) |
| | |
| | | @PropertyDef(label = "æ°æ®ç¶æ", description = "æ°æ®ç¶æï¼æ£å¸¸ï¼å¼å¸¸ï¼2å°æ¶å
éå¤åºå
¥åºçï¼ï¼è¡¥å½") |
| | | private String recordStatus = InoutConstant.RECORD_STATUS_NORMAL; |
| | | |
| | | @Column(name = "CUSTOMER_NAME_", length = 50) |
| | | @PropertyDef(label = "徿¥åä½", description = "å
³èéç¥åè·å") |
| | | private String customerName; |
| | | |
| | | @Column(name = "INTEL_CARD_", length = 20) |
| | | @PropertyDef(label = "æºæ
§å¡å·") |
| | | private String intelCard; |
| | | |
| | | /*** ------------------------ç»è®°-------------------------------------**/ |
| | | @Column(name = "REGISTER_TIME_") |
| | | @PropertyDef(label = "ç»è®°æ¶é´") |
| | | private Date registerTime; |
| | | |
| | | @Column(name = "REGISTER_USER_", length = 40) |
| | | @PropertyDef(label = "ç»è®°äººå") |
| | | @Column(name = "REGISTER_USER_", length = 50) |
| | | @PropertyDef(label = "ç»è®°äºº") |
| | | private String registerUser; |
| | | |
| | | @Column(name = "USER_NAME_", length = 40) |
| | | @PropertyDef(label = "æ¿è¿äºº") |
| | | private String userName = ""; |
| | | private String userName; |
| | | |
| | | @Column(name = "USER_CONTACT_", length = 20) |
| | | @PropertyDef(label = "èç³»æ¹å¼") |
| | | private String userContact; |
| | | |
| | | @Column(name = "USER_ID_", length = 20) |
| | | @PropertyDef(label = "身份è¯å·") |
| | | private String userId; |
| | | |
| | | @Column(name = "USER_ADDRESS_", length = 100) |
| | | @PropertyDef(label = "æ¿è¿äººå°å") |
| | | private String userAddress; |
| | | |
| | | @Column(name = "USER_BIRTHDAY_") |
| | | @PropertyDef(label = "åºçæ¥æ") |
| | |
| | | @PropertyDef(label = "æ°æ") |
| | | private String userNation; |
| | | |
| | | @Column(name = "USER_ID_", length = 20) |
| | | @PropertyDef(label = "身份è¯å·") |
| | | private String userId; |
| | | |
| | | @Column(name = "USER_CONTACT_", length = 20) |
| | | @PropertyDef(label = "èç³»æ¹å¼") |
| | | private String userContact; |
| | | |
| | | @Column(name = "USER_ADDRESS_", length = 100) |
| | | @PropertyDef(label = "æ¿è¿äººå°å") |
| | | private String userAddress; |
| | | |
| | | // åºæ¬ä¿¡æ¯ |
| | | @Column(name = "INTEL_CARD_", length = 20) |
| | | @PropertyDef(label = "æºæ
§å¡å·") |
| | | private String intelCard; |
| | | |
| | | @Column(name = "PLATE_NUM_", length = 20) |
| | | @PropertyDef(label = "车è¹å·", description = "车çå·+æ è¯ç¬¦") |
| | | private String plateNum; |
| | |
| | | @PropertyDef(label = "è¿è¾å·¥å
·") |
| | | private String transType = TransType.TYPE_1.getCode(); |
| | | |
| | | @Column(name = "CUSTOMER_ID_", length = 40) |
| | | @PropertyDef(label = "徿¥åä½", description = "å
¥åºæ¶ï¼è¡¨ç¤ºåè´§åä½ï¼åºåºæ¶å表示æ¶è´§åä½") |
| | | private String customerId; |
| | | |
| | | @Column(name = "CUSTOMER_NAME_", length = 50) |
| | | @PropertyDef(label = "徿¥åä½", description = "å
¥åºæ¶ï¼è¡¨ç¤ºåè´§åä½ï¼åºåºæ¶å表示æ¶è´§åä½") |
| | | private String customerName; |
| | | |
| | | // ç²®é£ä¿¡æ¯ |
| | | /*** ------------------------ç²®é£åºç¡ä¿¡æ¯-------------------------------------**/ |
| | | @Column(name = "FOOD_VARIETY_", length = 20) |
| | | @PropertyDef(label = "ç²®é£åç§") |
| | | private String foodVariety; |
| | | |
| | | @Column(name = "FOOD_TYPE_", length = 20) |
| | | @PropertyDef(label = "ä»å¨ç±»å") |
| | | @PropertyDef(label = "ç²®é£æ§è´¨") |
| | | private String foodType; |
| | | |
| | | @Column(name = "FOOD_LEVEL_", length = 40) |
| | | @PropertyDef(label = "ç²®é£ç级") |
| | | private String foodLevel; |
| | | @Column(name = "FOOD_LOCATION_ID_", length = 20) |
| | | @PropertyDef(label = "产å°å称代ç ") |
| | | private String foodLocationId; |
| | | |
| | | @Column(name = "FOOD_LOCATION_", length = 40) |
| | | @PropertyDef(label = "产å°åç§°") |
| | | private String foodLocation; |
| | | |
| | | @Column(name = "FOOD_YEAR_", length = 20) |
| | | @PropertyDef(label = "年份") |
| | | @Column(name = "FOOD_YEAR_", length = 10) |
| | | @PropertyDef(label = "æ¶è´§å¹´åº¦") |
| | | private String foodYear; |
| | | |
| | | // åéªä¿¡æ¯ |
| | | @Column(name = "CHECK_STATUS_") |
| | | @PropertyDef(label = "åéªç»æ") |
| | | /*** ------------------------æ¦æ ·è´¨æ£ä¿¡æ¯-------------------------------------**/ |
| | | @Column(name = "FOOD_LEVEL_", length = 20) |
| | | @PropertyDef(label = "ç²®é£å®ç") |
| | | private String foodLevel; |
| | | |
| | | @Column(name = "CHECK_STATUS_", length = 10) |
| | | @PropertyDef(label = "è´¨æ£ç»æ") |
| | | private String checkStatus = InoutConstant.STATUS_NONE; |
| | | |
| | | @Column(name = "CHECK_USER_") |
| | | @PropertyDef(label = "åéªäºº") |
| | | @Column(name = "CHECK_USER_", length = 50) |
| | | @PropertyDef(label = "è´¨æ£äºº") |
| | | private String checkUser; |
| | | |
| | | @Column(name = "CHECK_TIME_") |
| | | @PropertyDef(label = "è´¨æ£æ¶é´") |
| | | private Date checkTime; |
| | | |
| | | @Column(name = "SAMPLE_USER_") |
| | | @PropertyDef(label = "æ¦æ ·äºº") |
| | | private String sampleUser; |
| | | |
| | | @Column(name = "SAMPLE_TIME_") |
| | | @PropertyDef(label = "æ¦æ ·æ¶é´") |
| | | private Date sampleTime; |
| | | |
| | | @Column(name = "SAMPLE_TYPE_") |
| | | @PropertyDef(label = "æ¦æ ·æ¹å¼", description = "0-人工ï¼1=èªå¨ï¼2=æºè½éæº") |
| | | private Date sampleType; |
| | | |
| | | @Column(name = "CHECK_ID_") |
| | | @PropertyDef(label = "åéªåå·") |
| | | @PropertyDef(label = "è´¨æ£åå·") |
| | | private String checkId; |
| | | |
| | | // ç§°é忣éä¿¡æ¯ |
| | | // @Column(name = "IMPURITY_") |
| | | // @PropertyDef(label = "æè´¨", description = "ç¾åæ¯") |
| | | // private Double impurity = 0.0; |
| | | // |
| | | // @Column(name = "WET_") |
| | | // @PropertyDef(label = "æ°´å", description = "ç¾åæ¯") |
| | | // private Double wet = 0.0; |
| | | @Column(name = "DE_CHECK_") |
| | | @PropertyDef(label = "è´¨æ£æ£é", description = "åä½KG") |
| | | private double deCheck = 0.0; |
| | | |
| | | @Column(name = "DE_IMPURITY_") |
| | | @PropertyDef(label = "æè´¨æ£é", description = "åä½KG") |
| | | private Double deImpurity = 0.0; |
| | | @Column(name = "ADD_CHECK_") |
| | | @PropertyDef(label = "è´¨æ£å¢é", description = "åä½KG") |
| | | private double addCheck = 0.0; |
| | | |
| | | @Column(name = "DE_WET_") |
| | | @PropertyDef(label = "æ°´åæ£é", description = "åä½KG") |
| | | private Double deWet = 0.0; |
| | | /*** ------------------------ç§°éç¯è-------------------------------------**/ |
| | | |
| | | @Column(name = "DE_HANDLE_") |
| | | @PropertyDef(label = "å¼ä»æ£é", description = "åä½KG") |
| | | private Double deHandle = 0.0; |
| | | |
| | | @Column(name = "DE_OTHER_") |
| | | @PropertyDef(label = "å
¶ä»æ£é", description = "åä½KG") |
| | | private Double deOther = 0.0; |
| | | |
| | | @Column(name = "DE_SUM_") |
| | | @PropertyDef(label = "æ»æ£é", description = "åä½KG") |
| | | private Double deSum = 0.0; |
| | | @Column(name = "jjlx", length = 2) |
| | | @PropertyDef(label = "æ£æ¤ç±»å", description = "0ï¼ç§°éå
¥åº 1ï¼æ åå
å
¥åº é»è®¤ä¸ºç§°éå
¥åºï¼æ åå
å
¥åºç¸å
³å段å¯ä¸ºç©º") |
| | | private String jjlx = "0"; |
| | | |
| | | @Column(name = "FULL_WEIGHT_") |
| | | @PropertyDef(label = "满车称é", description = "å
¥åºæ¶åè¡¨ç¤ºç¬¬ä¸æ¬¡ç§°éï¼åºåºæ¶åè¡¨ç¤ºç¬¬äºæ¬¡ç§°éï¼åä½KG") |
| | |
| | | private String emptyWeightUser; |
| | | |
| | | @Column(name = "NET_WEIGHT_") |
| | | @PropertyDef(label = "åé", description = "åä½KG") |
| | | private Double netWeight = 0.0; |
| | | @PropertyDef(label = "忝é", description = "åä½KGï¼çäºæ»¡è½¦ - 空车") |
| | | private double netWeight = 0.0; |
| | | |
| | | @Column(name = "DE_HANDLE_") |
| | | @PropertyDef(label = "ç°åºæ£é", description = "åä½KG") |
| | | private double deHandle = 0.0; |
| | | |
| | | @Column(name = "DE_PACKAGE_") |
| | | @PropertyDef(label = "å
è£
æ£é", description = "åä½KG") |
| | | private double dePackage = 0.0; |
| | | |
| | | @Column(name = "DE_OTHER_") |
| | | @PropertyDef(label = "å
¶ä»æ£é", description = "åä½KG") |
| | | private double deOther = 0.0; |
| | | |
| | | @Column(name = "DE_OTHER_INTO_", length = 200) |
| | | @PropertyDef(label = "å
¶ä»æ£éåå ") |
| | | private String deOtherInfo; |
| | | |
| | | @Column(name = "SETTLE_WEIGHT_") |
| | | @PropertyDef(label = "ç»ç®éé", description = "æ£éååéï¼ç»ç®åéï¼åä½KG") |
| | |
| | | @PropertyDef(label = "å
¥åºéé", description = "æ£éååéï¼ç»ç®åéï¼è¡¥å
æ¬å¢éï¼åä½KG") |
| | | private Double recordWeight = 0.0; |
| | | |
| | | |
| | | /** |
| | | * -----------ç»ç®ä¿¡æ¯----------------------- |
| | | **/ |
| | | @Column(name = "PRICE_") |
| | | @PropertyDef(label = "åä»·", description = "åä½ï¼å
/å
¬æ¤") |
| | | private Double price = 0.0; |
| | |
| | | @PropertyDef(label = "ç»ç®éé¢", description = "åä½ï¼å
") |
| | | private Double settleMoney = 0.00; |
| | | |
| | | @Column(name = "CUR_STORAGE_") |
| | | @PropertyDef(label = "å½ååºå") |
| | | private double curStorage = 0.0; |
| | | @Column(name = "SETTLE_ID_") |
| | | @PropertyDef(label = "ç»ç®åå·", description = "妿æ¯å车ç»ç®å¿
å¡«") |
| | | private String settleId; |
| | | |
| | | // å¼ä»ä¿¡æ¯ |
| | | @Column(name = "HANDLE_START_") |
| | | @PropertyDef(label = "å¼ä»å¼å§æ¶é´") |
| | | private Date handleStart; |
| | | |
| | | @Column(name = "HANDLE_END_") |
| | | @PropertyDef(label = "å¼ä»ç»ææ¶é´") |
| | | private Date handleEnd; |
| | | |
| | | /** |
| | | * ----------- å¼ä»ä¿¡æ¯----------------------- |
| | | **/ |
| | | @Column(name = "HANDLE_USER_", length = 40) |
| | | @PropertyDef(label = "å¼ä»æä½äºº") |
| | | private String handleUser; |
| | |
| | | @PropertyDef(label = "夿³¨ä¿¡æ¯") |
| | | private String remarks; |
| | | |
| | | @Column(name = "SETTLE_TAG_", length = 2) |
| | | @PropertyDef(label = "æ¯å¦ç»ç®", description = "Y:表示已ç»ç®ï¼N:表示æªç»ç®") |
| | | private String settleTag = Constant.YN_N; |
| | | |
| | | /** |
| | | * ----------- å
¶ä»ä¿¡æ¯ï¼éå¯¹æ£æ¤ç±»åæ åå
å
¥åºå¡«å----------------------- |
| | | **/ |
| | | @Column(name = "bzw", length = 2) |
| | | @PropertyDef(label = "å
è£
ç©", description = "1ï¼éº»è¢2ï¼ç¼ç»è¢3ï¼æ£è£
9ï¼å
¶ä»") |
| | | private String bzw; |
| | | |
| | | @Column(name = "SPEC_TYPE_", length = 10) |
| | | @PropertyDef(label = "è§æ ¼", description = "æ£ç²®ï¼25kg, 50kg") |
| | | private String specType = "æ£ç²®"; |
| | | @Column(name = "dbz", length = 2) |
| | | @PropertyDef(label = "åå
é", description = "åä½ï¼å
¬æ¤") |
| | | private Double dbz; |
| | | |
| | | //--------çæ¬4.0è°æ´å段 --------------// |
| | | // @Column(name = "jsdh", length = 42) |
| | | // @PropertyDef(label = "ç»ç®åå·") |
| | | // private String jsdh; |
| | | // |
| | | // @Column(name = "FOOD_LOCATION_CODE_", length = 10) |
| | | // @PropertyDef(label = "产å°ä»£ç ") |
| | | // private String foodLocationCode; |
| | | // |
| | | // @Column(name = "jjlx", length = 2) |
| | | // @PropertyDef(label = "æ£æ¤ç±»å", description = "0ï¼ç§°éå
¥åº 1ï¼æ åå
å
¥åº é»è®¤ä¸ºç§°éå
¥åºï¼æ åå
å
¥åºç¸å
³å段å¯ä¸ºç©º") |
| | | // private String jjlx = "0"; |
| | | // |
| | | // @Column(name = "bzw", length = 2) |
| | | // @PropertyDef(label = "å
è£
ç©", description = "1ï¼éº»è¢2ï¼ç¼ç»è¢3ï¼æ£è£
9ï¼å
¶ä»") |
| | | // private String bzw; |
| | | // |
| | | // @Column(name = "bzbdbz", length = 2) |
| | | // @PropertyDef(label = "åå
é", description = "åä½ï¼å
¬æ¤") |
| | | // private Double bzw; |
| | | // |
| | | // @Column(name = "bzbjs", length = 2) |
| | | // @PropertyDef(label = "å
ä»¶æ°", description = "åä½ï¼ä»¶") |
| | | // private int bzbjs; |
| | | @Column(name = "bzbjs", length = 2) |
| | | @PropertyDef(label = "å
ä»¶æ°", description = "åä½ï¼ä»¶") |
| | | private int bzbjs; |
| | | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ°æ®æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "InoutRecord [id=" + id + ", depotId=" + depotId + ", type=" |
| | | + type + ", settleWeight=" + settleWeight + ", completeTime=" |
| | | + completeTime + "]"; |
| | | } |
| | | } |
| | |
| | | @PropertyDef(label = "夿³¨", description = "夿³¨ä¿¡æ¯") |
| | | private String remark; |
| | | |
| | | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ°æ®æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * åéªé¡¹ç® |
| | | * åéªé¡¹ç®æç» |
| | | */ |
| | | @Transient |
| | | private List<CheckItemData> checkItems; |
| | |
| | | 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'; |
| | | UPDATE D_M_QUALITY SET STANDARD_ = '0', WHERE STANDARD_ ='02'; |
| | | |
| | | -- ææº¢è¡¨ |
| | | RENAME TABLE D_M_LOSS_OVER TO D_INOUT_LOSS_OVER; |
| | | |
| | | -- åä» |
| | | RENAME TABLE D_M_STOCK_CHANGE TO D_INOUT_STOCK_CHANGE; |
| | | |
| | | --客æ·ä¿¡ç¨ |
| | | RENAME TABLE D_CREDIT TO D_INTOU_CREDIT; |
| | |
| | | package com.ld.igds.m.service; |
| | | |
| | | import com.bstek.bdf2.core.orm.hibernate.HibernateDao; |
| | | import com.ld.igds.models.Credit; |
| | | import com.ld.igds.models.InoutCredit; |
| | | import com.ld.igds.util.ContextUtil; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.hibernate.Session; |
| | |
| | | @Component |
| | | public class HCreditService extends HibernateDao { |
| | | |
| | | public List<Credit> listCredit(Map<String, Object> param) { |
| | | String hql = " from " + Credit.class.getName() + " where companyId=:companyId and deptId =:deptId "; |
| | | public List<InoutCredit> listCredit(Map<String, Object> param) { |
| | | String hql = " from " + InoutCredit.class.getName() + " where companyId=:companyId and deptId =:deptId "; |
| | | |
| | | Map<String, Object> args = new HashMap<String, Object>(); |
| | | args.put("companyId", ContextUtil.getCompanyId()); |
| | |
| | | return this.query(hql,args); |
| | | } |
| | | |
| | | public String saveCredit(Credit data) { |
| | | public String saveCredit(InoutCredit data) { |
| | | Session session = this.getSessionFactory().openSession(); |
| | | try { |
| | | if(StringUtils.isEmpty(data.getCompanyId())){ |
| | |
| | | return null; |
| | | } |
| | | |
| | | public String delCredit(Credit data) { |
| | | public String delCredit(InoutCredit data) { |
| | | Session session = this.getSessionFactory().openSession(); |
| | | try { |
| | | if(null == data.getCompanyId()) data.setCompanyId(ContextUtil.getCompanyId()); |
| | |
| | | import com.ld.igds.inout.dto.InoutData; |
| | | import com.ld.igds.inout.dto.InoutParam; |
| | | import com.ld.igds.inout.service.InoutService; |
| | | import com.ld.igds.models.InoutLossOver; |
| | | import com.ld.igds.util.DateUtil; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.apache.commons.lang3.time.DateFormatUtils; |
| | |
| | | import com.bstek.bdf2.core.business.IUser; |
| | | import com.bstek.bdf2.core.orm.hibernate.HibernateDao; |
| | | import com.bstek.dorado.data.provider.Page; |
| | | import com.ld.igds.models.MLossOver; |
| | | import com.ld.igds.util.ContextUtil; |
| | | |
| | | @Component |
| | |
| | | @Autowired |
| | | private InoutService inoutService; |
| | | |
| | | public void pageData(Page<MLossOver> page, Map<String, Object> param) |
| | | public void pageData(Page<InoutLossOver> page, Map<String, Object> param) |
| | | throws Exception { |
| | | String hql = " from " + MLossOver.class.getName() |
| | | String hql = " from " + InoutLossOver.class.getName() |
| | | + " where companyId=:companyId"; |
| | | |
| | | Map<String, Object> args = new HashMap<String, Object>(); |
| | |
| | | } |
| | | |
| | | @Transactional(rollbackOn = Exception.class) |
| | | public void saveData(MLossOver data) throws Exception { |
| | | public void saveData(InoutLossOver data) throws Exception { |
| | | Session session = this.getSessionFactory().openSession(); |
| | | data.setUpdateTime(new Date()); |
| | | data.setUpdateUser(ContextUtil.getLoginUserCName()); |
| | |
| | | } |
| | | } |
| | | |
| | | private String addInoutDataByLossOver(MLossOver lossOver){ |
| | | private String addInoutDataByLossOver(InoutLossOver lossOver){ |
| | | if (null == lossOver.getSubmitTime()) { |
| | | lossOver.setSubmitTime(new Date()); |
| | | } |
| | |
| | | } |
| | | |
| | | @Transactional(rollbackOn = Exception.class) |
| | | public String delData(MLossOver data) throws Exception { |
| | | public String delData(InoutLossOver data) throws Exception { |
| | | Session session = this.getSessionFactory().openSession(); |
| | | try { |
| | | if (null != data.getId()) { |
| | |
| | | return null; |
| | | } |
| | | |
| | | private void delInoutDataByLossOver(MLossOver lossOver) { |
| | | private void delInoutDataByLossOver(InoutLossOver lossOver) { |
| | | InoutParam param = new InoutParam(); |
| | | param.setCompanyId(lossOver.getCompanyId()); |
| | | param.setId(lossOver.getId()); |
| | |
| | | |
| | | import com.bstek.bdf2.core.orm.hibernate.HibernateDao; |
| | | import com.bstek.dorado.data.provider.Page; |
| | | import com.ld.igds.models.MStockChange; |
| | | import com.ld.igds.models.InoutStockChange; |
| | | import com.ld.igds.util.ContextUtil; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.hibernate.Session; |
| | |
| | | |
| | | @Service |
| | | public class HMAtockChangeService extends HibernateDao { |
| | | public void pageData(Page<MStockChange> page, Map<String, Object> param) |
| | | public void pageData(Page<InoutStockChange> page, Map<String, Object> param) |
| | | throws Exception { |
| | | String hql = " from " + MStockChange.class.getName() |
| | | String hql = " from " + InoutStockChange.class.getName() |
| | | + " where companyId=:companyId"; |
| | | |
| | | Map<String, Object> args = new HashMap<String, Object>(); |
| | |
| | | |
| | | } |
| | | |
| | | public void saveData(MStockChange data) { |
| | | public void saveData(InoutStockChange data) { |
| | | if (null == data.getCompanyId()) { |
| | | data.setCompanyId(ContextUtil.getCompanyId()); |
| | | } |
| | |
| | | session.close(); |
| | | } |
| | | } |
| | | public String delData(MStockChange data) { |
| | | public String delData(InoutStockChange data) { |
| | | Session session = this.getSessionFactory().openSession(); |
| | | try { |
| | | if (null != data.getId()) { |
| | |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.ld.igds.models.Credit</Property> |
| | | <Property name="creationType">com.ld.igds.models.InoutCredit</Property> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | <Property name="label">主é®id</Property> |
| | |
| | | import com.bstek.dorado.annotation.DataResolver; |
| | | import com.bstek.dorado.annotation.Expose; |
| | | import com.ld.igds.m.service.HCreditService; |
| | | import com.ld.igds.models.Credit; |
| | | import com.ld.igds.models.InoutCredit; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | import java.util.List; |
| | |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public List<Credit> listCredit(Map<String, Object> param) { |
| | | public List<InoutCredit> listCredit(Map<String, Object> param) { |
| | | return creditService.listCredit(param); |
| | | } |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @DataResolver |
| | | public String saveCredit(Credit data) { |
| | | public String saveCredit(InoutCredit data) { |
| | | return creditService.saveCredit(data); |
| | | } |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @Expose |
| | | public String delCredit(Credit data) { |
| | | public String delCredit(InoutCredit data) { |
| | | return creditService.delCredit(data); |
| | | } |
| | | } |
| | |
| | | <ClientEvent name="onDataChange">if(arg.property =="depotId"){
 |
| | | autoByDepot(arg.newValue);
 |
| | | }</ClientEvent> |
| | | <Property name="creationType">com.ld.igds.models.MLossOver</Property> |
| | | <Property name="creationType">com.ld.igds.models.InoutLossOver</Property> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | <Property name="label">ID</Property> |
| | |
| | | |
| | | import java.util.Map; |
| | | |
| | | import com.ld.igds.models.InoutLossOver; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | |
| | | import com.bstek.dorado.annotation.Expose; |
| | | import com.bstek.dorado.data.provider.Page; |
| | | import com.ld.igds.m.service.HLossOverService; |
| | | import com.ld.igds.models.MLossOver; |
| | | |
| | | /** |
| | | * 综åä¸å¡-ææº¢ç®¡ç |
| | |
| | | * @throws Exception |
| | | */ |
| | | @DataProvider |
| | | public void pageData(Page<MLossOver> page, Map<String, Object> param) |
| | | public void pageData(Page<InoutLossOver> page, Map<String, Object> param) |
| | | throws Exception { |
| | | service.pageData(page, param); |
| | | } |
| | |
| | | * @throws Exception |
| | | */ |
| | | @DataResolver |
| | | public void saveData(MLossOver data) throws Exception { |
| | | public void saveData(InoutLossOver data) throws Exception { |
| | | service.saveData(data); |
| | | } |
| | | |
| | |
| | | * @throws Exception |
| | | */ |
| | | @Expose |
| | | public String delData(MLossOver data) throws Exception { |
| | | public String delData(InoutLossOver data) throws Exception { |
| | | return service.delData(data); |
| | | } |
| | | |
| | |
| | | <Context/> |
| | | <Model> |
| | | <DataType name="dtMain"> |
| | | <Property name="creationType">com.ld.igds.models.MStockChange</Property> |
| | | <Property name="creationType">com.ld.igds.models.InoutStockChange</Property> |
| | | <PropertyDef name="id"> |
| | | <Property></Property> |
| | | <Property name="label">ID</Property> |
| | |
| | | import com.bstek.dorado.data.provider.Page; |
| | | import com.ld.igds.m.service.HMAtockChangeService; |
| | | import com.ld.igds.models.DicTrigger; |
| | | import com.ld.igds.models.MStockChange; |
| | | import com.ld.igds.models.InoutStockChange; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | |
| | | * @throws Exception |
| | | */ |
| | | @DataProvider |
| | | public void pageData(Page<MStockChange> page, Map<String, Object> param) |
| | | public void pageData(Page<InoutStockChange> page, Map<String, Object> param) |
| | | throws Exception { |
| | | service.pageData(page, param); |
| | | } |
| | |
| | | * @param data |
| | | */ |
| | | @DataResolver |
| | | public void saveData(MStockChange data) { |
| | | public void saveData(InoutStockChange data) { |
| | | service.saveData(data); |
| | | } |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @Expose |
| | | public String delData(MStockChange data) { |
| | | public String delData(InoutStockChange data) { |
| | | return service.delData(data); |
| | | } |
| | | |
ÎļþÃû´Ó igds-inout/src/main/java/com/ld/igds/models/Credit.java ÐÞ¸Ä |
| | |
| | | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * ä¼ä¸ä¿¡ç¨è®°å½ |
| | | * ä¼ä¸ä¿¡ç¨è®°å½ ï¼2023å¹´5æ26æ¥ æ ¹æ®æ°å½ç²®è§ä¼å |
| | | * |
| | | * @author czt |
| | | * @date 2023-04-10 11:00 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_CREDIT") |
| | | public class Credit implements Serializable { |
| | | @Table(name = "D_INTOU_CREDIT") |
| | | public class InoutCredit implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 4416097604510905407L; |
| | | private static final long serialVersionUID = 4416097604510905407L; |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | |
| | | @PropertyDef(label = "客æ·åä½ç¼ç ") |
| | | private String customerId; |
| | | |
| | | @Column(name = "CUSTOMER_NAME_", length = 40) |
| | | @Column(name = "CUSTOMER_NAME_", length = 50) |
| | | @PropertyDef(label = "客æ·åä½åç§°") |
| | | private String customerName; |
| | | |
| | | @PropertyDef(label = "ä¿¡ç¨ç级" ) |
| | | @PropertyDef(label = "ä¿¡ç¨ç级") |
| | | @Column(name = "xydj", length = 6) |
| | | private String xydj; |
| | | |
| | | @PropertyDef(label = "è¯å®å¹´ä»½" ) |
| | | @PropertyDef(label = "è¯å®å¹´ä»½") |
| | | @Column(name = "pdnf", length = 4) |
| | | private String pdnf; |
| | | |
| | | @PropertyDef(label = "è¯å®åä½/æºæåç§°" ) |
| | | @PropertyDef(label = "è¯å®åä½/æºæåç§°") |
| | | @Column(name = "pddw", length = 64) |
| | | private String pddw; |
| | | |
| | | @Column(name = "zhgxsj") |
| | | private Date zhgxsj; |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ°æ®æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | } |
| | |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | |
| | | import javax.persistence.*; |
| | | |
| | | /** |
| | | * åºå
¥åºå®¢æ·-徿¥åä½ä¿¡æ¯ |
| | | * åºå
¥åºå®¢æ·-徿¥åä½ä¿¡æ¯ 2023å¹´5æ26æ¥ æ ¹æ®æ°å½ç²®è§ä¼å |
| | | * |
| | | * @author czt |
| | | * @description çæ¬4.0åæ®µå·²å®¡ |
| | |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_INOUT_CUSTOMER") |
| | | public class InoutCustomer implements Serializable{ |
| | | public class InoutCustomer implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "主é®idç¼ç ", description = "ç³»ç»å
ç¼ç ") |
| | | private String id; |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "主é®idç¼ç ", description = "ç³»ç»å
ç¼ç ") |
| | | 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 = "TYPE_", length = 4) |
| | | @PropertyDef(label = "客æ·åç±»", description = "ç³»ç»å
使ç¨ï¼æè´§åãä¾è´§å") |
| | | private String type; |
| | | @Column(name = "TYPE_", length = 4) |
| | | @PropertyDef(label = "ä¸å¡åç±»", description = "ç³»ç»å
使ç¨ï¼æè´§åãä¾è´§å") |
| | | private String type; |
| | | |
| | | @Column(name = "khlx", length = 50) |
| | | @PropertyDef(label = "åä½ç±»å", description = "1-ä¼ä¸ï¼2-个人") |
| | | private String khlx; |
| | | @Column(name = "khlx", length = 50) |
| | | @PropertyDef(label = "客æ·ç±»å", description = "1-ä¼ä¸ï¼2-个人") |
| | | private String khlx; |
| | | |
| | | @PropertyDef(label = "客æ·ç»ä¸ç¤¾ä¼ä¿¡ç¨ä»£ç æèº«ä»½è¯å·" ) |
| | | @Column(name = "khtyshxydmhsfzh", length = 18) |
| | | private String khtyshxydmhsfzh; |
| | | @PropertyDef(label = "客æ·ç¼ç ï¼ä¼ä¸å®¢æ·å¡«åç»ä¸ç¤¾ä¼ä¿¡ç¨ä»£ç ï¼ä¸ªäººå®¢æ·å¡«å身份è¯å·") |
| | | @Column(name = "khbh", length = 18) |
| | | private String khbh; |
| | | |
| | | @Column(name = "NAME_", length = 50) |
| | | @PropertyDef(label = "客æ·åç§°") |
| | | private String name; |
| | | @Column(name = "NAME_", length = 50) |
| | | @PropertyDef(label = "客æ·åç§°") |
| | | private String name; |
| | | |
| | | @PropertyDef(label = "æ³å®ä»£è¡¨äºº" ) |
| | | @Column(name = "fddbr", length = 64) |
| | | private String fddbr; |
| | | @PropertyDef(label = "æ³å®ä»£è¡¨äºº") |
| | | @Column(name = "fddbr", length = 64) |
| | | private String fddbr; |
| | | |
| | | @Column(name = "ADDRESS_", length = 200) |
| | | @PropertyDef(label = "é讯å°å") |
| | | private String address; |
| | | @Column(name = "ADDRESS_", length = 200) |
| | | @PropertyDef(label = "é讯å°å") |
| | | private String address; |
| | | |
| | | @PropertyDef(label = "鮿¿ç¼ç " ) |
| | | @Column(name = "yzbm", length = 6) |
| | | private String yzbm; |
| | | @PropertyDef(label = "鮿¿ç¼ç ") |
| | | @Column(name = "yzbm", length = 6) |
| | | private String yzbm; |
| | | |
| | | @Column(name = "CONTACT_USER_", length = 50) |
| | | @PropertyDef(label = "è系人") |
| | | private String contactUser; |
| | | @Column(name = "CONTACT_USER_", length = 50) |
| | | @PropertyDef(label = "è系人") |
| | | private String contactUser; |
| | | |
| | | @Column(name = "PHONE_", length = 20) |
| | | @PropertyDef(label = "èç³»çµè¯") |
| | | private String phone; |
| | | @Column(name = "PHONE_", length = 20) |
| | | @PropertyDef(label = "èç³»çµè¯") |
| | | private String phone; |
| | | |
| | | @Column(name = "CARD_ID_", length = 20) |
| | | @PropertyDef(label = "è系人身份è¯å·") |
| | | private String cardId; |
| | | @Column(name = "CARD_ID_", length = 20) |
| | | @PropertyDef(label = "è系人身份è¯å·") |
| | | private String cardId; |
| | | |
| | | @PropertyDef(label = "çµåä¿¡ç®±" ) |
| | | @Column(name = "dzyx", length = 64) |
| | | private String dzyx; |
| | | @PropertyDef(label = "çµåä¿¡ç®±") |
| | | @Column(name = "dzyx", length = 64) |
| | | private String dzyx; |
| | | |
| | | @Column(name = "BANK_", length = 50) |
| | | @PropertyDef(label = "弿·é¶è¡") |
| | | private String bank; |
| | | @Column(name = "BANK_", length = 50) |
| | | @PropertyDef(label = "弿·é¶è¡") |
| | | private String bank; |
| | | |
| | | @Column(name = "BANK_NUM_", length = 30) |
| | | @PropertyDef(label = "é¶è¡è´¦å·") |
| | | private String bankNum; |
| | | @Column(name = "BANK_NUM_", length = 30) |
| | | @PropertyDef(label = "é¶è¡è´¦å·") |
| | | private String bankNum; |
| | | |
| | | @Column(name = "FOOD_AREA_", length = 30) |
| | | @PropertyDef(label = "ç§æ¤é¢ç§¯") |
| | | private Double foodArea = 0.0; |
| | | @Column(name = "FOOD_AREA_", length = 30) |
| | | @PropertyDef(label = "ç§æ¤é¢ç§¯") |
| | | private Double foodArea = 0.0; |
| | | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ°æ®æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ°æ®æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ld.igds.models; |
| | | |
| | | 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; |
| | | |
| | | /** |
| | | * 综å管ç-ææº¢ç®¡ç |
| | | * |
| | | * @author: andy.jia |
| | | * @description: |
| | | * @version: |
| | | * @data:2020å¹´5æ27æ¥ |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_INOUT_LOSS_OVER") |
| | | public class InoutLossOver 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 = "TYPE_", length = 10) |
| | | @PropertyDef(label = "ç±»å", description = "æè/溢åº") |
| | | private String type; |
| | | |
| | | @Column(name = "SUBMIT_TIME_") |
| | | @PropertyDef(label = "ä¸å¡æ¥æ", description = "yyyy-MM-dd") |
| | | private Date submitTime; |
| | | |
| | | @PropertyDef(label = "å
¥åºåé", description = "åä½ï¼KG") |
| | | @Column(name = "rkjz", precision = 20, scale = 6) |
| | | private double rkjz; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "å
¥åºæ¶é´") |
| | | @Column(name = "rksj") |
| | | private Date rksj; |
| | | |
| | | @PropertyDef(label = "å
¥åºæ°´å(%)") |
| | | @Column(name = "rksf", precision = 20, scale = 6) |
| | | private double rksf; |
| | | |
| | | @PropertyDef(label = "å
¥åºæè´¨(%)") |
| | | @Column(name = "rkzz", precision = 20, scale = 6) |
| | | private double rkzz; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "åºåºæ¶é´") |
| | | @Column(name = "cksj") |
| | | private Date cksj; |
| | | |
| | | @PropertyDef(label = "åºåºåé", description = "åä½ï¼KG") |
| | | @Column(name = "ckjz", precision = 20, scale = 6) |
| | | private double ckjz; |
| | | |
| | | @PropertyDef(label = "åºåºæ°´å(%)") |
| | | @Column(name = "cksf", precision = 16, scale = 6) |
| | | private double cksf; |
| | | |
| | | @PropertyDef(label = "åºåºæè´¨(%)") |
| | | @Column(name = "ckzz", precision = 16, scale = 6) |
| | | private double ckzz; |
| | | |
| | | @Column(name = "AMOUNT_") |
| | | @PropertyDef(label = "éé", description = "ææº¢æ°éKG") |
| | | private Double amount; |
| | | |
| | | // @PropertyDef(label = "å
¶ä¸ï¼æè´§ä½åæè(å
¬æ¤)" ) |
| | | // @Column(name = "qzchwqsh", precision = 20, scale = 6) |
| | | // private double qzchwqsh; |
| | | // |
| | | // @PropertyDef(label = "å
¶ä¸æ°´æåé(å
¬æ¤)" ) |
| | | // @Column(name = "qzszkl", precision = 20, scale = 6) |
| | | // private double qzszkl; |
| | | // |
| | | // @PropertyDef(label = "å
¶ä¸ï¼èªç¶æèå®é¢(å
¬æ¤)" ) |
| | | // @Column(name = "qzzrshde", precision = 20, scale = 6) |
| | | // private double qzzrshde; |
| | | // |
| | | // @PropertyDef(label = "è¶
èæ°é(å
¬æ¤)" ) |
| | | // @Column(name = "chsl", precision = 20, scale = 6) |
| | | // private double chsl; |
| | | |
| | | @PropertyDef(label = "æçæ¯å¦æ£å¸¸", description = "0ï¼æ£å¸¸ 1ï¼ä¸æ£å¸¸") |
| | | @Column(name = "sysfzc", length = 1) |
| | | private String sysfzc; |
| | | |
| | | @PropertyDef(label = "ææº¢åå ") |
| | | @Column(name = "syyy", length = 400) |
| | | private String syyy; |
| | | |
| | | @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 = "REMARK_", length = 300) |
| | | @PropertyDef(label = "夿³¨") |
| | | private String remark; |
| | | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | @Column(name = "UPDATE_USER_", length = 50) |
| | | @PropertyDef(label = "æ´æ°äºº") |
| | | private String updateUser; |
| | | |
| | | } |
| | |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * åºå
¥åºæ°æ®è®°å½ï¼å½åè®°å½å
æ¬ å
¥åºä¿¡æ¯ååºå
¥åºä¿¡æ¯ï¼ |
| | | * åºå
¥åºç»ç®ï¼2023å¹´5æ26æ¥ï¼æ ¹æ®æ°å½ç²®è§ä¼åè°æ´ |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_INOUT_SETTLE") |
| | | public class InoutSettle { |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "æµæ°´å·") |
| | | private String id; |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "æµæ°´å·") |
| | | 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 = "PAY_PRICE_") |
| | | @PropertyDef(label = "åä»·") |
| | | private Double payPrice = 0.0; |
| | | @Column(name = "DEPT_ID_", length = 50) |
| | | @PropertyDef(label = "åºåºç¼ç ") |
| | | private String deptId; |
| | | |
| | | @Column(name = "PAY_SUM_") |
| | | @PropertyDef(label = "ç»ç®æ»é¢") |
| | | private Double paySum = 0.0; |
| | | @Column(name = "INOUT_TYPE_") |
| | | @PropertyDef(label = "åºå
¥åºç±»å") |
| | | private String inoutType; |
| | | |
| | | @Column(name = "PAY_TYPE_", length = 10) |
| | | @PropertyDef(label = "仿¬¾æ¹å¼") |
| | | private String payType; |
| | | @Column(name = "BIZ_TYPE_") |
| | | @PropertyDef(label = "å¤çæ¹å¼", description = "å车ç»ç®/ååç»ç®") |
| | | private String bizType; |
| | | |
| | | @Column(name = "CUSTOMER_ID_") |
| | | @PropertyDef(label = "客æ·ç¼ç ") |
| | | private String customerId; |
| | | @Column(name = "DEPOT_ID_", length = 50) |
| | | @PropertyDef(label = "æå±ä»åº") |
| | | private String depotId; |
| | | |
| | | @Column(name = "CUSTOMER_NAME_") |
| | | @PropertyDef(label = "客æ·åç§°") |
| | | private String customerName; |
| | | |
| | | @Column(name = "BANK_", length = 40) |
| | | @PropertyDef(label = "弿·è¡") |
| | | private String bank; |
| | | @Column(name = "CONTRACT_ID_", length = 40) |
| | | @PropertyDef(label = "ååç¼ç ", description = "é对轮æ¢ç²®é£å¿
å¡«") |
| | | private String contractId; |
| | | |
| | | @Column(name = "BANK_NUM_", length = 20) |
| | | @PropertyDef(label = "é¶è¡å¡å·") |
| | | private String bankNum; |
| | | @Column(name = "CONTRACT_NAME_", length = 50) |
| | | @PropertyDef(label = "åååç§°", description = "é对轮æ¢ç²®é£å¿
å¡«") |
| | | private String contractName; |
| | | |
| | | @Column(name = "PAY_USER_", length = 40) |
| | | @PropertyDef(label = "仿¬¾æä½äºº") |
| | | private String payUser; |
| | | // ç»ç®ä¿¡æ¯ |
| | | @Column(name = "PAY_PRICE_") |
| | | @PropertyDef(label = "åä»·") |
| | | private Double payPrice = 0.0; |
| | | |
| | | @Column(name = "PAY_TIME_") |
| | | @PropertyDef(label = "ç»ç®æ¶é´") |
| | | private Date payTime; |
| | | @Column(name = "PAY_SUM_") |
| | | @PropertyDef(label = "ç»ç®æ»é¢") |
| | | private Double paySum = 0.0; |
| | | |
| | | @Column(name = "FULL_WEIGHT_") |
| | | @PropertyDef(label = "æ¯é") |
| | | private double fullWeight = 0.0; |
| | | @Column(name = "SETTLE_WEIGHT_") |
| | | @PropertyDef(label = "ç»ç®éé") |
| | | private double settleWeight = 0.0; |
| | | |
| | | @Column(name = "EMPTY_WEIGHT_") |
| | | @PropertyDef(label = "ç®é") |
| | | private double emptyWeight = 0.0; |
| | | @Column(name = "PAY_TIME_") |
| | | @PropertyDef(label = "ç»ç®æ¶é´") |
| | | private Date payTime; |
| | | |
| | | @Column(name = "NET_WEIGHT_") |
| | | @PropertyDef(label = "åé", description = "åä½KG") |
| | | private Double netWeight = 0.0; |
| | | @Column(name = "PAY_TYPE_", length = 10) |
| | | @PropertyDef(label = "仿¬¾æ¹å¼") |
| | | private String payType; |
| | | |
| | | @Column(name = "DE_SUM_") |
| | | @PropertyDef(label = "æ»æ£é") |
| | | private double deSum; |
| | | @Column(name = "PAYEE_") |
| | | @PropertyDef(label = "æ¶æ¬¾äºº", description = "æ¶æ¬¾å使è
个人") |
| | | private String payee; |
| | | |
| | | @Column(name = "SETTLE_WEIGHT_") |
| | | @PropertyDef(label = "ç»ç®éé") |
| | | private double settleWeight = 0.0; |
| | | @Column(name = "PAYEE_ID_") |
| | | @PropertyDef(label = "æ¶æ¬¾äººç份è¯å·") |
| | | private String payeeId; |
| | | |
| | | @Column(name = "TYPE_") |
| | | @PropertyDef(label = "åºå
¥åºç±»å") |
| | | private String type; |
| | | @Column(name = "BANK_", length = 40) |
| | | @PropertyDef(label = "弿·è¡") |
| | | private String bank; |
| | | |
| | | @Column(name = "OTHER_SUN_") |
| | | @PropertyDef(label = "å
¶ä»è´¹ç¨", description = "åä½ï¼å
") |
| | | private Double otherSum = 0.0; |
| | | @Column(name = "BANK_NUM_", length = 20) |
| | | @PropertyDef(label = "é¶è¡å¡å·") |
| | | private String bankNum; |
| | | |
| | | @Column(name = "REMARKS_", length = 200) |
| | | @PropertyDef(label = "夿³¨ä¿¡æ¯") |
| | | private String remarks; |
| | | |
| | | |
| | | @Transient |
| | | private String depotId; |
| | | @Column(name = "PAY_UNIT_", length = 50) |
| | | @PropertyDef(label = "仿¬¾åä½") |
| | | private String payUnit; |
| | | |
| | | @Transient |
| | | private String deptId; |
| | | @Column(name = "PAY_USER_", length = 40) |
| | | @PropertyDef(label = "仿¬¾æä½äºº") |
| | | private String payUser; |
| | | |
| | | @Transient |
| | | private String userName; |
| | | @Column(name = "REMARKS_", length = 200) |
| | | @PropertyDef(label = "夿³¨ä¿¡æ¯") |
| | | private String remarks; |
| | | |
| | | @Transient |
| | | private String plateNum; |
| | | |
| | | @Transient |
| | | private String foodVariety; |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ°æ®æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | @Transient |
| | | private String foodLevel; |
| | | |
| | | @Transient |
| | | private Date completeTime; |
| | | } |
ÎļþÃû´Ó igds-inout/src/main/java/com/ld/igds/models/MStockChange.java ÐÞ¸Ä |
| | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @author vince.xu |
| | | * @Title: StockChange |
| | | * @ProjectName igds-35 |
| | | * @Description: åä»ï¼ç§»åº |
| | | * @date 2022-7-2711:50 |
| | | * @Desc: åä»åè½ï¼2023å¹´5æ26æ¥ æ ¹æ®æ°å½ç²®è§æ´æ°ä¼å |
| | | * @author: Andy |
| | | * @update-time: 2023/5/26 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_M_STOCK_CHANGE") |
| | | public class MStockChange { |
| | | @Table(name = "D_INOUT_STOCK_CHANGE") |
| | | public class InoutStockChange { |
| | | |
| | | |
| | | @Id |
| | |
| | | @PropertyDef(label = "æå±ååº") |
| | | private String deptId; |
| | | |
| | | @Column(name = "TYPE_", length = 5) |
| | | @PropertyDef(label = "åä»ç±»å",description = "0ï¼åä» 1ï¼ç§»åº") |
| | | @Column(name = "TYPE_", length = 2) |
| | | @PropertyDef(label = "åä»ç±»å", description = "0ï¼åä» 1ï¼ç§»åº") |
| | | private String type; |
| | | |
| | | @Column(name = "PLAN_CODE_", length = 40) |
| | | @PropertyDef(label = "åä»è®¡åæä»¶ç¼å·",description = "åä»è®¡åæä»¶ç¼å·") |
| | | @PropertyDef(label = "åä»è®¡åæä»¶ç¼å·", description = "åä»è®¡åæä»¶ç¼å·") |
| | | private String planCode; |
| | | |
| | | @Column(name = "NOTICE_ID_", length = 40) |
| | | @PropertyDef(label = "éç¥åå·",description = "éç¥åå·") |
| | | @PropertyDef(label = "éç¥åå·", description = "éç¥åå·") |
| | | private String noticeId; |
| | | |
| | | @Column(name = "FOOD_VARIETY_", length = 10) |
| | |
| | | @PropertyDef(label = "æ´æ°æ¶é´") |
| | | private Date updateTime; |
| | | |
| | | @Column(name = "UPDATE_USER_",length = 50) |
| | | @Column(name = "UPDATE_USER_", length = 50) |
| | | @PropertyDef(label = "æ´æ°äºº") |
| | | private String updateUser; |
| | | |
| | | private String updateUser; |
| | | } |
| | |
| | | |
| | | @Column(name = "INFO_ZJSH_", length = 200) |
| | | @PropertyDef(label = "å®¡æ ¸è¯´æ") |
| | | private String InfoZjsh; |
| | | private String infoZjsh; |
| | | |
| | | @PropertyDef(label = "ç»è®¡å®¡æ ¸äºº") |
| | | @Column(name = "tjshr", length = 64) |
| | |
| | | |
| | | @Column(name = "INFO_TJSH_", length = 200) |
| | | @PropertyDef(label = "å®¡æ ¸è¯´æ") |
| | | private String InfoTjsh; |
| | | private String infoTjsh; |
| | | |
| | | @PropertyDef(label = "ä¼è®¡å®¡æ ¸äºº") |
| | | @Column(name = "kjshr", length = 64) |
| | |
| | | |
| | | @Column(name = "INFO_KJSH_", length = 200) |
| | | @PropertyDef(label = "å®¡æ ¸è¯´æ") |
| | | private String InfoKjsh; |
| | | private String infoKjsh; |
| | | |
| | | @PropertyDef(label = "é¢å¯¼å®¡æ ¸äºº") |
| | | @Column(name = "ldshr", length = 64) |
| | |
| | | |
| | | @Column(name = "INFO_LDSH_", length = 200) |
| | | @PropertyDef(label = "å®¡æ ¸è¯´æ") |
| | | private String InfoLdsh; |
| | | private String infoLdsh; |
| | | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "æ´æ°æ¶é´") |
| | |
| | | import com.bstek.dorado.data.provider.Page; |
| | | import com.ld.igds.constant.WarnStatus; |
| | | import com.ld.igds.models.MWarnConf; |
| | | import com.ld.igds.models.BlackListWarnInfo; |
| | | import com.ld.igds.util.ContextUtil; |
| | | import com.ld.igds.util.DateUtil; |
| | | import com.ld.igds.warn.service.CoreWarnService; |
| | |
| | | import com.ld.igds.constant.NoticeType; |
| | | import com.ld.igds.constant.WarnLevel; |
| | | import com.ld.igds.constant.WarnStatus; |
| | | import com.ld.igds.constant.WarnType; |
| | | import com.ld.igds.models.DicTrigger; |
| | | import com.ld.igds.models.MWarnConf; |
| | | import com.ld.igds.models.BlackListWarnInfo; |
| | | import com.ld.igds.sec.service.BlackListWarnService; |
| | | import com.ld.igds.sys.service.SysUserService; |
| | | import com.ld.igds.util.ContextUtil; |