新增合同收发货规则

This commit is contained in:
潘荣晟
2026-01-07 16:20:01 +08:00
parent cb554f35f3
commit 7a0dbadf2e

View File

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