物料查询关联拓展关系
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
package com.zt.plat.module.api;
|
||||
|
||||
import com.zt.plat.framework.common.pojo.CommonResult;
|
||||
import com.zt.plat.module.api.dto.AccountRespDto;
|
||||
import com.zt.plat.module.api.dto.AccountDTO;
|
||||
import com.zt.plat.module.api.dto.MaterialOtherDTO;
|
||||
import com.zt.plat.module.base.enums.ApiConstants;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.validation.Valid;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
@@ -17,7 +16,11 @@ public interface BaseApi {
|
||||
|
||||
String PREFIX = ApiConstants.PREFIX + "/base";
|
||||
|
||||
@GetMapping(PREFIX + "/getNoPage")
|
||||
@Operation(summary = "数据查询")
|
||||
List<AccountRespDto> getNoPage(@Valid AccountRespDto respVO);
|
||||
@GetMapping(PREFIX + "/getAccountNoPage")
|
||||
@Operation(summary = "账户条款数据不分页查询")
|
||||
List<AccountDTO> getAccountNoPage(AccountDTO respVO);
|
||||
|
||||
@GetMapping(PREFIX + "/getMaterialOtherNoPage")
|
||||
@Operation(summary = "物料拓展关系数据不分页查询")
|
||||
List<MaterialOtherDTO> getMaterialOtherNoPage(MaterialOtherDTO respVO);
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import java.time.LocalDateTime;
|
||||
|
||||
@Schema(description = "RPC 服务 DTO")
|
||||
@Data
|
||||
public class AccountRespDto {
|
||||
public class AccountDTO {
|
||||
private Long id;
|
||||
|
||||
private String type;
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.zt.plat.module.api.dto;
|
||||
|
||||
import com.zt.plat.framework.common.pojo.PageParam;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
|
||||
@Schema(description = "管理后台 - 物料拓展数据分页 Request VO")
|
||||
@Data
|
||||
public class MaterialOtherDTO extends PageParam {
|
||||
|
||||
@Schema(description = "物料编码")
|
||||
private String materialNumber;
|
||||
|
||||
@Schema(description = "物料名称", example = "王五")
|
||||
private String materialName;
|
||||
|
||||
@Schema(description = "ERP物料编码")
|
||||
private String erpMaterialNumber;
|
||||
|
||||
@Schema(description = "ERP物料名称", example = "李四")
|
||||
private String erpMaterialName;
|
||||
|
||||
@Schema(description = "ERP物料计量单位")
|
||||
private String unit;
|
||||
|
||||
@Schema(description = "金属元素缩写")
|
||||
private String abbreviation;
|
||||
|
||||
@Schema(description = "金属元素名称", example = "赵六")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "金属元素编码")
|
||||
private String coding;
|
||||
|
||||
@Schema(description = "品位单位")
|
||||
private String gradeUnit;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime[] createTime;
|
||||
|
||||
@Schema(description = "小数位数")
|
||||
private Long decimalValue;
|
||||
|
||||
@Schema(description = "是否启用")
|
||||
private String isEnable;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user