1. 统一包名修改

This commit is contained in:
chenbowen
2025-09-22 02:05:00 +08:00
parent 0420bf44c1
commit 90dcb06c56
4283 changed files with 1312 additions and 305431 deletions

View File

@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>dsc-supply</artifactId>
<groupId>cn.iocoder.cloud</groupId>
<version>${revision}</version>
</parent>
<modules>
<module>yudao-module-capital-api</module>
<module>yudao-module-capital-server</module>
</modules>
<modelVersion>4.0.0</modelVersion>
<artifactId>yudao-module-capital</artifactId>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>
Capital 模块。资金授信模块。
</description>
</project>

View File

@@ -1,46 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>yudao-module-capital</artifactId>
<groupId>cn.iocoder.cloud</groupId>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>yudao-module-capital-api</artifactId>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>
暴露给其它模块调用
</description>
<dependencies>
<dependency>
<groupId>cn.iocoder.cloud</groupId>
<artifactId>yudao-common</artifactId>
</dependency>
<!-- Web 相关 -->
<dependency>
<groupId>org.springdoc</groupId> <!-- 接口文档:使用最新版本的 Swagger 模型 -->
<artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- 参数校验 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<optional>true</optional>
</dependency>
<!-- RPC 远程调用相关 -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</project>

View File

@@ -1,21 +0,0 @@
package cn.iocoder.yudao.module.capital.enums;
/**
* 资金授信模块 字典类型的枚举类
*
* @author 芋道源码
*/
public interface CapitalDictTypeConstants {
// ========== capital 模块 ==========
String SPLY_AMT_CRDT_CREDIT_TYPE = "sply_amt_crdt_credit_type"; // 授信台账-授信类型
String SPLY_AMT_CRDT_CHG_CHANGE_TYPE = "sply_amt_crdt_chg_change_type"; // 授信台账检索详情-变动类型
String SPLY_AMT_CRDT_CHG_REFERENCE_TYPE = "sply_amt_crdt_chg_reference_type"; // 授信台账检索详情-关联交易类型
String SPLY_AMT_CRDT_APPL_DTL_PTNRTP = "sply_amt_crdt_appl_dtl_ptnrTp"; // 授信单明细-客户/供应商类别
String AMOUNT_CREDIT_APPLY_TYPE = "amount_credit_apply_type"; // 授信单-额度类型
String AMOUNT_CREDIT_APPLY_COMPANY_TYPE = "amount_credit_apply_company_type"; // 授信单-企业性质
String SPLY_AMT_CRDT_APPL_STS = "sply_amt_crdt_appl_sts"; // 授信单-状态
String SPLY_AMT_CRDT_APPL_SGN_STATUS = "sply_amt_crdt_appl_sgn_status"; // 授信单签字确认状态
}

View File

@@ -1,27 +0,0 @@
package cn.iocoder.yudao.module.capital.enums;
import cn.iocoder.yudao.framework.common.exception.ErrorCode;
/**
* capital 错误码枚举类
*
* capital 系统,使用 1-xxx-xxx-xxx 段
*
* @author ZT
*/
public interface ErrorCodeConstants {
// ========== 示例模块 1-001-000-000 ==========
ErrorCode EXAMPLE_NOT_EXISTS = new ErrorCode(1_001_000_001, "示例不存在");
ErrorCode AMOUNT_CREDIT_APPLY_NOT_EXISTS = new ErrorCode(1_004_000_005, "授信单不存在");
ErrorCode AMOUNT_CREDIT_APPLY_DETAIL_NOT_EXISTS = new ErrorCode(1_004_000_006, "授信单明细不存在");
ErrorCode AMOUNT_CREDIT_APPLY_SIGN_NOT_EXISTS = new ErrorCode(1_004_000_007, "授信调整签字区域明细不存在");
ErrorCode AMOUNT_CREDIT_STATUS_DELETE = new ErrorCode(1_004_000_008, "授信单不是草稿状态,不允许删除");
ErrorCode AMOUNT_CREDIT_STATUS_UPDATE = new ErrorCode(1_004_000_009, "授信单是申请中状态,不允许更新");
ErrorCode AMOUNT_CREDIT_NOT_EXISTS = new ErrorCode(1_004_002_001, "授信额度不存在");
ErrorCode AMOUNT_CREDIT_CHANGE_NOT_EXISTS = new ErrorCode(1_004_002_002, "授信额度变动记录不存在");
ErrorCode AMOUNT_CREDIT_APPLY_ID_NOT_EXISTS = new ErrorCode(1_004_002_004, "授信单id不能为空");
}

View File

@@ -1,9 +0,0 @@
package cn.iocoder.yudao.module.capital.enums;
/**
* 授信模块-序列号编码常量
*/
public interface GeneralSequenceConstants {
String SPLY_AMT_CRDT_APPL_APPL_NUM = "SPLY_AMT_CRDT_APPL_APPL_NUM"; // 资金授信管理-授信单序列号编码
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,18 +0,0 @@
package cn.iocoder.yudao.module.capital;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* Capital 模块的启动类
*
* @author ZT
*/
//@SpringBootApplication
public class CapitalServerApplication {
public static void main(String[] args) {
SpringApplication.run(CapitalServerApplication.class, args);
}
}

View File

@@ -1,73 +0,0 @@
package cn.iocoder.yudao.module.capital.controller.admin.capital.splyAmountCredit.vo;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.module.capital.enums.CapitalDictTypeConstants;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@Schema(description = "管理后台 - 授信额度变动记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AmountCreditChangeExcelVO {
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "8514")
@ExcelProperty("主键")
private Long id;
@Schema(description = "关联单据号;收款单/付款单/结算单", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("关联单据号;收款单/付款单/结算单")
private String referenceNumber;
@Schema(description = "授信表主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "5903")
//@ExcelProperty("授信表主键")
private Long creditId;
@Schema(description = "变动单号", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("变动单号")
private String changeNumber;
@Schema(description = "客商名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
@ExcelProperty("客商名称")
private String partnerName;
@Schema(description = "客商编码", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("客商编码")
private String partnerNumber;
@Schema(description = "变动类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
@ExcelProperty("变动类型")
@DictFormat(CapitalDictTypeConstants.SPLY_AMT_CRDT_CHG_CHANGE_TYPE)
private String changeType;
@Schema(description = "变动金额", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("变动金额")
private BigDecimal amount;
@Schema(description = "变动原因")
@ExcelProperty("变动原因")
private String cause;
@Schema(description = "关联交易类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
@ExcelProperty("关联交易类型")
@DictFormat(CapitalDictTypeConstants.SPLY_AMT_CRDT_CHG_REFERENCE_TYPE)
private String referenceType;
@Schema(description = "凭证日期", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("凭证日期")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime voucherDate;
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("创建时间")
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime createTime;
}

Some files were not shown because too many files have changed in this diff Show More