refactor(gear): 重构应用配置并优化代码
- 重构了 application-docker.yml 文件,使用环境变量替代硬编码的配置值 - 优化了 Redis、Mail、SMS 等配置,提高了灵活性和可维护性 -调整了数据源配置,支持动态数据源和更多配置选项 - 移除了 GearPurchasePlanDetailBo 类中未使用的 totalAmount 字段 - 优化了代码格式和注释,提高了代码可读性
This commit is contained in:
@@ -5,9 +5,7 @@ import com.gear.common.core.validate.EditGroup;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import javax.validation.constraints.*;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import com.gear.common.core.domain.BaseEntity;
|
||||
|
||||
@@ -62,20 +60,13 @@ public class GearPurchasePlanDetailBo extends BaseEntity {
|
||||
*/
|
||||
private BigDecimal unitPrice;
|
||||
|
||||
/**
|
||||
* 总金额
|
||||
*/
|
||||
private BigDecimal totalAmount;
|
||||
|
||||
/**
|
||||
* 附件
|
||||
*/
|
||||
private String annex;
|
||||
|
||||
/**
|
||||
* 状态(0=新建,1=在途
|
||||
,2=到货
|
||||
,3=待审核,4=采购完成)
|
||||
* 状态(0=新建,1=在途,2=到货,3=待审核,4=采购完成)
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
@@ -83,6 +74,4 @@ public class GearPurchasePlanDetailBo extends BaseEntity {
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user