From c414ff69c66e9b82871f6fbd9bbc7bf49431731f Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期一, 19 五月 2025 20:16:46 +0800 Subject: [PATCH] 新增客户单号, 工单号,项目号 工作档新增仓库类型,添加仓库类型搜索 --- rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WarehouseAreasItem.java | 61 +++++++++++++++++++++++++++--- 1 files changed, 54 insertions(+), 7 deletions(-) diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WarehouseAreasItem.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WarehouseAreasItem.java index a152659..10f1fc3 100644 --- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WarehouseAreasItem.java +++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WarehouseAreasItem.java @@ -3,9 +3,14 @@ import com.baomidou.mybatisplus.annotation.*; import java.text.SimpleDateFormat; -import java.util.Date; +import java.util.*; +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.fasterxml.jackson.annotation.JsonFormat; import com.vincent.rsf.server.manager.service.CompanysService; +import com.vincent.rsf.server.system.constant.DictTypeCode; +import com.vincent.rsf.server.system.entity.DictData; +import com.vincent.rsf.server.system.service.DictDataService; import lombok.experimental.Accessors; import org.springframework.format.annotation.DateTimeFormat; import java.text.SimpleDateFormat; @@ -21,7 +26,6 @@ import com.vincent.rsf.server.system.entity.User; import java.io.Serializable; import java.util.Date; -import java.util.Map; @Data @Accessors(chain = true) @@ -53,6 +57,19 @@ @ApiModelProperty("鍗曟嵁鏄庣粏ID") private Long asnItemId; + @ApiModelProperty("琛屽彿") + private String platItemId; + + @ApiModelProperty("璐ㄦ缁撴灉") + private Short isptResult; + + @ApiModelProperty("宸叉敹璐ф暟閲�") + private Double qty; + + @ApiModelProperty("鎵ц鏁伴噺") + private Double workQty; + + /** * 鍖哄煙鍚嶇О */ @@ -68,11 +85,20 @@ @ApiModelProperty(value = "鎵╁睍瀛楁鍞竴鏍囪瘑") private String fieldsIndex; + @ApiModelProperty("瀹㈡埛璁㈠崟鍙�") + private String platOrderCode; + + @ApiModelProperty("宸ュ崟鍙�") + private String platWorkCode; + + @ApiModelProperty("椤圭洰鍙�") + private String projectCode; + /** * 鐗╂枡鍚嶇О */ @ApiModelProperty(value= "鐗╂枡鍚嶇О") - private String matnrName; + private String maktx; /** * 鐗╂枡缂栫爜 @@ -126,7 +152,7 @@ * 渚涘簲鍟嗘爣璇� */ @ApiModelProperty(value= "渚涘簲鍟嗘爣璇�") - private String splrId; + private Long splrId; /** * 鏀惰揣閲嶉噺 @@ -156,7 +182,6 @@ * 鏄惁鍒犻櫎 1: 鏄� 0: 鍚� */ @ApiModelProperty(value= "鏄惁鍒犻櫎 1: 鏄� 0: 鍚� ") - @TableLogic private Integer deleted; /** @@ -176,6 +201,7 @@ */ @ApiModelProperty(value= "娣诲姞鏃堕棿") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") private Date createTime; /** @@ -184,11 +210,18 @@ @ApiModelProperty(value= "淇敼浜哄憳") private Long updateBy; + @ApiModelProperty("鏄惁鍚堟牸") + private Short flagNorm; + + @ApiModelProperty("璐ㄦ鏁伴噺") + private Double isptQty; + /** * 淇敼鏃堕棿 */ @ApiModelProperty(value= "淇敼鏃堕棿") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") private Date updateTime; @ApiModelProperty("鎵╁睍瀛楁") @@ -203,11 +236,11 @@ public WarehouseAreasItem() {} - public WarehouseAreasItem(Long areaId,String areaName,Long matnrId,String matnrName,String matnrCode,String trackCode,Double anfme,String batch,String unit,String stockUnit,String brand,Long shipperId,String splrId,Double weight,String prodTime,String splrBtch,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { + public WarehouseAreasItem(Long areaId,String areaName,Long matnrId,String matnrName,String matnrCode,String trackCode,Double anfme,String batch,String unit,String stockUnit,String brand,Long shipperId,Long splrId,Double weight,String prodTime,String splrBtch,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { this.areaId = areaId; this.areaName = areaName; this.matnrId = matnrId; - this.matnrName = matnrName; + this.maktx = matnrName; this.matnrCode = matnrCode; this.trackCode = trackCode; this.anfme = anfme; @@ -312,6 +345,20 @@ return null; } + public String getIsptResult$(){ + if (Cools.isEmpty(this.isptResult)){ + return null; + } + DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); + DictData dictData = dictDataService.getOne(new LambdaQueryWrapper<DictData>() + .eq(DictData::getDictTypeCode, DictTypeCode.DICT_INSPECT_RESULT) + .eq(DictData::getValue, this.isptResult)); + if (Objects.isNull(dictData)) { + return null; + } + return dictData.getLabel(); + } + public String getUpdateTime$(){ if (Cools.isEmpty(this.updateTime)){ return ""; -- Gitblit v1.9.1