新增供货追踪接口

yun-zuoyi
钮海涛 5 years ago
parent 15035d2851
commit df1cbc9449

@ -5738,4 +5738,49 @@ public class WmsEnumUtil {
return tmp;
}
}
/**
*
* 10
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum DOCK_TYPE {
WAIT_SEND(10, "收货道口"),
HAS_SENDED(20, "发运道口");
private int value;
private String description;
DOCK_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static DOCK_TYPE codeOf(int value) {
for (int i = 0; i < values().length; i++) {
if (values()[i].value == value) {
return values()[i];
}
}
return null;
}
public static String valueOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
}

@ -46,6 +46,6 @@ public class WmsDock extends BaseBean {
@Column(name="DOCK_TYPE")
@ApiParam("道口类型")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
private String dockType;
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, entityName = "DOCK_TYPE")
private Integer dockType;
}

@ -0,0 +1,23 @@
package cn.estsh.i3plus.pojo.wms.modelbean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
/**
* @Description :
* @Reference :
* @Author : jason.niu
* @CreateDate : 2020-04-02
* @Modify:
**/
@Data
@Api("收货追踪地图信息")
public class SupplyTrackingModel {
@ApiParam("供应商经纬度")
private String vendorMap;
@ApiParam("收货仓库经纬度")
private String rcWarehouseMap;
}

@ -15,7 +15,7 @@
<groupId>i3plus.pojo</groupId>
<artifactId>i3plus-pojo</artifactId>
<packaging>pom</packaging>
<version>1.0-${profileActive}-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<modules>
<module>modules/i3plus-pojo-base</module>
<module>modules/i3plus-pojo-platform</module>

Loading…
Cancel
Save