| | |
| | | if (status.intValue() != RentingHourseRegister.Status.dfb) { |
| | | return R.fail("已发布房源不支持删除"); |
| | | } |
| | | rentingHourseFileService.remove(new QueryWrapper<RentingHourseFile>().lambda() |
| | | .eq(RentingHourseFile::getRefId, registerId)); |
| | | int result = this.baseMapper.deleteById(registerId); |
| | | if (result > 0) { |
| | | return R.ok(); |
| | |
| | | order by distance desc |
| | | </if> |
| | | </if> |
| | | <if test="pageRegisterDTO.longitude ==null"> |
| | | <if test="pageRegisterDTO.sort==3"> |
| | | order by monthly_rent_money asc |
| | | </if> |
| | | <if test="pageRegisterDTO.sort==4"> |
| | | order by monthly_rent_money desc |
| | | </if> |
| | | </if> |
| | | </if> |
| | | </select> |