生效日期在暂时不填

This commit is contained in:
2026-06-18 14:55:20 +08:00
parent e3a0b83195
commit 59a0bb34b0
@@ -1176,9 +1176,9 @@ public class ContractLaunchServiceImpl implements ContractLaunchService {
&& (contract.getPeriodExplain() == null || contract.getPeriodExplain().isBlank())) { && (contract.getPeriodExplain() == null || contract.getPeriodExplain().isBlank())) {
throw new ServiceException("无固定期限合同必须填写期限说明"); throw new ServiceException("无固定期限合同必须填写期限说明");
} }
if (contract.getActiveDate() == null) { // if (contract.getActiveDate() == null) {
throw new ServiceException("合同生效日期不能为空"); // throw new ServiceException("合同生效日期不能为空");
} // }
validateActiveDateWithinTerm(contract); validateActiveDateWithinTerm(contract);
if (contract.getPartyList() == null || contract.getPartyList().isEmpty()) { if (contract.getPartyList() == null || contract.getPartyList().isEmpty()) {
throw new ServiceException("至少需要维护一个合同方"); throw new ServiceException("至少需要维护一个合同方");