Merge branch 'refs/heads/dev' into test

This commit is contained in:
liss
2025-10-14 14:33:30 +08:00
5 changed files with 217 additions and 52 deletions

View File

@@ -199,4 +199,24 @@ public class ErpContractSaveReqVO {
@Schema(description = "达到收款条件金额;销售合同且类型为SAP02COSR必填")
private BigDecimal payeeConditionAmount;
@Schema(description = "公司编号")
private Long companyId;
@Schema(description = "公司名称")
private String companyName;
@Schema(description = "部门编号")
private Long deptId;
@Schema(description = "部门名称")
private String deptName;
@Schema(description = "岗位编号")
private Long postId;
@Schema(description = "创建者")
private String creatorName;
@Schema(description = "更新者")
private String updaterName;
}

View File

@@ -70,4 +70,12 @@ public interface ErpContractService {
PageResult<ErpContractDO> getErpContractPage(ErpContractPageReqVO pageReqVO);
void callErpRfcInterface();
/**
* 合同提交ERP
*
* @param erpContractVO ERP合同映射数据
* @return ERP合同映射
*/
String submitErp(ErpContractSaveReqVO erpContractVO);
}

View File

@@ -22,10 +22,10 @@ import static dm.jdbc.util.DriverUtil.log;
@Configuration
public class ErpConfig {
@Value("${erp.address}")
@Value("${erp.address:}")
private String erpAddress;
@Value("${erp.sapsys}")
@Value("${erp.sapsys:}")
private String sapsys;
/**