[feat] 新增预算管理功能

This commit is contained in:
shl
2024-08-08 16:41:39 +08:00
parent 4c72939f29
commit e166428f5e
16 changed files with 677 additions and 30 deletions

View File

@@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.pms.api.project.dto;
import cn.iocoder.yudao.module.pms.enums.DictTypeConstants;
import lombok.Data;
import java.math.BigDecimal;
@@ -41,6 +42,23 @@ public class ProjectRespDTO {
*/
private BigDecimal contractAmount;
/**
* 跟踪编号
*/
private String trackingCode;
/**
* 名称
*/
private String name;
/**
* 类型
*
* 枚举 {@link DictTypeConstants}
*/
private String type;
}

View File

@@ -24,4 +24,13 @@ public interface ErrorCodeConstants {
ErrorCode RECEIVABLES_NOT_EXISTS = new ErrorCode(1_024_000_000, "应收款管理不存在");
// ========== 应收款管理历史记录 1_024_000_000 ==========
ErrorCode RECEIVABLES_HISTORY_NOT_EXISTS = new ErrorCode(1_024_000_000, "应收款管理历史记录不存在");
// ========== 请求参数不存在 1_025_000_000 ==========
ErrorCode PARAM_NOT_EXISTS = new ErrorCode(1_024_100_000, "请求参数不存在");
ErrorCode PARAM_ERROR = new ErrorCode(1_024_200_000, "请求参数错误");
ErrorCode BUDGET_ALREADY_EXISTS = new ErrorCode(1_024_003_000, "该预算已经创建");
ErrorCode PROFIT_MARGIN_ERROR = new ErrorCode(1_024_004_000, "利润率计算错误");
}