| | |
| | | .eq(PlatformWaterGas::getIsdeleted, Constants.ZERO) |
| | | .ne(PlatformWaterGas::getId,platformWaterGas.getId()) |
| | | .apply("to_days(time_info) = to_days('"+ DateUtil.getPlusTime2(platformWaterGas.getTimeInfo()) +"')") |
| | | .eq(PlatformWaterGas::getType, platformWaterGas.getType()) |
| | | .eq(Constants.equalsInteger(platformWaterGas.getType(),Constants.TWO),PlatformWaterGas::getCarCode,platformWaterGas.getCarCode()))>0){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"对不起,该年月数据已存在,请勿重新录入,可以尝试搜索后进行数据修改!"); |
| | | } |