|
|
@ -96,6 +96,11 @@ public class FundingServiceImpl implements IFundingService { |
|
|
|
if (fundingActivityDto.getEndTime().isBefore(ChronoLocalDate.from(now))) { |
|
|
|
return Result.failure("结束时间不能早于当前时间"); |
|
|
|
} |
|
|
|
if(fundingActivityDto.getMarketOne().equals(fundingActivityDto.getMarketTwo())){ |
|
|
|
if(fundingMapper.selectStatus()==1){ |
|
|
|
return Result.failure("市场添加重复"); |
|
|
|
} |
|
|
|
} |
|
|
|
//查询状态 |
|
|
|
Integer status = fundingMapper.selectStatus(); |
|
|
|
Integer statuss = fundingActivityDto.getStatus(); |
|
|
|