refactor(entity): 调整信用用户实体字段定义
- 将 id 类型从 Long 改为 Integer - 更新字段描述信息,如将“客户名称”改为“项目名称” - 删除 expirationTime 字段及相关逻辑 - 修改“招采单位名称”为“招采单位” - 修改“中标单位名称”为“中标单位” - 修改“中标单位名称”为“中标金额”以匹配实际用途
This commit is contained in:
@@ -188,7 +188,7 @@ public class CreditUserController extends BaseController {
|
|||||||
}
|
}
|
||||||
// 验证必填字段
|
// 验证必填字段
|
||||||
if (item.getName() == null || item.getName().trim().isEmpty()) {
|
if (item.getName() == null || item.getName().trim().isEmpty()) {
|
||||||
errorMessages.add("第" + (i + 1) + "行:客户名称不能为空");
|
errorMessages.add("第" + (i + 1) + "行:项目名称不能为空");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (item.getCode() == null || item.getCode().trim().isEmpty()) {
|
if (item.getCode() == null || item.getCode().trim().isEmpty()) {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ public class CreditUserParam extends BaseParam {
|
|||||||
@QueryField(type = QueryType.EQ)
|
@QueryField(type = QueryType.EQ)
|
||||||
private Integer id;
|
private Integer id;
|
||||||
|
|
||||||
@Schema(description = "客户名称")
|
@Schema(description = "项目名称")
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
@Schema(description = "唯一标识")
|
@Schema(description = "唯一标识")
|
||||||
|
|||||||
Reference in New Issue
Block a user