库位api,合同删除公司ID
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
package com.zt.plat.module.erp.api;
|
||||
|
||||
import com.zt.plat.framework.common.pojo.CommonResult;
|
||||
import com.zt.plat.module.erp.api.dto.ErpMaterialDTO;
|
||||
import com.zt.plat.module.erp.api.dto.ErpProductiveVersionReqDTO;
|
||||
import com.zt.plat.module.erp.api.dto.ErpQueryReqDTO;
|
||||
import com.zt.plat.module.erp.api.dto.ErpSubmitReqDTO;
|
||||
import com.zt.plat.module.erp.api.dto.*;
|
||||
import com.zt.plat.module.erp.enums.ApiConstants;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
@@ -39,4 +36,8 @@ public interface ErpExternalApi {
|
||||
@GetMapping(PREFIX + "/getMaterialUnit")
|
||||
@Operation(summary = "根据物料编码查询对应计量单位")
|
||||
CommonResult<String> getMaterialUnit(@RequestParam("downCenterNumber") String downCenterNumber);
|
||||
|
||||
@GetMapping(PREFIX + "/getErpWarehouse")
|
||||
@Operation(summary = "根据id获得ERP库位")
|
||||
CommonResult<ErpWarehouseDTO> getErpWarehouse(@RequestParam("id") Long id);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.zt.plat.module.erp.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Schema(description = "管理后台 - ERP库位 Response VO")
|
||||
@Data
|
||||
public class ErpWarehouseDTO {
|
||||
|
||||
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "16847")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "工厂编码;将查询参数存入")
|
||||
private String factoryNumber;
|
||||
|
||||
@Schema(description = "工厂名称")
|
||||
private String factoryName;
|
||||
|
||||
@Schema(description = "库位描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "库位编码", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private String number;
|
||||
|
||||
@Schema(description = "类别")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "绑定库位名")
|
||||
private String relName;
|
||||
|
||||
@Schema(description = "绑定库位编码")
|
||||
private String relnumber;
|
||||
|
||||
@Schema(description = "是否启用")
|
||||
private String isEnable;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user