feat(oa): 添加项目客户关联字段并优化数据库配置

- 修改开发环境数据库端口从3306到13306
- 更新开发环境数据库密码为Root@12345
- 修改生产环境主从库地址统一指向新服务器- 更新生产环境数据库密码为Root@12345- 在SysOaProject实体类中添加customerId字段
- 在SysOaProjectBo业务对象中添加customerId和customerName字段
- 在SysOaProjectMapper.xml中关联查询客户信息- 优化项目查询SQL语句,明确指定表别名
- 在项目详情查询中添加客户信息关联查询
- 在SysOaProjectVo视图对象中添加客户相关字段
This commit is contained in:
2025-10-20 14:34:17 +08:00
parent 6b73cdfa22
commit c0f532e52b
6 changed files with 55 additions and 36 deletions

View File

@@ -160,4 +160,8 @@ public class SysOaProject extends BaseEntity {
private Date originalFinishTime;
//延期次数
private Integer postponeCount;
//客户id
private Long customerId;
}

View File

@@ -196,5 +196,10 @@ public class SysOaProjectBo extends BaseEntity {
private Date originalFinishTime;
//延期次数
private Integer postponeCount;
//客户id
private Long customerId;
//客户名称
private String customerName;
}

View File

@@ -262,4 +262,9 @@ public class SysOaProjectVo {
private Date originalFinishTime;
//延期次数
private Integer postponeCount;
//客户id
private Long customerId;
//客户名称
private String customerName;
}