新增合同收发货规则

This commit is contained in:
潘荣晟
2026-01-07 17:10:10 +08:00
parent 4b6bd9cec5
commit c32d27ad3f
18 changed files with 638 additions and 23 deletions

View File

@@ -82,7 +82,7 @@ public class ContractApiImpl implements ContractApi {
@Override
public ContractRespDTO getFormulasBySysNumber(String contractSysNumber) {
return contractService.getFormulasByPaperNumber(contractSysNumber);
return contractService.getFormulasBySysNumber(contractSysNumber);
}
@Override

View File

@@ -1301,7 +1301,7 @@ public class ContractServiceImpl implements ContractService {
// 通过合同编号查询合同信息
ContractMainDO contractMainDO = contractMainMapper
.selectOne(ContractMainDO::getSystemContractNumber, contractPaperNumber);
.selectOne(TableFieldConstants.BSE_CTRT_MAIN_CTRT_PPR_NUM, contractPaperNumber);
// 合同不存在
if (contractMainDO == null) {
@@ -1394,7 +1394,7 @@ public class ContractServiceImpl implements ContractService {
// 通过合同编号查询合同信息
ContractMainDO contractMainDO = contractMainMapper
.selectOne(TableFieldConstants.BSE_CTRT_MAIN_CTRT_PPR_NUM, contractSysNumber);
.selectOne(ContractMainDO::getSystemContractNumber, contractSysNumber);
// 合同不存在
if (contractMainDO == null) {