金属元素缩新增分页查询,生产订单erp分页查询

This commit is contained in:
liss
2025-11-17 18:07:54 +08:00
parent 8faa14d227
commit dd9142a670
9 changed files with 118 additions and 102 deletions

View File

@@ -125,12 +125,4 @@ public class ErpCompanyController {
return success(TEST);
}
@PostMapping("/test2")
@Operation(summary = "获取base的金属元素")
@PreAuthorize("@ss.hasPermission('sply:erp-company:get')")
public CommonResult<String> test2() {
String TEST = erpCompanyService.test2();
return success(TEST);
}
}

View File

@@ -19,7 +19,7 @@ public class ErpProductiveOrderPageReqVO extends PageParam {
private String companyNumber;
@Schema(description = "工厂编码")
@NotEmpty(message = "公司编号不能为空")
@NotEmpty(message = "工厂编码不能为空")
private String factoryNumber;
@Schema(description = "工厂名称", example = "赵六")
@@ -30,12 +30,12 @@ public class ErpProductiveOrderPageReqVO extends PageParam {
@Schema(description = "基本开始日期")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@NotEmpty(message = "公司编号不能为空")
@NotEmpty(message = "基本开始日期不能为空")
private LocalDateTime[] startDate;
@Schema(description = "基本完成日期")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
@NotEmpty(message = "公司编号不能为空")
@NotEmpty(message = "基本完成日期不能为空")
private LocalDateTime[] endDate;
@Schema(description = "主产品物料编号")

View File

@@ -74,6 +74,4 @@ public interface ErpCompanyService {
void test();
String test1();
String test2();
}

View File

@@ -286,11 +286,4 @@ public class ErpCompanyServiceImpl implements ErpCompanyService {
return url + requestEntity;
}
}
@Override
public String test2() {
ElementDTO respVO = new ElementDTO();
CommonResult<List<ElementDTO>> dtos = baseApi.getElementNoPage();
return dtos.toString();
}
}