Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -45,7 +45,7 @@ public class MaterialOtherPageReqVO extends PageParam {
|
|||||||
private LocalDateTime[] createTime;
|
private LocalDateTime[] createTime;
|
||||||
|
|
||||||
@Schema(description = "小数位数")
|
@Schema(description = "小数位数")
|
||||||
private Long decimal;
|
private Long decimalValue;
|
||||||
|
|
||||||
@Schema(description = "是否启用")
|
@Schema(description = "是否启用")
|
||||||
private String isEnable;
|
private String isEnable;
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ public class MaterialOtherRespVO {
|
|||||||
|
|
||||||
@Schema(description = "小数位数")
|
@Schema(description = "小数位数")
|
||||||
@ExcelProperty("小数位数")
|
@ExcelProperty("小数位数")
|
||||||
private Long decimal;
|
private Long decimalValue;
|
||||||
|
|
||||||
@Schema(description = "是否启用")
|
@Schema(description = "是否启用")
|
||||||
@ExcelProperty("是否启用")
|
@ExcelProperty("是否启用")
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ public class MaterialOtherSaveReqVO {
|
|||||||
private String gradeUnit;
|
private String gradeUnit;
|
||||||
|
|
||||||
@Schema(description = "小数位数")
|
@Schema(description = "小数位数")
|
||||||
private Long decimal;
|
private Long decimalValue;
|
||||||
|
|
||||||
@Schema(description = "是否启用")
|
@Schema(description = "是否启用")
|
||||||
private String isEnable;
|
private String isEnable;
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ public class MaterialOtherDO extends BusinessBaseDO {
|
|||||||
* 小数位数
|
* 小数位数
|
||||||
*/
|
*/
|
||||||
@TableField("DEC")
|
@TableField("DEC")
|
||||||
private Long decimal;
|
private Long decimalValue;
|
||||||
/**
|
/**
|
||||||
* 创建人名称
|
* 创建人名称
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ public interface MaterialOtherMapper extends BaseMapperX<MaterialOtherDO> {
|
|||||||
.eqIfPresent(MaterialOtherDO::getCoding, reqVO.getCoding())
|
.eqIfPresent(MaterialOtherDO::getCoding, reqVO.getCoding())
|
||||||
.eqIfPresent(MaterialOtherDO::getGradeUnit, reqVO.getGradeUnit())
|
.eqIfPresent(MaterialOtherDO::getGradeUnit, reqVO.getGradeUnit())
|
||||||
.betweenIfPresent(MaterialOtherDO::getCreateTime, reqVO.getCreateTime())
|
.betweenIfPresent(MaterialOtherDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.eqIfPresent(MaterialOtherDO::getDecimal, reqVO.getDecimal())
|
.eqIfPresent(MaterialOtherDO::getDecimalValue, reqVO.getDecimalValue())
|
||||||
.eqIfPresent(MaterialOtherDO::getIsEnable, reqVO.getIsEnable())
|
.eqIfPresent(MaterialOtherDO::getIsEnable, reqVO.getIsEnable())
|
||||||
.orderByDesc(MaterialOtherDO::getId));
|
.orderByDesc(MaterialOtherDO::getId));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,5 +17,6 @@ public interface ErrorCodeConstants {
|
|||||||
ErrorCode CONTRACT_PAPER_NUMBER_EXISTS = new ErrorCode(1_027_000_002, "合同编号已存在");
|
ErrorCode CONTRACT_PAPER_NUMBER_EXISTS = new ErrorCode(1_027_000_002, "合同编号已存在");
|
||||||
ErrorCode CONTRACT_NOT_EXISTS = new ErrorCode(1_027_000_003, "合同不存在");
|
ErrorCode CONTRACT_NOT_EXISTS = new ErrorCode(1_027_000_003, "合同不存在");
|
||||||
ErrorCode CONTRACT_ID_NOT_EXISTS = new ErrorCode(1_027_000_004, "合同主键为空");
|
ErrorCode CONTRACT_ID_NOT_EXISTS = new ErrorCode(1_027_000_004, "合同主键为空");
|
||||||
ErrorCode CONTRACT_STATUS_NOT_UPDATE = new ErrorCode(1_027_000_004, "{}合同不允许修改");
|
ErrorCode CONTRACT_STATUS_NOT_UPDATE = new ErrorCode(1_027_000_005, "{}合同不允许修改");
|
||||||
|
ErrorCode CONTRACT_DATA_NOT_EXISTS = new ErrorCode(1_027_000_006, "{}不存在");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
package com.zt.plat.module.contractorder.enums;
|
||||||
|
|
||||||
|
public class ProcessConstants {
|
||||||
|
|
||||||
|
// 合同审批流程
|
||||||
|
public static String CONTRACT_APPROVAL_PROCESS = "contract_approval_process";
|
||||||
|
}
|
||||||
@@ -13,12 +13,86 @@ public class TableFieldConstants {
|
|||||||
/* 合同主信息表 */
|
/* 合同主信息表 */
|
||||||
// 合同名称;与ERP(HTMC)对应,校验唯一
|
// 合同名称;与ERP(HTMC)对应,校验唯一
|
||||||
public static final String BSE_CTRT_MAIN_CTRT_NAME = "CTRT_NAME";
|
public static final String BSE_CTRT_MAIN_CTRT_NAME = "CTRT_NAME";
|
||||||
|
public static final String BSE_CTRT_MAIN_CTRT_NAME_LABEL = "合同名称";
|
||||||
// 合同编号;与ERP(HTBH)对应,校验唯一
|
// 合同编号;与ERP(HTBH)对应,校验唯一
|
||||||
public static final String BSE_CTRT_MAIN_CTRT_PPR_NUM = "CTRT_PPR_NUM";
|
public static final String BSE_CTRT_MAIN_CTRT_PPR_NUM = "CTRT_PPR_NUM";
|
||||||
|
public static final String BSE_CTRT_MAIN_CTRT_PPR_NUM_LABEL = "合同编号";
|
||||||
|
// 甲方公司编号
|
||||||
|
public static final String BSE_CTRT_MAIN_PRCH_CPN_NUM_LABEL = "甲方公司编号";
|
||||||
|
// 甲方公司名称
|
||||||
|
public static final String BSE_CTRT_MAIN_PRCH_CPN_NAME_LABEL = "甲方公司名称";
|
||||||
|
// 甲方地址
|
||||||
|
public static final String BSE_CTRT_MAIN_PRCH_ADR_LABEL = "甲方地址";
|
||||||
|
// 甲方法定代表人
|
||||||
|
public static final String BSE_CTRT_MAIN_PRCH_LDR_LABEL = "甲方法定代表人";
|
||||||
|
// 乙方公司编号
|
||||||
|
public static final String BSE_CTRT_MAIN_SALE_CPN_NUM_LABEL = "乙方公司编号";
|
||||||
|
// 乙方公司名称
|
||||||
|
public static final String BSE_CTRT_MAIN_SALE_CPN_NAME_LABEL = "乙方公司名称";
|
||||||
|
// 乙方地址
|
||||||
|
public static final String BSE_CTRT_MAIN_SALE_ADR_LABEL = "乙方地址";
|
||||||
|
// 乙方法定代表人
|
||||||
|
public static final String BSE_CTRT_MAIN_SALE_PRCH_LDR_LABEL = "乙方法定代表人";
|
||||||
|
// 类别
|
||||||
|
public static final String BSE_CTRT_MAIN_CTGR_LABEL = "类别";
|
||||||
|
// 收支性质
|
||||||
|
public static final String BSE_CTRT_MAIN_DRCT_LABEL = "收支性质";
|
||||||
|
// 签署日期
|
||||||
|
public static final String BSE_CTRT_MAIN_SGN_DT_LABEL = "签署日期";
|
||||||
|
// 开始日期
|
||||||
|
public static final String BSE_CTRT_MAIN_STRT_DT_LABEL = "开始日期";
|
||||||
|
// 结束日期
|
||||||
|
public static final String BSE_CTRT_MAIN_END_DT_LABEL = "结束日期";
|
||||||
|
// 签署地
|
||||||
|
public static final String BSE_CTRT_MAIN_SGN_PLCE_LABEL = "签署地";
|
||||||
|
// 币种
|
||||||
|
public static final String BSE_CTRT_MAIN_CUR_LABEL = "币种";
|
||||||
|
// 本币金额
|
||||||
|
public static final String BSE_CTRT_MAIN_BSC_AMT_LABEL = "本币金额";
|
||||||
|
// 原币金额
|
||||||
|
public static final String BSE_CTRT_MAIN_COO_AMT_LABEL = "原币金额";
|
||||||
|
// 是否有履约保证金
|
||||||
|
public static final String BSE_CTRT_MAIN_HS_DPST_LABEL = "是否有履约保证金";
|
||||||
|
// 原币履约保证金
|
||||||
|
public static final String BSE_CTRT_MAIN_COO_AMT_DPST_LABEL = "原币履约保证金";
|
||||||
|
// 本币履约保证金
|
||||||
|
public static final String BSE_CTRT_MAIN_BSC_AMT_DPST_LABEL = "本币履约保证金";
|
||||||
|
// 是否有预付款
|
||||||
|
public static final String BSE_CTRT_MAIN_HS_PPYM_LABEL = "是否有预付款";
|
||||||
|
// 预付款比例
|
||||||
|
public static final String BSE_CTRT_MAIN_PPYM_RTIO_LABEL = "预付款比例";
|
||||||
|
// 预付款金额
|
||||||
|
public static final String BSE_CTRT_MAIN_PPYM_AMT_LABEL = "预付款金额";
|
||||||
|
// 是否有质保金
|
||||||
|
public static final String BSE_CTRT_MAIN_HS_QLT_AMT_LABEL = "是否有质保金";
|
||||||
|
// 质保金比例
|
||||||
|
public static final String BSE_CTRT_MAIN_QLT_RTIO_LABEL = "质保金比例";
|
||||||
|
// 质保金金额
|
||||||
|
public static final String BSE_CTRT_MAIN_QLT_AMT_LABEL = "质保金金额";
|
||||||
|
// 是否先款后货
|
||||||
|
public static final String BSE_CTRT_MAIN_HS_PYBL_LABEL = "是否先款后贷";
|
||||||
|
// 是否框架合同
|
||||||
|
public static final String BSE_CTRT_MAIN_IS_FMWK_LABEL = "是否框架合同";
|
||||||
|
// 境内/境外
|
||||||
|
public static final String BSE_CTRT_MAIN_IS_DOM_LABEL = "境内/境外";
|
||||||
|
// 施工类型编号
|
||||||
|
public static final String BSE_CTRT_MAIN_CON_TP_NUM_LABEL = "施工类型编号";
|
||||||
|
// 施工类型名称
|
||||||
|
public static final String BSE_CTRT_MAIN_CON_TP_NAME_LABEL = "施工类型名称";
|
||||||
|
// 代理方
|
||||||
|
public static final String BSE_CTRT_MAIN_AGT_LABEL = "代理方";
|
||||||
|
// 是否虚拟合同
|
||||||
|
public static final String BSE_CTRT_MAIN_CTRT_VRTL_LABEL = "是否虚拟合同";
|
||||||
|
|
||||||
/* 合同明细表 */
|
/* 合同明细表 */
|
||||||
// 合同主信息主键
|
// 合同主信息主键
|
||||||
public static final String BSE_CTRT_DTL_CTRT_MAIN_ID = "CTRT_MAIN_ID";
|
public static final String BSE_CTRT_DTL_CTRT_MAIN_ID = "CTRT_MAIN_ID";
|
||||||
|
// 物料名称
|
||||||
|
public static final String BSE_CTRT_DTL_MTRL_NAME_LABEL = "物料名称";
|
||||||
|
// 数量
|
||||||
|
public static final String BSE_CTRT_DTL_QTY_LABEL = "数量";
|
||||||
|
// 计量单位
|
||||||
|
public static final String BSE_CTRT_DTL_UNT_LABEL = "计量单位";
|
||||||
|
|
||||||
/* 交货计划条款表 */
|
/* 交货计划条款表 */
|
||||||
// 合同明细主键
|
// 合同明细主键
|
||||||
|
|||||||
@@ -0,0 +1,47 @@
|
|||||||
|
package com.zt.plat.module.contractorder.enums.contract;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ERP是否枚举
|
||||||
|
*/
|
||||||
|
public enum ErpCtrtYesNoEnum {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是
|
||||||
|
*/
|
||||||
|
YES("是","1",null),
|
||||||
|
/**
|
||||||
|
* 否
|
||||||
|
*/
|
||||||
|
NO("否","0",null);
|
||||||
|
|
||||||
|
ErpCtrtYesNoEnum(String label, String code, String remark) {
|
||||||
|
this.label = label;
|
||||||
|
this.code = code;
|
||||||
|
this.remark = remark;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字典标签
|
||||||
|
*/
|
||||||
|
private final String label;
|
||||||
|
/**
|
||||||
|
* 字典编码
|
||||||
|
*/
|
||||||
|
private final String code;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private final String remark;
|
||||||
|
|
||||||
|
public String getLabel() {
|
||||||
|
return label;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCode() {
|
||||||
|
return code;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRemark() {
|
||||||
|
return remark;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -129,8 +129,12 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zt.plat</groupId>
|
<groupId>com.zt.plat</groupId>
|
||||||
<artifactId>zt-module-base-server</artifactId>
|
<artifactId>zt-module-base-server</artifactId>
|
||||||
<version>3.0.41</version>
|
<version>${revision}</version>
|
||||||
<scope>compile</scope>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.zt.plat</groupId>
|
||||||
|
<artifactId>zt-module-bpm-api</artifactId>
|
||||||
|
<version>${revision}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user