diff --git a/src/main/java/com/controller/FangwuleixingController.java b/src/main/java/com/controller/FangwuleixingController.java new file mode 100644 index 0000000..24103fe --- /dev/null +++ b/src/main/java/com/controller/FangwuleixingController.java @@ -0,0 +1,196 @@ +package com.controller; + +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Calendar; +import java.util.Map; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Date; +import java.util.List; +import javax.servlet.http.HttpServletRequest; + +import com.utils.ValidatorUtils; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; +import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.annotation.IgnoreAuth; + +import com.entity.FangwuleixingEntity; +import com.entity.view.FangwuleixingView; + +import com.service.FangwuleixingService; +import com.service.TokenService; +import com.utils.PageUtils; +import com.utils.R; +import com.utils.MD5Util; +import com.utils.MPUtil; +import com.utils.CommonUtil; + + +/** + * 房屋类型 + * 后端接口 + * @author + * @email + */ +@RestController +@RequestMapping("/fangwuleixing") +public class FangwuleixingController { + @Autowired + private FangwuleixingService fangwuleixingService; + + + + /** + * 后端列表 + */ + @RequestMapping("/page") + public R page(@RequestParam Map params,FangwuleixingEntity fangwuleixing, HttpServletRequest request){ + EntityWrapper ew = new EntityWrapper(); + PageUtils page = fangwuleixingService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, fangwuleixing), params), params)); + + return R.ok().put("data", page); + } + + /** + * 前端列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params,FangwuleixingEntity fangwuleixing, HttpServletRequest request){ + EntityWrapper ew = new EntityWrapper(); + PageUtils page = fangwuleixingService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, fangwuleixing), params), params)); + return R.ok().put("data", page); + } + + /** + * 列表 + */ + @RequestMapping("/lists") + public R list( FangwuleixingEntity fangwuleixing){ + EntityWrapper ew = new EntityWrapper(); + ew.allEq(MPUtil.allEQMapPre( fangwuleixing, "fangwuleixing")); + return R.ok().put("data", fangwuleixingService.selectListView(ew)); + } + + /** + * 查询 + */ + + + /** + * 后端详情 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + FangwuleixingEntity fangwuleixing = fangwuleixingService.selectById(id); + return R.ok().put("data", fangwuleixing); + } + + /** + * 前端详情 + */ + @RequestMapping("/detail/{id}") + public R detail(@PathVariable("id") Long id){ + FangwuleixingEntity fangwuleixing = fangwuleixingService.selectById(id); + return R.ok().put("data", fangwuleixing); + } + + + + + /** + * 后端保存 + */ + @RequestMapping("/save") + public R save(@RequestBody FangwuleixingEntity fangwuleixing, HttpServletRequest request){ + fangwuleixing.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue()); + //ValidatorUtils.validateEntity(fangwuleixing); + fangwuleixingService.insert(fangwuleixing); + return R.ok(); + } + + /** + * 前端保存 + */ + @RequestMapping("/add") + public R add(@RequestBody FangwuleixingEntity fangwuleixing, HttpServletRequest request){ + fangwuleixing.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue()); + //ValidatorUtils.validateEntity(fangwuleixing); + fangwuleixingService.insert(fangwuleixing); + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody FangwuleixingEntity fangwuleixing, HttpServletRequest request){ + //ValidatorUtils.validateEntity(fangwuleixing); + fangwuleixingService.updateById(fangwuleixing);//全部更新 + return R.ok(); + } + + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + fangwuleixingService.deleteBatchIds(Arrays.asList(ids)); + return R.ok(); + } + + /** + * 提醒接口 + */ + @RequestMapping("/remind/{columnName}/{type}") + public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, + @PathVariable("type") String type,@RequestParam Map map) { + map.put("column", columnName); + map.put("type", type); + + if(type.equals("2")) { + SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); + Calendar c = Calendar.getInstance(); + Date remindStartDate = null; + Date remindEndDate = null; + if(map.get("remindstart")!=null) { + Integer remindStart = Integer.parseInt(map.get("remindstart").toString()); + c.setTime(new Date()); + c.add(Calendar.DAY_OF_MONTH,remindStart); + remindStartDate = c.getTime(); + map.put("remindstart", sdf.format(remindStartDate)); + } + if(map.get("remindend")!=null) { + Integer remindEnd = Integer.parseInt(map.get("remindend").toString()); + c.setTime(new Date()); + c.add(Calendar.DAY_OF_MONTH,remindEnd); + remindEndDate = c.getTime(); + map.put("remindend", sdf.format(remindEndDate)); + } + } + + Wrapper wrapper = new EntityWrapper(); + if(map.get("remindstart")!=null) { + wrapper.ge(columnName, map.get("remindstart")); + } + if(map.get("remindend")!=null) { + wrapper.le(columnName, map.get("remindend")); + } + + + int count = fangwuleixingService.selectCount(wrapper); + return R.ok().put("count", count); + } + + + +} diff --git a/src/main/java/com/controller/FangwupingjiaController.java b/src/main/java/com/controller/FangwupingjiaController.java new file mode 100644 index 0000000..6f6c7de --- /dev/null +++ b/src/main/java/com/controller/FangwupingjiaController.java @@ -0,0 +1,216 @@ +package com.controller; + +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Calendar; +import java.util.Map; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Date; +import java.util.List; +import javax.servlet.http.HttpServletRequest; + +import com.utils.ValidatorUtils; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; +import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.annotation.IgnoreAuth; + +import com.entity.FangwupingjiaEntity; +import com.entity.view.FangwupingjiaView; + +import com.service.FangwupingjiaService; +import com.service.TokenService; +import com.utils.PageUtils; +import com.utils.R; +import com.utils.MD5Util; +import com.utils.MPUtil; +import com.utils.CommonUtil; + + +/** + * 房屋评价 + * 后端接口 + * @author + * @email + */ +@RestController +@RequestMapping("/fangwupingjia") +public class FangwupingjiaController { + @Autowired + private FangwupingjiaService fangwupingjiaService; + + + + /** + * 后端列表 + */ + @RequestMapping("/page") + public R page(@RequestParam Map params,FangwupingjiaEntity fangwupingjia, HttpServletRequest request){ + String tableName = request.getSession().getAttribute("tableName").toString(); + if(tableName.equals("fangzhu")) { + fangwupingjia.setFangzhuzhanghao((String)request.getSession().getAttribute("username")); + } + if(tableName.equals("yonghu")) { + fangwupingjia.setYonghuming((String)request.getSession().getAttribute("username")); + } + EntityWrapper ew = new EntityWrapper(); + PageUtils page = fangwupingjiaService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, fangwupingjia), params), params)); + + return R.ok().put("data", page); + } + + /** + * 前端列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params,FangwupingjiaEntity fangwupingjia, HttpServletRequest request){ + EntityWrapper ew = new EntityWrapper(); + PageUtils page = fangwupingjiaService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, fangwupingjia), params), params)); + return R.ok().put("data", page); + } + + /** + * 列表 + */ + @RequestMapping("/lists") + public R list( FangwupingjiaEntity fangwupingjia){ + EntityWrapper ew = new EntityWrapper(); + ew.allEq(MPUtil.allEQMapPre( fangwupingjia, "fangwupingjia")); + return R.ok().put("data", fangwupingjiaService.selectListView(ew)); + } + + /** + * 查询 + */ + @RequestMapping("/query") + public R query(FangwupingjiaEntity fangwupingjia){ + EntityWrapper< FangwupingjiaEntity> ew = new EntityWrapper< FangwupingjiaEntity>(); + ew.allEq(MPUtil.allEQMapPre( fangwupingjia, "fangwupingjia")); + FangwupingjiaView fangwupingjiaView = fangwupingjiaService.selectView(ew); + return R.ok("查询房屋评价成功").put("data", fangwupingjiaView); + } + + /** + * 后端详情 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + FangwupingjiaEntity fangwupingjia = fangwupingjiaService.selectById(id); + return R.ok().put("data", fangwupingjia); + } + + /** + * 前端详情 + */ + @RequestMapping("/detail/{id}") + public R detail(@PathVariable("id") Long id){ + FangwupingjiaEntity fangwupingjia = fangwupingjiaService.selectById(id); + return R.ok().put("data", fangwupingjia); + } + + + + + /** + * 后端保存 + */ + @RequestMapping("/save") + public R save(@RequestBody FangwupingjiaEntity fangwupingjia, HttpServletRequest request){ + fangwupingjia.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue()); + //ValidatorUtils.validateEntity(fangwupingjia); + fangwupingjiaService.insert(fangwupingjia); + return R.ok(); + } + + /** + * 前端保存 + */ + @RequestMapping("/add") + public R add(@RequestBody FangwupingjiaEntity fangwupingjia, HttpServletRequest request){ + fangwupingjia.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue()); + //ValidatorUtils.validateEntity(fangwupingjia); + fangwupingjiaService.insert(fangwupingjia); + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody FangwupingjiaEntity fangwupingjia, HttpServletRequest request){ + //ValidatorUtils.validateEntity(fangwupingjia); + fangwupingjiaService.updateById(fangwupingjia);//全部更新 + return R.ok(); + } + + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + fangwupingjiaService.deleteBatchIds(Arrays.asList(ids)); + return R.ok(); + } + + /** + * 提醒接口 + */ + @RequestMapping("/remind/{columnName}/{type}") + public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, + @PathVariable("type") String type,@RequestParam Map map) { + map.put("column", columnName); + map.put("type", type); + + if(type.equals("2")) { + SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); + Calendar c = Calendar.getInstance(); + Date remindStartDate = null; + Date remindEndDate = null; + if(map.get("remindstart")!=null) { + Integer remindStart = Integer.parseInt(map.get("remindstart").toString()); + c.setTime(new Date()); + c.add(Calendar.DAY_OF_MONTH,remindStart); + remindStartDate = c.getTime(); + map.put("remindstart", sdf.format(remindStartDate)); + } + if(map.get("remindend")!=null) { + Integer remindEnd = Integer.parseInt(map.get("remindend").toString()); + c.setTime(new Date()); + c.add(Calendar.DAY_OF_MONTH,remindEnd); + remindEndDate = c.getTime(); + map.put("remindend", sdf.format(remindEndDate)); + } + } + + Wrapper wrapper = new EntityWrapper(); + if(map.get("remindstart")!=null) { + wrapper.ge(columnName, map.get("remindstart")); + } + if(map.get("remindend")!=null) { + wrapper.le(columnName, map.get("remindend")); + } + + String tableName = request.getSession().getAttribute("tableName").toString(); + if(tableName.equals("fangzhu")) { + wrapper.eq("fangzhuzhanghao", (String)request.getSession().getAttribute("username")); + } + if(tableName.equals("yonghu")) { + wrapper.eq("yonghuming", (String)request.getSession().getAttribute("username")); + } + + int count = fangwupingjiaService.selectCount(wrapper); + return R.ok().put("count", count); + } + + + +} diff --git a/src/main/java/com/controller/FangwuxinxiController.java b/src/main/java/com/controller/FangwuxinxiController.java new file mode 100644 index 0000000..5dd7d99 --- /dev/null +++ b/src/main/java/com/controller/FangwuxinxiController.java @@ -0,0 +1,212 @@ +package com.controller; + +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Calendar; +import java.util.Map; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Date; +import java.util.List; +import javax.servlet.http.HttpServletRequest; + +import com.utils.ValidatorUtils; +import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; +import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.annotation.IgnoreAuth; + +import com.entity.FangwuxinxiEntity; +import com.entity.view.FangwuxinxiView; + +import com.service.FangwuxinxiService; +import com.service.TokenService; +import com.utils.PageUtils; +import com.utils.R; +import com.utils.MD5Util; +import com.utils.MPUtil; +import com.utils.CommonUtil; + + +/** + * 房屋信息 + * 后端接口 + * @author + * @email + */ +@RestController +@RequestMapping("/fangwuxinxi") +public class FangwuxinxiController { + @Autowired + private FangwuxinxiService fangwuxinxiService; + + + + /** + * 后端列表 + */ + @RequestMapping("/page") + public R page(@RequestParam Map params,FangwuxinxiEntity fangwuxinxi, HttpServletRequest request){ + String tableName = request.getSession().getAttribute("tableName").toString(); + if(tableName.equals("fangzhu")) { + fangwuxinxi.setFangzhuzhanghao((String)request.getSession().getAttribute("username")); + } + EntityWrapper ew = new EntityWrapper(); + PageUtils page = fangwuxinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, fangwuxinxi), params), params)); + + return R.ok().put("data", page); + } + + /** + * 前端列表 + */ + @IgnoreAuth + @RequestMapping("/list") + public R list(@RequestParam Map params,FangwuxinxiEntity fangwuxinxi, HttpServletRequest request){ + EntityWrapper ew = new EntityWrapper(); + PageUtils page = fangwuxinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, fangwuxinxi), params), params)); + return R.ok().put("data", page); + } + + /** + * 列表 + */ + @RequestMapping("/lists") + public R list( FangwuxinxiEntity fangwuxinxi){ + EntityWrapper ew = new EntityWrapper(); + ew.allEq(MPUtil.allEQMapPre( fangwuxinxi, "fangwuxinxi")); + return R.ok().put("data", fangwuxinxiService.selectListView(ew)); + } + + /** + * 查询 + */ + @RequestMapping("/query") + public R query(FangwuxinxiEntity fangwuxinxi){ + EntityWrapper< FangwuxinxiEntity> ew = new EntityWrapper< FangwuxinxiEntity>(); + ew.allEq(MPUtil.allEQMapPre( fangwuxinxi, "fangwuxinxi")); + FangwuxinxiView fangwuxinxiView = fangwuxinxiService.selectView(ew); + return R.ok("查询房屋信息成功").put("data", fangwuxinxiView); + } + + /** + * 后端详情 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + FangwuxinxiEntity fangwuxinxi = fangwuxinxiService.selectById(id); + return R.ok().put("data", fangwuxinxi); + } + + /** + * 前端详情 + */ + @IgnoreAuth + @RequestMapping("/detail/{id}") + public R detail(@PathVariable("id") Long id){ + FangwuxinxiEntity fangwuxinxi = fangwuxinxiService.selectById(id); + return R.ok().put("data", fangwuxinxi); + } + + + + + /** + * 后端保存 + */ + @RequestMapping("/save") + public R save(@RequestBody FangwuxinxiEntity fangwuxinxi, HttpServletRequest request){ + fangwuxinxi.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue()); + //ValidatorUtils.validateEntity(fangwuxinxi); + fangwuxinxiService.insert(fangwuxinxi); + return R.ok(); + } + + /** + * 前端保存 + */ + @RequestMapping("/add") + public R add(@RequestBody FangwuxinxiEntity fangwuxinxi, HttpServletRequest request){ + fangwuxinxi.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue()); + //ValidatorUtils.validateEntity(fangwuxinxi); + fangwuxinxiService.insert(fangwuxinxi); + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody FangwuxinxiEntity fangwuxinxi, HttpServletRequest request){ + //ValidatorUtils.validateEntity(fangwuxinxi); + fangwuxinxiService.updateById(fangwuxinxi);//全部更新 + return R.ok(); + } + + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + fangwuxinxiService.deleteBatchIds(Arrays.asList(ids)); + return R.ok(); + } + + /** + * 提醒接口 + */ + @RequestMapping("/remind/{columnName}/{type}") + public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, + @PathVariable("type") String type,@RequestParam Map map) { + map.put("column", columnName); + map.put("type", type); + + if(type.equals("2")) { + SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); + Calendar c = Calendar.getInstance(); + Date remindStartDate = null; + Date remindEndDate = null; + if(map.get("remindstart")!=null) { + Integer remindStart = Integer.parseInt(map.get("remindstart").toString()); + c.setTime(new Date()); + c.add(Calendar.DAY_OF_MONTH,remindStart); + remindStartDate = c.getTime(); + map.put("remindstart", sdf.format(remindStartDate)); + } + if(map.get("remindend")!=null) { + Integer remindEnd = Integer.parseInt(map.get("remindend").toString()); + c.setTime(new Date()); + c.add(Calendar.DAY_OF_MONTH,remindEnd); + remindEndDate = c.getTime(); + map.put("remindend", sdf.format(remindEndDate)); + } + } + + Wrapper wrapper = new EntityWrapper(); + if(map.get("remindstart")!=null) { + wrapper.ge(columnName, map.get("remindstart")); + } + if(map.get("remindend")!=null) { + wrapper.le(columnName, map.get("remindend")); + } + + String tableName = request.getSession().getAttribute("tableName").toString(); + if(tableName.equals("fangzhu")) { + wrapper.eq("fangzhuzhanghao", (String)request.getSession().getAttribute("username")); + } + + int count = fangwuxinxiService.selectCount(wrapper); + return R.ok().put("count", count); + } + + + +} diff --git a/src/main/java/com/dao/FangwubaoxiuDao.java b/src/main/java/com/dao/FangwubaoxiuDao.java new file mode 100644 index 0000000..a820927 --- /dev/null +++ b/src/main/java/com/dao/FangwubaoxiuDao.java @@ -0,0 +1,32 @@ +package com.dao; + +import com.entity.FangwubaoxiuEntity; +import com.baomidou.mybatisplus.mapper.BaseMapper; +import java.util.List; +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.baomidou.mybatisplus.plugins.pagination.Pagination; + +import org.apache.ibatis.annotations.Param; +import com.entity.vo.FangwubaoxiuVO; +import com.entity.view.FangwubaoxiuView; + + +/** + * 房屋报修 + * + * @author + * @email + */ +public interface FangwubaoxiuDao extends BaseMapper { + + List selectListVO(@Param("ew") Wrapper wrapper); + + FangwubaoxiuVO selectVO(@Param("ew") Wrapper wrapper); + + List selectListView(@Param("ew") Wrapper wrapper); + + List selectListView(Pagination page,@Param("ew") Wrapper wrapper); + + FangwubaoxiuView selectView(@Param("ew") Wrapper wrapper); + +} diff --git a/src/main/java/com/dao/FangwuleixingDao.java b/src/main/java/com/dao/FangwuleixingDao.java new file mode 100644 index 0000000..5313ebd --- /dev/null +++ b/src/main/java/com/dao/FangwuleixingDao.java @@ -0,0 +1,32 @@ +package com.dao; + +import com.entity.FangwuleixingEntity; +import com.baomidou.mybatisplus.mapper.BaseMapper; +import java.util.List; +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.baomidou.mybatisplus.plugins.pagination.Pagination; + +import org.apache.ibatis.annotations.Param; +import com.entity.vo.FangwuleixingVO; +import com.entity.view.FangwuleixingView; + + +/** + * 房屋类型 + * + * @author + * @email + */ +public interface FangwuleixingDao extends BaseMapper { + + List selectListVO(@Param("ew") Wrapper wrapper); + + FangwuleixingVO selectVO(@Param("ew") Wrapper wrapper); + + List selectListView(@Param("ew") Wrapper wrapper); + + List selectListView(Pagination page,@Param("ew") Wrapper wrapper); + + FangwuleixingView selectView(@Param("ew") Wrapper wrapper); + +} diff --git a/src/main/java/com/dao/FangwupingjiaDao.java b/src/main/java/com/dao/FangwupingjiaDao.java new file mode 100644 index 0000000..6adff55 --- /dev/null +++ b/src/main/java/com/dao/FangwupingjiaDao.java @@ -0,0 +1,32 @@ +package com.dao; + +import com.entity.FangwupingjiaEntity; +import com.baomidou.mybatisplus.mapper.BaseMapper; +import java.util.List; +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.baomidou.mybatisplus.plugins.pagination.Pagination; + +import org.apache.ibatis.annotations.Param; +import com.entity.vo.FangwupingjiaVO; +import com.entity.view.FangwupingjiaView; + + +/** + * 房屋评价 + * + * @author + * @email + */ +public interface FangwupingjiaDao extends BaseMapper { + + List selectListVO(@Param("ew") Wrapper wrapper); + + FangwupingjiaVO selectVO(@Param("ew") Wrapper wrapper); + + List selectListView(@Param("ew") Wrapper wrapper); + + List selectListView(Pagination page,@Param("ew") Wrapper wrapper); + + FangwupingjiaView selectView(@Param("ew") Wrapper wrapper); + +} diff --git a/src/main/java/com/dao/FangwuxinxiDao.java b/src/main/java/com/dao/FangwuxinxiDao.java new file mode 100644 index 0000000..4b347e6 --- /dev/null +++ b/src/main/java/com/dao/FangwuxinxiDao.java @@ -0,0 +1,32 @@ +package com.dao; + +import com.entity.FangwuxinxiEntity; +import com.baomidou.mybatisplus.mapper.BaseMapper; +import java.util.List; +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.baomidou.mybatisplus.plugins.pagination.Pagination; + +import org.apache.ibatis.annotations.Param; +import com.entity.vo.FangwuxinxiVO; +import com.entity.view.FangwuxinxiView; + + +/** + * 房屋信息 + * + * @author + * @email + */ +public interface FangwuxinxiDao extends BaseMapper { + + List selectListVO(@Param("ew") Wrapper wrapper); + + FangwuxinxiVO selectVO(@Param("ew") Wrapper wrapper); + + List selectListView(@Param("ew") Wrapper wrapper); + + List selectListView(Pagination page,@Param("ew") Wrapper wrapper); + + FangwuxinxiView selectView(@Param("ew") Wrapper wrapper); + +} diff --git a/src/main/java/com/entity/FangwubaoxiuEntity.java b/src/main/java/com/entity/FangwubaoxiuEntity.java new file mode 100644 index 0000000..ad8cf18 --- /dev/null +++ b/src/main/java/com/entity/FangwubaoxiuEntity.java @@ -0,0 +1,345 @@ +package com.entity; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableName; +import javax.validation.constraints.NotBlank; +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import java.lang.reflect.InvocationTargetException; + +import java.io.Serializable; +import java.util.Date; +import java.util.List; + +import org.springframework.format.annotation.DateTimeFormat; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.beanutils.BeanUtils; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.enums.FieldFill; +import com.baomidou.mybatisplus.enums.IdType; + + +/** + * 房屋报修 + * 数据库通用操作实体类(普通增删改查) + * @author + * @email + */ +@TableName("fangwubaoxiu") +public class FangwubaoxiuEntity implements Serializable { + private static final long serialVersionUID = 1L; + + + public FangwubaoxiuEntity() { + + } + + public FangwubaoxiuEntity(T t) { + try { + BeanUtils.copyProperties(this, t); + } catch (IllegalAccessException | InvocationTargetException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + + /** + * 主键id + */ + @TableId + private Long id; + /** + * 合同编号 + */ + + private String hetongbianhao; + + /** + * 房屋名称 + */ + + private String fangwumingcheng; + + /** + * 房屋类型 + */ + + private String fangwuleixing; + + /** + * 小区 + */ + + private String xiaoqu; + + /** + * 报修名称 + */ + + private String baoxiumingcheng; + + /** + * 类型 + */ + + private String leixing; + + /** + * 报修内容 + */ + + private String baoxiuneirong; + + /** + * 图片 + */ + + private String tupian; + + /** + * 报修日期 + */ + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd") + @DateTimeFormat + private Date baoxiuriqi; + + /** + * 房主账号 + */ + + private String fangzhuzhanghao; + + /** + * 房主姓名 + */ + + private String fangzhuxingming; + + /** + * 用户名 + */ + + private String yonghuming; + + /** + * 联系电话 + */ + + private String lianxidianhua; + + /** + * 是否审核 + */ + + private String sfsh; + + /** + * 审核回复 + */ + + private String shhf; + + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + private Date addtime; + + public Date getAddtime() { + return addtime; + } + public void setAddtime(Date addtime) { + this.addtime = addtime; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + /** + * 设置:合同编号 + */ + public void setHetongbianhao(String hetongbianhao) { + this.hetongbianhao = hetongbianhao; + } + /** + * 获取:合同编号 + */ + public String getHetongbianhao() { + return hetongbianhao; + } + /** + * 设置:房屋名称 + */ + public void setFangwumingcheng(String fangwumingcheng) { + this.fangwumingcheng = fangwumingcheng; + } + /** + * 获取:房屋名称 + */ + public String getFangwumingcheng() { + return fangwumingcheng; + } + /** + * 设置:房屋类型 + */ + public void setFangwuleixing(String fangwuleixing) { + this.fangwuleixing = fangwuleixing; + } + /** + * 获取:房屋类型 + */ + public String getFangwuleixing() { + return fangwuleixing; + } + /** + * 设置:小区 + */ + public void setXiaoqu(String xiaoqu) { + this.xiaoqu = xiaoqu; + } + /** + * 获取:小区 + */ + public String getXiaoqu() { + return xiaoqu; + } + /** + * 设置:报修名称 + */ + public void setBaoxiumingcheng(String baoxiumingcheng) { + this.baoxiumingcheng = baoxiumingcheng; + } + /** + * 获取:报修名称 + */ + public String getBaoxiumingcheng() { + return baoxiumingcheng; + } + /** + * 设置:类型 + */ + public void setLeixing(String leixing) { + this.leixing = leixing; + } + /** + * 获取:类型 + */ + public String getLeixing() { + return leixing; + } + /** + * 设置:报修内容 + */ + public void setBaoxiuneirong(String baoxiuneirong) { + this.baoxiuneirong = baoxiuneirong; + } + /** + * 获取:报修内容 + */ + public String getBaoxiuneirong() { + return baoxiuneirong; + } + /** + * 设置:图片 + */ + public void setTupian(String tupian) { + this.tupian = tupian; + } + /** + * 获取:图片 + */ + public String getTupian() { + return tupian; + } + /** + * 设置:报修日期 + */ + public void setBaoxiuriqi(Date baoxiuriqi) { + this.baoxiuriqi = baoxiuriqi; + } + /** + * 获取:报修日期 + */ + public Date getBaoxiuriqi() { + return baoxiuriqi; + } + /** + * 设置:房主账号 + */ + public void setFangzhuzhanghao(String fangzhuzhanghao) { + this.fangzhuzhanghao = fangzhuzhanghao; + } + /** + * 获取:房主账号 + */ + public String getFangzhuzhanghao() { + return fangzhuzhanghao; + } + /** + * 设置:房主姓名 + */ + public void setFangzhuxingming(String fangzhuxingming) { + this.fangzhuxingming = fangzhuxingming; + } + /** + * 获取:房主姓名 + */ + public String getFangzhuxingming() { + return fangzhuxingming; + } + /** + * 设置:用户名 + */ + public void setYonghuming(String yonghuming) { + this.yonghuming = yonghuming; + } + /** + * 获取:用户名 + */ + public String getYonghuming() { + return yonghuming; + } + /** + * 设置:联系电话 + */ + public void setLianxidianhua(String lianxidianhua) { + this.lianxidianhua = lianxidianhua; + } + /** + * 获取:联系电话 + */ + public String getLianxidianhua() { + return lianxidianhua; + } + /** + * 设置:是否审核 + */ + public void setSfsh(String sfsh) { + this.sfsh = sfsh; + } + /** + * 获取:是否审核 + */ + public String getSfsh() { + return sfsh; + } + /** + * 设置:审核回复 + */ + public void setShhf(String shhf) { + this.shhf = shhf; + } + /** + * 获取:审核回复 + */ + public String getShhf() { + return shhf; + } + +} diff --git a/src/main/java/com/entity/FangwuleixingEntity.java b/src/main/java/com/entity/FangwuleixingEntity.java new file mode 100644 index 0000000..44047f2 --- /dev/null +++ b/src/main/java/com/entity/FangwuleixingEntity.java @@ -0,0 +1,91 @@ +package com.entity; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableName; +import javax.validation.constraints.NotBlank; +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import java.lang.reflect.InvocationTargetException; + +import java.io.Serializable; +import java.util.Date; +import java.util.List; + +import org.springframework.format.annotation.DateTimeFormat; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.beanutils.BeanUtils; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.enums.FieldFill; +import com.baomidou.mybatisplus.enums.IdType; + + +/** + * 房屋类型 + * 数据库通用操作实体类(普通增删改查) + * @author + * @email + */ +@TableName("fangwuleixing") +public class FangwuleixingEntity implements Serializable { + private static final long serialVersionUID = 1L; + + + public FangwuleixingEntity() { + + } + + public FangwuleixingEntity(T t) { + try { + BeanUtils.copyProperties(this, t); + } catch (IllegalAccessException | InvocationTargetException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + + /** + * 主键id + */ + @TableId + private Long id; + /** + * 房屋类型 + */ + + private String fangwuleixing; + + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + private Date addtime; + + public Date getAddtime() { + return addtime; + } + public void setAddtime(Date addtime) { + this.addtime = addtime; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + /** + * 设置:房屋类型 + */ + public void setFangwuleixing(String fangwuleixing) { + this.fangwuleixing = fangwuleixing; + } + /** + * 获取:房屋类型 + */ + public String getFangwuleixing() { + return fangwuleixing; + } + +} diff --git a/src/main/java/com/entity/FangwupingjiaEntity.java b/src/main/java/com/entity/FangwupingjiaEntity.java new file mode 100644 index 0000000..c8ede1b --- /dev/null +++ b/src/main/java/com/entity/FangwupingjiaEntity.java @@ -0,0 +1,291 @@ +package com.entity; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableName; +import javax.validation.constraints.NotBlank; +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import java.lang.reflect.InvocationTargetException; + +import java.io.Serializable; +import java.util.Date; +import java.util.List; + +import org.springframework.format.annotation.DateTimeFormat; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.beanutils.BeanUtils; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.enums.FieldFill; +import com.baomidou.mybatisplus.enums.IdType; + + +/** + * 房屋评价 + * 数据库通用操作实体类(普通增删改查) + * @author + * @email + */ +@TableName("fangwupingjia") +public class FangwupingjiaEntity implements Serializable { + private static final long serialVersionUID = 1L; + + + public FangwupingjiaEntity() { + + } + + public FangwupingjiaEntity(T t) { + try { + BeanUtils.copyProperties(this, t); + } catch (IllegalAccessException | InvocationTargetException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + + /** + * 主键id + */ + @TableId + private Long id; + /** + * 合同编号 + */ + + private String hetongbianhao; + + /** + * 房屋名称 + */ + + private String fangwumingcheng; + + /** + * 房屋类型 + */ + + private String fangwuleixing; + + /** + * 小区 + */ + + private String xiaoqu; + + /** + * 评分 + */ + + private String pingfen; + + /** + * 评价内容 + */ + + private String pingjianeirong; + + /** + * 评价日期 + */ + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd") + @DateTimeFormat + private Date pingjiariqi; + + /** + * 房主账号 + */ + + private String fangzhuzhanghao; + + /** + * 用户名 + */ + + private String yonghuming; + + /** + * 联系电话 + */ + + private String lianxidianhua; + + /** + * 是否审核 + */ + + private String sfsh; + + /** + * 审核回复 + */ + + private String shhf; + + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + private Date addtime; + + public Date getAddtime() { + return addtime; + } + public void setAddtime(Date addtime) { + this.addtime = addtime; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + /** + * 设置:合同编号 + */ + public void setHetongbianhao(String hetongbianhao) { + this.hetongbianhao = hetongbianhao; + } + /** + * 获取:合同编号 + */ + public String getHetongbianhao() { + return hetongbianhao; + } + /** + * 设置:房屋名称 + */ + public void setFangwumingcheng(String fangwumingcheng) { + this.fangwumingcheng = fangwumingcheng; + } + /** + * 获取:房屋名称 + */ + public String getFangwumingcheng() { + return fangwumingcheng; + } + /** + * 设置:房屋类型 + */ + public void setFangwuleixing(String fangwuleixing) { + this.fangwuleixing = fangwuleixing; + } + /** + * 获取:房屋类型 + */ + public String getFangwuleixing() { + return fangwuleixing; + } + /** + * 设置:小区 + */ + public void setXiaoqu(String xiaoqu) { + this.xiaoqu = xiaoqu; + } + /** + * 获取:小区 + */ + public String getXiaoqu() { + return xiaoqu; + } + /** + * 设置:评分 + */ + public void setPingfen(String pingfen) { + this.pingfen = pingfen; + } + /** + * 获取:评分 + */ + public String getPingfen() { + return pingfen; + } + /** + * 设置:评价内容 + */ + public void setPingjianeirong(String pingjianeirong) { + this.pingjianeirong = pingjianeirong; + } + /** + * 获取:评价内容 + */ + public String getPingjianeirong() { + return pingjianeirong; + } + /** + * 设置:评价日期 + */ + public void setPingjiariqi(Date pingjiariqi) { + this.pingjiariqi = pingjiariqi; + } + /** + * 获取:评价日期 + */ + public Date getPingjiariqi() { + return pingjiariqi; + } + /** + * 设置:房主账号 + */ + public void setFangzhuzhanghao(String fangzhuzhanghao) { + this.fangzhuzhanghao = fangzhuzhanghao; + } + /** + * 获取:房主账号 + */ + public String getFangzhuzhanghao() { + return fangzhuzhanghao; + } + /** + * 设置:用户名 + */ + public void setYonghuming(String yonghuming) { + this.yonghuming = yonghuming; + } + /** + * 获取:用户名 + */ + public String getYonghuming() { + return yonghuming; + } + /** + * 设置:联系电话 + */ + public void setLianxidianhua(String lianxidianhua) { + this.lianxidianhua = lianxidianhua; + } + /** + * 获取:联系电话 + */ + public String getLianxidianhua() { + return lianxidianhua; + } + /** + * 设置:是否审核 + */ + public void setSfsh(String sfsh) { + this.sfsh = sfsh; + } + /** + * 获取:是否审核 + */ + public String getSfsh() { + return sfsh; + } + /** + * 设置:审核回复 + */ + public void setShhf(String shhf) { + this.shhf = shhf; + } + /** + * 获取:审核回复 + */ + public String getShhf() { + return shhf; + } + +} diff --git a/src/main/java/com/entity/FangwuxinxiEntity.java b/src/main/java/com/entity/FangwuxinxiEntity.java new file mode 100644 index 0000000..e965c9c --- /dev/null +++ b/src/main/java/com/entity/FangwuxinxiEntity.java @@ -0,0 +1,363 @@ +package com.entity; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableName; +import javax.validation.constraints.NotBlank; +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import java.lang.reflect.InvocationTargetException; + +import java.io.Serializable; +import java.util.Date; +import java.util.List; + +import org.springframework.format.annotation.DateTimeFormat; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.beanutils.BeanUtils; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.enums.FieldFill; +import com.baomidou.mybatisplus.enums.IdType; + + +/** + * 房屋信息 + * 数据库通用操作实体类(普通增删改查) + * @author + * @email + */ +@TableName("fangwuxinxi") +public class FangwuxinxiEntity implements Serializable { + private static final long serialVersionUID = 1L; + + + public FangwuxinxiEntity() { + + } + + public FangwuxinxiEntity(T t) { + try { + BeanUtils.copyProperties(this, t); + } catch (IllegalAccessException | InvocationTargetException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } + + /** + * 主键id + */ + @TableId + private Long id; + /** + * 房屋名称 + */ + + private String fangwumingcheng; + + /** + * 房屋类型 + */ + + private String fangwuleixing; + + /** + * 图片 + */ + + private String tupian; + + /** + * 租赁方式 + */ + + private String zulinfangshi; + + /** + * 朝向楼层 + */ + + private String chaoxianglouceng; + + /** + * 面积 + */ + + private String mianji; + + /** + * 房屋状态 + */ + + private String fangwuzhuangtai; + + /** + * 小区 + */ + + private String xiaoqu; + + /** + * 详细地址 + */ + + private String xiangxidizhi; + + /** + * 月租价格 + */ + + private Integer yuezujiage; + + /** + * 押金 + */ + + private Integer yajin; + + /** + * 房屋设施 + */ + + private String fangwusheshi; + + /** + * 房屋详情 + */ + + private String fangwuxiangqing; + + /** + * 发布日期 + */ + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd") + @DateTimeFormat + private Date faburiqi; + + /** + * 房主账号 + */ + + private String fangzhuzhanghao; + + /** + * 房主姓名 + */ + + private String fangzhuxingming; + + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + private Date addtime; + + public Date getAddtime() { + return addtime; + } + public void setAddtime(Date addtime) { + this.addtime = addtime; + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + /** + * 设置:房屋名称 + */ + public void setFangwumingcheng(String fangwumingcheng) { + this.fangwumingcheng = fangwumingcheng; + } + /** + * 获取:房屋名称 + */ + public String getFangwumingcheng() { + return fangwumingcheng; + } + /** + * 设置:房屋类型 + */ + public void setFangwuleixing(String fangwuleixing) { + this.fangwuleixing = fangwuleixing; + } + /** + * 获取:房屋类型 + */ + public String getFangwuleixing() { + return fangwuleixing; + } + /** + * 设置:图片 + */ + public void setTupian(String tupian) { + this.tupian = tupian; + } + /** + * 获取:图片 + */ + public String getTupian() { + return tupian; + } + /** + * 设置:租赁方式 + */ + public void setZulinfangshi(String zulinfangshi) { + this.zulinfangshi = zulinfangshi; + } + /** + * 获取:租赁方式 + */ + public String getZulinfangshi() { + return zulinfangshi; + } + /** + * 设置:朝向楼层 + */ + public void setChaoxianglouceng(String chaoxianglouceng) { + this.chaoxianglouceng = chaoxianglouceng; + } + /** + * 获取:朝向楼层 + */ + public String getChaoxianglouceng() { + return chaoxianglouceng; + } + /** + * 设置:面积 + */ + public void setMianji(String mianji) { + this.mianji = mianji; + } + /** + * 获取:面积 + */ + public String getMianji() { + return mianji; + } + /** + * 设置:房屋状态 + */ + public void setFangwuzhuangtai(String fangwuzhuangtai) { + this.fangwuzhuangtai = fangwuzhuangtai; + } + /** + * 获取:房屋状态 + */ + public String getFangwuzhuangtai() { + return fangwuzhuangtai; + } + /** + * 设置:小区 + */ + public void setXiaoqu(String xiaoqu) { + this.xiaoqu = xiaoqu; + } + /** + * 获取:小区 + */ + public String getXiaoqu() { + return xiaoqu; + } + /** + * 设置:详细地址 + */ + public void setXiangxidizhi(String xiangxidizhi) { + this.xiangxidizhi = xiangxidizhi; + } + /** + * 获取:详细地址 + */ + public String getXiangxidizhi() { + return xiangxidizhi; + } + /** + * 设置:月租价格 + */ + public void setYuezujiage(Integer yuezujiage) { + this.yuezujiage = yuezujiage; + } + /** + * 获取:月租价格 + */ + public Integer getYuezujiage() { + return yuezujiage; + } + /** + * 设置:押金 + */ + public void setYajin(Integer yajin) { + this.yajin = yajin; + } + /** + * 获取:押金 + */ + public Integer getYajin() { + return yajin; + } + /** + * 设置:房屋设施 + */ + public void setFangwusheshi(String fangwusheshi) { + this.fangwusheshi = fangwusheshi; + } + /** + * 获取:房屋设施 + */ + public String getFangwusheshi() { + return fangwusheshi; + } + /** + * 设置:房屋详情 + */ + public void setFangwuxiangqing(String fangwuxiangqing) { + this.fangwuxiangqing = fangwuxiangqing; + } + /** + * 获取:房屋详情 + */ + public String getFangwuxiangqing() { + return fangwuxiangqing; + } + /** + * 设置:发布日期 + */ + public void setFaburiqi(Date faburiqi) { + this.faburiqi = faburiqi; + } + /** + * 获取:发布日期 + */ + public Date getFaburiqi() { + return faburiqi; + } + /** + * 设置:房主账号 + */ + public void setFangzhuzhanghao(String fangzhuzhanghao) { + this.fangzhuzhanghao = fangzhuzhanghao; + } + /** + * 获取:房主账号 + */ + public String getFangzhuzhanghao() { + return fangzhuzhanghao; + } + /** + * 设置:房主姓名 + */ + public void setFangzhuxingming(String fangzhuxingming) { + this.fangzhuxingming = fangzhuxingming; + } + /** + * 获取:房主姓名 + */ + public String getFangzhuxingming() { + return fangzhuxingming; + } + +} diff --git a/src/main/java/com/entity/model/FangwubaoxiuModel.java b/src/main/java/com/entity/model/FangwubaoxiuModel.java new file mode 100644 index 0000000..e54d948 --- /dev/null +++ b/src/main/java/com/entity/model/FangwubaoxiuModel.java @@ -0,0 +1,334 @@ +package com.entity.model; + +import com.entity.FangwubaoxiuEntity; + +import com.baomidou.mybatisplus.annotations.TableName; +import java.util.Date; +import org.springframework.format.annotation.DateTimeFormat; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.io.Serializable; + + +/** + * 房屋报修 + * 接收传参的实体类 + * 取自ModelAndView 的model名称 + * @author + * @email + */ +public class FangwubaoxiuModel implements Serializable { + private static final long serialVersionUID = 1L; + + + /** + * 房屋名称 + */ + + private String fangwumingcheng; + + /** + * 房屋类型 + */ + + private String fangwuleixing; + + /** + * 小区 + */ + + private String xiaoqu; + + /** + * 报修名称 + */ + + private String baoxiumingcheng; + + /** + * 类型 + */ + + private String leixing; + + /** + * 报修内容 + */ + + private String baoxiuneirong; + + /** + * 图片 + */ + + private String tupian; + + /** + * 报修日期 + */ + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + private Date baoxiuriqi; + + /** + * 房主账号 + */ + + private String fangzhuzhanghao; + + /** + * 房主姓名 + */ + + private String fangzhuxingming; + + /** + * 用户名 + */ + + private String yonghuming; + + /** + * 联系电话 + */ + + private String lianxidianhua; + + /** + * 是否审核 + */ + + private String sfsh; + + /** + * 审核回复 + */ + + private String shhf; + + + /** + * 设置:房屋名称 + */ + + public void setFangwumingcheng(String fangwumingcheng) { + this.fangwumingcheng = fangwumingcheng; + } + + /** + * 获取:房屋名称 + */ + public String getFangwumingcheng() { + return fangwumingcheng; + } + + + /** + * 设置:房屋类型 + */ + + public void setFangwuleixing(String fangwuleixing) { + this.fangwuleixing = fangwuleixing; + } + + /** + * 获取:房屋类型 + */ + public String getFangwuleixing() { + return fangwuleixing; + } + + + /** + * 设置:小区 + */ + + public void setXiaoqu(String xiaoqu) { + this.xiaoqu = xiaoqu; + } + + /** + * 获取:小区 + */ + public String getXiaoqu() { + return xiaoqu; + } + + + /** + * 设置:报修名称 + */ + + public void setBaoxiumingcheng(String baoxiumingcheng) { + this.baoxiumingcheng = baoxiumingcheng; + } + + /** + * 获取:报修名称 + */ + public String getBaoxiumingcheng() { + return baoxiumingcheng; + } + + + /** + * 设置:类型 + */ + + public void setLeixing(String leixing) { + this.leixing = leixing; + } + + /** + * 获取:类型 + */ + public String getLeixing() { + return leixing; + } + + + /** + * 设置:报修内容 + */ + + public void setBaoxiuneirong(String baoxiuneirong) { + this.baoxiuneirong = baoxiuneirong; + } + + /** + * 获取:报修内容 + */ + public String getBaoxiuneirong() { + return baoxiuneirong; + } + + + /** + * 设置:图片 + */ + + public void setTupian(String tupian) { + this.tupian = tupian; + } + + /** + * 获取:图片 + */ + public String getTupian() { + return tupian; + } + + + /** + * 设置:报修日期 + */ + + public void setBaoxiuriqi(Date baoxiuriqi) { + this.baoxiuriqi = baoxiuriqi; + } + + /** + * 获取:报修日期 + */ + public Date getBaoxiuriqi() { + return baoxiuriqi; + } + + + /** + * 设置:房主账号 + */ + + public void setFangzhuzhanghao(String fangzhuzhanghao) { + this.fangzhuzhanghao = fangzhuzhanghao; + } + + /** + * 获取:房主账号 + */ + public String getFangzhuzhanghao() { + return fangzhuzhanghao; + } + + + /** + * 设置:房主姓名 + */ + + public void setFangzhuxingming(String fangzhuxingming) { + this.fangzhuxingming = fangzhuxingming; + } + + /** + * 获取:房主姓名 + */ + public String getFangzhuxingming() { + return fangzhuxingming; + } + + + /** + * 设置:用户名 + */ + + public void setYonghuming(String yonghuming) { + this.yonghuming = yonghuming; + } + + /** + * 获取:用户名 + */ + public String getYonghuming() { + return yonghuming; + } + + + /** + * 设置:联系电话 + */ + + public void setLianxidianhua(String lianxidianhua) { + this.lianxidianhua = lianxidianhua; + } + + /** + * 获取:联系电话 + */ + public String getLianxidianhua() { + return lianxidianhua; + } + + + /** + * 设置:是否审核 + */ + + public void setSfsh(String sfsh) { + this.sfsh = sfsh; + } + + /** + * 获取:是否审核 + */ + public String getSfsh() { + return sfsh; + } + + + /** + * 设置:审核回复 + */ + + public void setShhf(String shhf) { + this.shhf = shhf; + } + + /** + * 获取:审核回复 + */ + public String getShhf() { + return shhf; + } + +} diff --git a/src/main/java/com/entity/model/FangwuleixingModel.java b/src/main/java/com/entity/model/FangwuleixingModel.java new file mode 100644 index 0000000..1ab3720 --- /dev/null +++ b/src/main/java/com/entity/model/FangwuleixingModel.java @@ -0,0 +1,24 @@ +package com.entity.model; + +import com.entity.FangwuleixingEntity; + +import com.baomidou.mybatisplus.annotations.TableName; +import java.util.Date; +import org.springframework.format.annotation.DateTimeFormat; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.io.Serializable; + + +/** + * 房屋类型 + * 接收传参的实体类 + * 取自ModelAndView 的model名称 + * @author + * @email + */ +public class FangwuleixingModel implements Serializable { + private static final long serialVersionUID = 1L; + + +} diff --git a/src/main/java/com/entity/model/FangwupingjiaModel.java b/src/main/java/com/entity/model/FangwupingjiaModel.java new file mode 100644 index 0000000..10f1765 --- /dev/null +++ b/src/main/java/com/entity/model/FangwupingjiaModel.java @@ -0,0 +1,268 @@ +package com.entity.model; + +import com.entity.FangwupingjiaEntity; + +import com.baomidou.mybatisplus.annotations.TableName; +import java.util.Date; +import org.springframework.format.annotation.DateTimeFormat; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.io.Serializable; + + +/** + * 房屋评价 + * 接收传参的实体类 + * 取自ModelAndView 的model名称 + * @author + * @email + */ +public class FangwupingjiaModel implements Serializable { + private static final long serialVersionUID = 1L; + + + /** + * 房屋名称 + */ + + private String fangwumingcheng; + + /** + * 房屋类型 + */ + + private String fangwuleixing; + + /** + * 小区 + */ + + private String xiaoqu; + + /** + * 评分 + */ + + private String pingfen; + + /** + * 评价内容 + */ + + private String pingjianeirong; + + /** + * 评价日期 + */ + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + private Date pingjiariqi; + + /** + * 房主账号 + */ + + private String fangzhuzhanghao; + + /** + * 用户名 + */ + + private String yonghuming; + + /** + * 联系电话 + */ + + private String lianxidianhua; + + /** + * 是否审核 + */ + + private String sfsh; + + /** + * 审核回复 + */ + + private String shhf; + + + /** + * 设置:房屋名称 + */ + + public void setFangwumingcheng(String fangwumingcheng) { + this.fangwumingcheng = fangwumingcheng; + } + + /** + * 获取:房屋名称 + */ + public String getFangwumingcheng() { + return fangwumingcheng; + } + + + /** + * 设置:房屋类型 + */ + + public void setFangwuleixing(String fangwuleixing) { + this.fangwuleixing = fangwuleixing; + } + + /** + * 获取:房屋类型 + */ + public String getFangwuleixing() { + return fangwuleixing; + } + + + /** + * 设置:小区 + */ + + public void setXiaoqu(String xiaoqu) { + this.xiaoqu = xiaoqu; + } + + /** + * 获取:小区 + */ + public String getXiaoqu() { + return xiaoqu; + } + + + /** + * 设置:评分 + */ + + public void setPingfen(String pingfen) { + this.pingfen = pingfen; + } + + /** + * 获取:评分 + */ + public String getPingfen() { + return pingfen; + } + + + /** + * 设置:评价内容 + */ + + public void setPingjianeirong(String pingjianeirong) { + this.pingjianeirong = pingjianeirong; + } + + /** + * 获取:评价内容 + */ + public String getPingjianeirong() { + return pingjianeirong; + } + + + /** + * 设置:评价日期 + */ + + public void setPingjiariqi(Date pingjiariqi) { + this.pingjiariqi = pingjiariqi; + } + + /** + * 获取:评价日期 + */ + public Date getPingjiariqi() { + return pingjiariqi; + } + + + /** + * 设置:房主账号 + */ + + public void setFangzhuzhanghao(String fangzhuzhanghao) { + this.fangzhuzhanghao = fangzhuzhanghao; + } + + /** + * 获取:房主账号 + */ + public String getFangzhuzhanghao() { + return fangzhuzhanghao; + } + + + /** + * 设置:用户名 + */ + + public void setYonghuming(String yonghuming) { + this.yonghuming = yonghuming; + } + + /** + * 获取:用户名 + */ + public String getYonghuming() { + return yonghuming; + } + + + /** + * 设置:联系电话 + */ + + public void setLianxidianhua(String lianxidianhua) { + this.lianxidianhua = lianxidianhua; + } + + /** + * 获取:联系电话 + */ + public String getLianxidianhua() { + return lianxidianhua; + } + + + /** + * 设置:是否审核 + */ + + public void setSfsh(String sfsh) { + this.sfsh = sfsh; + } + + /** + * 获取:是否审核 + */ + public String getSfsh() { + return sfsh; + } + + + /** + * 设置:审核回复 + */ + + public void setShhf(String shhf) { + this.shhf = shhf; + } + + /** + * 获取:审核回复 + */ + public String getShhf() { + return shhf; + } + +} diff --git a/src/main/java/com/entity/model/FangwuxinxiModel.java b/src/main/java/com/entity/model/FangwuxinxiModel.java new file mode 100644 index 0000000..50fff56 --- /dev/null +++ b/src/main/java/com/entity/model/FangwuxinxiModel.java @@ -0,0 +1,356 @@ +package com.entity.model; + +import com.entity.FangwuxinxiEntity; + +import com.baomidou.mybatisplus.annotations.TableName; +import java.util.Date; +import org.springframework.format.annotation.DateTimeFormat; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.io.Serializable; + + +/** + * 房屋信息 + * 接收传参的实体类 + * 取自ModelAndView 的model名称 + * @author + * @email + */ +public class FangwuxinxiModel implements Serializable { + private static final long serialVersionUID = 1L; + + + /** + * 房屋类型 + */ + + private String fangwuleixing; + + /** + * 图片 + */ + + private String tupian; + + /** + * 租赁方式 + */ + + private String zulinfangshi; + + /** + * 朝向楼层 + */ + + private String chaoxianglouceng; + + /** + * 面积 + */ + + private String mianji; + + /** + * 房屋状态 + */ + + private String fangwuzhuangtai; + + /** + * 小区 + */ + + private String xiaoqu; + + /** + * 详细地址 + */ + + private String xiangxidizhi; + + /** + * 月租价格 + */ + + private Integer yuezujiage; + + /** + * 押金 + */ + + private Integer yajin; + + /** + * 房屋设施 + */ + + private String fangwusheshi; + + /** + * 房屋详情 + */ + + private String fangwuxiangqing; + + /** + * 发布日期 + */ + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + private Date faburiqi; + + /** + * 房主账号 + */ + + private String fangzhuzhanghao; + + /** + * 房主姓名 + */ + + private String fangzhuxingming; + + + /** + * 设置:房屋类型 + */ + + public void setFangwuleixing(String fangwuleixing) { + this.fangwuleixing = fangwuleixing; + } + + /** + * 获取:房屋类型 + */ + public String getFangwuleixing() { + return fangwuleixing; + } + + + /** + * 设置:图片 + */ + + public void setTupian(String tupian) { + this.tupian = tupian; + } + + /** + * 获取:图片 + */ + public String getTupian() { + return tupian; + } + + + /** + * 设置:租赁方式 + */ + + public void setZulinfangshi(String zulinfangshi) { + this.zulinfangshi = zulinfangshi; + } + + /** + * 获取:租赁方式 + */ + public String getZulinfangshi() { + return zulinfangshi; + } + + + /** + * 设置:朝向楼层 + */ + + public void setChaoxianglouceng(String chaoxianglouceng) { + this.chaoxianglouceng = chaoxianglouceng; + } + + /** + * 获取:朝向楼层 + */ + public String getChaoxianglouceng() { + return chaoxianglouceng; + } + + + /** + * 设置:面积 + */ + + public void setMianji(String mianji) { + this.mianji = mianji; + } + + /** + * 获取:面积 + */ + public String getMianji() { + return mianji; + } + + + /** + * 设置:房屋状态 + */ + + public void setFangwuzhuangtai(String fangwuzhuangtai) { + this.fangwuzhuangtai = fangwuzhuangtai; + } + + /** + * 获取:房屋状态 + */ + public String getFangwuzhuangtai() { + return fangwuzhuangtai; + } + + + /** + * 设置:小区 + */ + + public void setXiaoqu(String xiaoqu) { + this.xiaoqu = xiaoqu; + } + + /** + * 获取:小区 + */ + public String getXiaoqu() { + return xiaoqu; + } + + + /** + * 设置:详细地址 + */ + + public void setXiangxidizhi(String xiangxidizhi) { + this.xiangxidizhi = xiangxidizhi; + } + + /** + * 获取:详细地址 + */ + public String getXiangxidizhi() { + return xiangxidizhi; + } + + + /** + * 设置:月租价格 + */ + + public void setYuezujiage(Integer yuezujiage) { + this.yuezujiage = yuezujiage; + } + + /** + * 获取:月租价格 + */ + public Integer getYuezujiage() { + return yuezujiage; + } + + + /** + * 设置:押金 + */ + + public void setYajin(Integer yajin) { + this.yajin = yajin; + } + + /** + * 获取:押金 + */ + public Integer getYajin() { + return yajin; + } + + + /** + * 设置:房屋设施 + */ + + public void setFangwusheshi(String fangwusheshi) { + this.fangwusheshi = fangwusheshi; + } + + /** + * 获取:房屋设施 + */ + public String getFangwusheshi() { + return fangwusheshi; + } + + + /** + * 设置:房屋详情 + */ + + public void setFangwuxiangqing(String fangwuxiangqing) { + this.fangwuxiangqing = fangwuxiangqing; + } + + /** + * 获取:房屋详情 + */ + public String getFangwuxiangqing() { + return fangwuxiangqing; + } + + + /** + * 设置:发布日期 + */ + + public void setFaburiqi(Date faburiqi) { + this.faburiqi = faburiqi; + } + + /** + * 获取:发布日期 + */ + public Date getFaburiqi() { + return faburiqi; + } + + + /** + * 设置:房主账号 + */ + + public void setFangzhuzhanghao(String fangzhuzhanghao) { + this.fangzhuzhanghao = fangzhuzhanghao; + } + + /** + * 获取:房主账号 + */ + public String getFangzhuzhanghao() { + return fangzhuzhanghao; + } + + + /** + * 设置:房主姓名 + */ + + public void setFangzhuxingming(String fangzhuxingming) { + this.fangzhuxingming = fangzhuxingming; + } + + /** + * 获取:房主姓名 + */ + public String getFangzhuxingming() { + return fangzhuxingming; + } + +} diff --git a/src/main/java/com/entity/view/FangwubaoxiuView.java b/src/main/java/com/entity/view/FangwubaoxiuView.java new file mode 100644 index 0000000..0f64d8c --- /dev/null +++ b/src/main/java/com/entity/view/FangwubaoxiuView.java @@ -0,0 +1,35 @@ +package com.entity.view; + +import com.entity.FangwubaoxiuEntity; + +import com.baomidou.mybatisplus.annotations.TableName; +import org.apache.commons.beanutils.BeanUtils; +import java.lang.reflect.InvocationTargetException; + +import java.io.Serializable; + + +/** + * 房屋报修 + * 后端返回视图实体辅助类 + * (通常后端关联的表或者自定义的字段需要返回使用) + * @author + * @email + */ +@TableName("fangwubaoxiu") +public class FangwubaoxiuView extends FangwubaoxiuEntity implements Serializable { + private static final long serialVersionUID = 1L; + + public FangwubaoxiuView(){ + } + + public FangwubaoxiuView(FangwubaoxiuEntity fangwubaoxiuEntity){ + try { + BeanUtils.copyProperties(this, fangwubaoxiuEntity); + } catch (IllegalAccessException | InvocationTargetException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + } +} diff --git a/src/main/java/com/entity/view/FangwuleixingView.java b/src/main/java/com/entity/view/FangwuleixingView.java new file mode 100644 index 0000000..55be0cc --- /dev/null +++ b/src/main/java/com/entity/view/FangwuleixingView.java @@ -0,0 +1,35 @@ +package com.entity.view; + +import com.entity.FangwuleixingEntity; + +import com.baomidou.mybatisplus.annotations.TableName; +import org.apache.commons.beanutils.BeanUtils; +import java.lang.reflect.InvocationTargetException; + +import java.io.Serializable; + + +/** + * 房屋类型 + * 后端返回视图实体辅助类 + * (通常后端关联的表或者自定义的字段需要返回使用) + * @author + * @email + */ +@TableName("fangwuleixing") +public class FangwuleixingView extends FangwuleixingEntity implements Serializable { + private static final long serialVersionUID = 1L; + + public FangwuleixingView(){ + } + + public FangwuleixingView(FangwuleixingEntity fangwuleixingEntity){ + try { + BeanUtils.copyProperties(this, fangwuleixingEntity); + } catch (IllegalAccessException | InvocationTargetException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + } +} diff --git a/src/main/java/com/entity/view/FangwupingjiaView.java b/src/main/java/com/entity/view/FangwupingjiaView.java new file mode 100644 index 0000000..8067e39 --- /dev/null +++ b/src/main/java/com/entity/view/FangwupingjiaView.java @@ -0,0 +1,35 @@ +package com.entity.view; + +import com.entity.FangwupingjiaEntity; + +import com.baomidou.mybatisplus.annotations.TableName; +import org.apache.commons.beanutils.BeanUtils; +import java.lang.reflect.InvocationTargetException; + +import java.io.Serializable; + + +/** + * 房屋评价 + * 后端返回视图实体辅助类 + * (通常后端关联的表或者自定义的字段需要返回使用) + * @author + * @email + */ +@TableName("fangwupingjia") +public class FangwupingjiaView extends FangwupingjiaEntity implements Serializable { + private static final long serialVersionUID = 1L; + + public FangwupingjiaView(){ + } + + public FangwupingjiaView(FangwupingjiaEntity fangwupingjiaEntity){ + try { + BeanUtils.copyProperties(this, fangwupingjiaEntity); + } catch (IllegalAccessException | InvocationTargetException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + } +} diff --git a/src/main/java/com/entity/view/FangwuxinxiView.java b/src/main/java/com/entity/view/FangwuxinxiView.java new file mode 100644 index 0000000..b77a8e2 --- /dev/null +++ b/src/main/java/com/entity/view/FangwuxinxiView.java @@ -0,0 +1,35 @@ +package com.entity.view; + +import com.entity.FangwuxinxiEntity; + +import com.baomidou.mybatisplus.annotations.TableName; +import org.apache.commons.beanutils.BeanUtils; +import java.lang.reflect.InvocationTargetException; + +import java.io.Serializable; + + +/** + * 房屋信息 + * 后端返回视图实体辅助类 + * (通常后端关联的表或者自定义的字段需要返回使用) + * @author + * @email + */ +@TableName("fangwuxinxi") +public class FangwuxinxiView extends FangwuxinxiEntity implements Serializable { + private static final long serialVersionUID = 1L; + + public FangwuxinxiView(){ + } + + public FangwuxinxiView(FangwuxinxiEntity fangwuxinxiEntity){ + try { + BeanUtils.copyProperties(this, fangwuxinxiEntity); + } catch (IllegalAccessException | InvocationTargetException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + } +} diff --git a/src/main/java/com/entity/vo/FangwubaoxiuVO.java b/src/main/java/com/entity/vo/FangwubaoxiuVO.java new file mode 100644 index 0000000..54cc07e --- /dev/null +++ b/src/main/java/com/entity/vo/FangwubaoxiuVO.java @@ -0,0 +1,334 @@ +package com.entity.vo; + +import com.entity.FangwubaoxiuEntity; + +import com.baomidou.mybatisplus.annotations.TableName; +import java.util.Date; +import org.springframework.format.annotation.DateTimeFormat; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.io.Serializable; + + +/** + * 房屋报修 + * 手机端接口返回实体辅助类 + * (主要作用去除一些不必要的字段) + * @author + * @email + */ +public class FangwubaoxiuVO implements Serializable { + private static final long serialVersionUID = 1L; + + + /** + * 房屋名称 + */ + + private String fangwumingcheng; + + /** + * 房屋类型 + */ + + private String fangwuleixing; + + /** + * 小区 + */ + + private String xiaoqu; + + /** + * 报修名称 + */ + + private String baoxiumingcheng; + + /** + * 类型 + */ + + private String leixing; + + /** + * 报修内容 + */ + + private String baoxiuneirong; + + /** + * 图片 + */ + + private String tupian; + + /** + * 报修日期 + */ + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + private Date baoxiuriqi; + + /** + * 房主账号 + */ + + private String fangzhuzhanghao; + + /** + * 房主姓名 + */ + + private String fangzhuxingming; + + /** + * 用户名 + */ + + private String yonghuming; + + /** + * 联系电话 + */ + + private String lianxidianhua; + + /** + * 是否审核 + */ + + private String sfsh; + + /** + * 审核回复 + */ + + private String shhf; + + + /** + * 设置:房屋名称 + */ + + public void setFangwumingcheng(String fangwumingcheng) { + this.fangwumingcheng = fangwumingcheng; + } + + /** + * 获取:房屋名称 + */ + public String getFangwumingcheng() { + return fangwumingcheng; + } + + + /** + * 设置:房屋类型 + */ + + public void setFangwuleixing(String fangwuleixing) { + this.fangwuleixing = fangwuleixing; + } + + /** + * 获取:房屋类型 + */ + public String getFangwuleixing() { + return fangwuleixing; + } + + + /** + * 设置:小区 + */ + + public void setXiaoqu(String xiaoqu) { + this.xiaoqu = xiaoqu; + } + + /** + * 获取:小区 + */ + public String getXiaoqu() { + return xiaoqu; + } + + + /** + * 设置:报修名称 + */ + + public void setBaoxiumingcheng(String baoxiumingcheng) { + this.baoxiumingcheng = baoxiumingcheng; + } + + /** + * 获取:报修名称 + */ + public String getBaoxiumingcheng() { + return baoxiumingcheng; + } + + + /** + * 设置:类型 + */ + + public void setLeixing(String leixing) { + this.leixing = leixing; + } + + /** + * 获取:类型 + */ + public String getLeixing() { + return leixing; + } + + + /** + * 设置:报修内容 + */ + + public void setBaoxiuneirong(String baoxiuneirong) { + this.baoxiuneirong = baoxiuneirong; + } + + /** + * 获取:报修内容 + */ + public String getBaoxiuneirong() { + return baoxiuneirong; + } + + + /** + * 设置:图片 + */ + + public void setTupian(String tupian) { + this.tupian = tupian; + } + + /** + * 获取:图片 + */ + public String getTupian() { + return tupian; + } + + + /** + * 设置:报修日期 + */ + + public void setBaoxiuriqi(Date baoxiuriqi) { + this.baoxiuriqi = baoxiuriqi; + } + + /** + * 获取:报修日期 + */ + public Date getBaoxiuriqi() { + return baoxiuriqi; + } + + + /** + * 设置:房主账号 + */ + + public void setFangzhuzhanghao(String fangzhuzhanghao) { + this.fangzhuzhanghao = fangzhuzhanghao; + } + + /** + * 获取:房主账号 + */ + public String getFangzhuzhanghao() { + return fangzhuzhanghao; + } + + + /** + * 设置:房主姓名 + */ + + public void setFangzhuxingming(String fangzhuxingming) { + this.fangzhuxingming = fangzhuxingming; + } + + /** + * 获取:房主姓名 + */ + public String getFangzhuxingming() { + return fangzhuxingming; + } + + + /** + * 设置:用户名 + */ + + public void setYonghuming(String yonghuming) { + this.yonghuming = yonghuming; + } + + /** + * 获取:用户名 + */ + public String getYonghuming() { + return yonghuming; + } + + + /** + * 设置:联系电话 + */ + + public void setLianxidianhua(String lianxidianhua) { + this.lianxidianhua = lianxidianhua; + } + + /** + * 获取:联系电话 + */ + public String getLianxidianhua() { + return lianxidianhua; + } + + + /** + * 设置:是否审核 + */ + + public void setSfsh(String sfsh) { + this.sfsh = sfsh; + } + + /** + * 获取:是否审核 + */ + public String getSfsh() { + return sfsh; + } + + + /** + * 设置:审核回复 + */ + + public void setShhf(String shhf) { + this.shhf = shhf; + } + + /** + * 获取:审核回复 + */ + public String getShhf() { + return shhf; + } + +} diff --git a/src/main/java/com/entity/vo/FangwuleixingVO.java b/src/main/java/com/entity/vo/FangwuleixingVO.java new file mode 100644 index 0000000..aedf80d --- /dev/null +++ b/src/main/java/com/entity/vo/FangwuleixingVO.java @@ -0,0 +1,24 @@ +package com.entity.vo; + +import com.entity.FangwuleixingEntity; + +import com.baomidou.mybatisplus.annotations.TableName; +import java.util.Date; +import org.springframework.format.annotation.DateTimeFormat; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.io.Serializable; + + +/** + * 房屋类型 + * 手机端接口返回实体辅助类 + * (主要作用去除一些不必要的字段) + * @author + * @email + */ +public class FangwuleixingVO implements Serializable { + private static final long serialVersionUID = 1L; + + +} diff --git a/src/main/java/com/entity/vo/FangwupingjiaVO.java b/src/main/java/com/entity/vo/FangwupingjiaVO.java new file mode 100644 index 0000000..21411d3 --- /dev/null +++ b/src/main/java/com/entity/vo/FangwupingjiaVO.java @@ -0,0 +1,268 @@ +package com.entity.vo; + +import com.entity.FangwupingjiaEntity; + +import com.baomidou.mybatisplus.annotations.TableName; +import java.util.Date; +import org.springframework.format.annotation.DateTimeFormat; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.io.Serializable; + + +/** + * 房屋评价 + * 手机端接口返回实体辅助类 + * (主要作用去除一些不必要的字段) + * @author + * @email + */ +public class FangwupingjiaVO implements Serializable { + private static final long serialVersionUID = 1L; + + + /** + * 房屋名称 + */ + + private String fangwumingcheng; + + /** + * 房屋类型 + */ + + private String fangwuleixing; + + /** + * 小区 + */ + + private String xiaoqu; + + /** + * 评分 + */ + + private String pingfen; + + /** + * 评价内容 + */ + + private String pingjianeirong; + + /** + * 评价日期 + */ + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + private Date pingjiariqi; + + /** + * 房主账号 + */ + + private String fangzhuzhanghao; + + /** + * 用户名 + */ + + private String yonghuming; + + /** + * 联系电话 + */ + + private String lianxidianhua; + + /** + * 是否审核 + */ + + private String sfsh; + + /** + * 审核回复 + */ + + private String shhf; + + + /** + * 设置:房屋名称 + */ + + public void setFangwumingcheng(String fangwumingcheng) { + this.fangwumingcheng = fangwumingcheng; + } + + /** + * 获取:房屋名称 + */ + public String getFangwumingcheng() { + return fangwumingcheng; + } + + + /** + * 设置:房屋类型 + */ + + public void setFangwuleixing(String fangwuleixing) { + this.fangwuleixing = fangwuleixing; + } + + /** + * 获取:房屋类型 + */ + public String getFangwuleixing() { + return fangwuleixing; + } + + + /** + * 设置:小区 + */ + + public void setXiaoqu(String xiaoqu) { + this.xiaoqu = xiaoqu; + } + + /** + * 获取:小区 + */ + public String getXiaoqu() { + return xiaoqu; + } + + + /** + * 设置:评分 + */ + + public void setPingfen(String pingfen) { + this.pingfen = pingfen; + } + + /** + * 获取:评分 + */ + public String getPingfen() { + return pingfen; + } + + + /** + * 设置:评价内容 + */ + + public void setPingjianeirong(String pingjianeirong) { + this.pingjianeirong = pingjianeirong; + } + + /** + * 获取:评价内容 + */ + public String getPingjianeirong() { + return pingjianeirong; + } + + + /** + * 设置:评价日期 + */ + + public void setPingjiariqi(Date pingjiariqi) { + this.pingjiariqi = pingjiariqi; + } + + /** + * 获取:评价日期 + */ + public Date getPingjiariqi() { + return pingjiariqi; + } + + + /** + * 设置:房主账号 + */ + + public void setFangzhuzhanghao(String fangzhuzhanghao) { + this.fangzhuzhanghao = fangzhuzhanghao; + } + + /** + * 获取:房主账号 + */ + public String getFangzhuzhanghao() { + return fangzhuzhanghao; + } + + + /** + * 设置:用户名 + */ + + public void setYonghuming(String yonghuming) { + this.yonghuming = yonghuming; + } + + /** + * 获取:用户名 + */ + public String getYonghuming() { + return yonghuming; + } + + + /** + * 设置:联系电话 + */ + + public void setLianxidianhua(String lianxidianhua) { + this.lianxidianhua = lianxidianhua; + } + + /** + * 获取:联系电话 + */ + public String getLianxidianhua() { + return lianxidianhua; + } + + + /** + * 设置:是否审核 + */ + + public void setSfsh(String sfsh) { + this.sfsh = sfsh; + } + + /** + * 获取:是否审核 + */ + public String getSfsh() { + return sfsh; + } + + + /** + * 设置:审核回复 + */ + + public void setShhf(String shhf) { + this.shhf = shhf; + } + + /** + * 获取:审核回复 + */ + public String getShhf() { + return shhf; + } + +} diff --git a/src/main/java/com/entity/vo/FangwuxinxiVO.java b/src/main/java/com/entity/vo/FangwuxinxiVO.java new file mode 100644 index 0000000..8b817fb --- /dev/null +++ b/src/main/java/com/entity/vo/FangwuxinxiVO.java @@ -0,0 +1,356 @@ +package com.entity.vo; + +import com.entity.FangwuxinxiEntity; + +import com.baomidou.mybatisplus.annotations.TableName; +import java.util.Date; +import org.springframework.format.annotation.DateTimeFormat; + +import com.fasterxml.jackson.annotation.JsonFormat; +import java.io.Serializable; + + +/** + * 房屋信息 + * 手机端接口返回实体辅助类 + * (主要作用去除一些不必要的字段) + * @author + * @email + */ +public class FangwuxinxiVO implements Serializable { + private static final long serialVersionUID = 1L; + + + /** + * 房屋类型 + */ + + private String fangwuleixing; + + /** + * 图片 + */ + + private String tupian; + + /** + * 租赁方式 + */ + + private String zulinfangshi; + + /** + * 朝向楼层 + */ + + private String chaoxianglouceng; + + /** + * 面积 + */ + + private String mianji; + + /** + * 房屋状态 + */ + + private String fangwuzhuangtai; + + /** + * 小区 + */ + + private String xiaoqu; + + /** + * 详细地址 + */ + + private String xiangxidizhi; + + /** + * 月租价格 + */ + + private Integer yuezujiage; + + /** + * 押金 + */ + + private Integer yajin; + + /** + * 房屋设施 + */ + + private String fangwusheshi; + + /** + * 房屋详情 + */ + + private String fangwuxiangqing; + + /** + * 发布日期 + */ + + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + private Date faburiqi; + + /** + * 房主账号 + */ + + private String fangzhuzhanghao; + + /** + * 房主姓名 + */ + + private String fangzhuxingming; + + + /** + * 设置:房屋类型 + */ + + public void setFangwuleixing(String fangwuleixing) { + this.fangwuleixing = fangwuleixing; + } + + /** + * 获取:房屋类型 + */ + public String getFangwuleixing() { + return fangwuleixing; + } + + + /** + * 设置:图片 + */ + + public void setTupian(String tupian) { + this.tupian = tupian; + } + + /** + * 获取:图片 + */ + public String getTupian() { + return tupian; + } + + + /** + * 设置:租赁方式 + */ + + public void setZulinfangshi(String zulinfangshi) { + this.zulinfangshi = zulinfangshi; + } + + /** + * 获取:租赁方式 + */ + public String getZulinfangshi() { + return zulinfangshi; + } + + + /** + * 设置:朝向楼层 + */ + + public void setChaoxianglouceng(String chaoxianglouceng) { + this.chaoxianglouceng = chaoxianglouceng; + } + + /** + * 获取:朝向楼层 + */ + public String getChaoxianglouceng() { + return chaoxianglouceng; + } + + + /** + * 设置:面积 + */ + + public void setMianji(String mianji) { + this.mianji = mianji; + } + + /** + * 获取:面积 + */ + public String getMianji() { + return mianji; + } + + + /** + * 设置:房屋状态 + */ + + public void setFangwuzhuangtai(String fangwuzhuangtai) { + this.fangwuzhuangtai = fangwuzhuangtai; + } + + /** + * 获取:房屋状态 + */ + public String getFangwuzhuangtai() { + return fangwuzhuangtai; + } + + + /** + * 设置:小区 + */ + + public void setXiaoqu(String xiaoqu) { + this.xiaoqu = xiaoqu; + } + + /** + * 获取:小区 + */ + public String getXiaoqu() { + return xiaoqu; + } + + + /** + * 设置:详细地址 + */ + + public void setXiangxidizhi(String xiangxidizhi) { + this.xiangxidizhi = xiangxidizhi; + } + + /** + * 获取:详细地址 + */ + public String getXiangxidizhi() { + return xiangxidizhi; + } + + + /** + * 设置:月租价格 + */ + + public void setYuezujiage(Integer yuezujiage) { + this.yuezujiage = yuezujiage; + } + + /** + * 获取:月租价格 + */ + public Integer getYuezujiage() { + return yuezujiage; + } + + + /** + * 设置:押金 + */ + + public void setYajin(Integer yajin) { + this.yajin = yajin; + } + + /** + * 获取:押金 + */ + public Integer getYajin() { + return yajin; + } + + + /** + * 设置:房屋设施 + */ + + public void setFangwusheshi(String fangwusheshi) { + this.fangwusheshi = fangwusheshi; + } + + /** + * 获取:房屋设施 + */ + public String getFangwusheshi() { + return fangwusheshi; + } + + + /** + * 设置:房屋详情 + */ + + public void setFangwuxiangqing(String fangwuxiangqing) { + this.fangwuxiangqing = fangwuxiangqing; + } + + /** + * 获取:房屋详情 + */ + public String getFangwuxiangqing() { + return fangwuxiangqing; + } + + + /** + * 设置:发布日期 + */ + + public void setFaburiqi(Date faburiqi) { + this.faburiqi = faburiqi; + } + + /** + * 获取:发布日期 + */ + public Date getFaburiqi() { + return faburiqi; + } + + + /** + * 设置:房主账号 + */ + + public void setFangzhuzhanghao(String fangzhuzhanghao) { + this.fangzhuzhanghao = fangzhuzhanghao; + } + + /** + * 获取:房主账号 + */ + public String getFangzhuzhanghao() { + return fangzhuzhanghao; + } + + + /** + * 设置:房主姓名 + */ + + public void setFangzhuxingming(String fangzhuxingming) { + this.fangzhuxingming = fangzhuxingming; + } + + /** + * 获取:房主姓名 + */ + public String getFangzhuxingming() { + return fangzhuxingming; + } + +} diff --git a/src/main/java/com/service/FangwubaoxiuService.java b/src/main/java/com/service/FangwubaoxiuService.java new file mode 100644 index 0000000..9e409da --- /dev/null +++ b/src/main/java/com/service/FangwubaoxiuService.java @@ -0,0 +1,36 @@ +package com.service; + +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.baomidou.mybatisplus.service.IService; +import com.utils.PageUtils; +import com.entity.FangwubaoxiuEntity; +import java.util.List; +import java.util.Map; +import com.entity.vo.FangwubaoxiuVO; +import org.apache.ibatis.annotations.Param; +import com.entity.view.FangwubaoxiuView; + + +/** + * 房屋报修 + * + * @author + * @email + * @date 2021-03-04 18:46:21 + */ +public interface FangwubaoxiuService extends IService { + + PageUtils queryPage(Map params); + + List selectListVO(Wrapper wrapper); + + FangwubaoxiuVO selectVO(@Param("ew") Wrapper wrapper); + + List selectListView(Wrapper wrapper); + + FangwubaoxiuView selectView(@Param("ew") Wrapper wrapper); + + PageUtils queryPage(Map params,Wrapper wrapper); + +} + diff --git a/src/main/java/com/service/FangwuleixingService.java b/src/main/java/com/service/FangwuleixingService.java new file mode 100644 index 0000000..8ff58ca --- /dev/null +++ b/src/main/java/com/service/FangwuleixingService.java @@ -0,0 +1,36 @@ +package com.service; + +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.baomidou.mybatisplus.service.IService; +import com.utils.PageUtils; +import com.entity.FangwuleixingEntity; +import java.util.List; +import java.util.Map; +import com.entity.vo.FangwuleixingVO; +import org.apache.ibatis.annotations.Param; +import com.entity.view.FangwuleixingView; + + +/** + * 房屋类型 + * + * @author + * @email + * @date 2021-03-04 18:46:21 + */ +public interface FangwuleixingService extends IService { + + PageUtils queryPage(Map params); + + List selectListVO(Wrapper wrapper); + + FangwuleixingVO selectVO(@Param("ew") Wrapper wrapper); + + List selectListView(Wrapper wrapper); + + FangwuleixingView selectView(@Param("ew") Wrapper wrapper); + + PageUtils queryPage(Map params,Wrapper wrapper); + +} + diff --git a/src/main/java/com/service/FangwupingjiaService.java b/src/main/java/com/service/FangwupingjiaService.java new file mode 100644 index 0000000..0b72e55 --- /dev/null +++ b/src/main/java/com/service/FangwupingjiaService.java @@ -0,0 +1,36 @@ +package com.service; + +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.baomidou.mybatisplus.service.IService; +import com.utils.PageUtils; +import com.entity.FangwupingjiaEntity; +import java.util.List; +import java.util.Map; +import com.entity.vo.FangwupingjiaVO; +import org.apache.ibatis.annotations.Param; +import com.entity.view.FangwupingjiaView; + + +/** + * 房屋评价 + * + * @author + * @email + * @date 2021-03-04 18:46:21 + */ +public interface FangwupingjiaService extends IService { + + PageUtils queryPage(Map params); + + List selectListVO(Wrapper wrapper); + + FangwupingjiaVO selectVO(@Param("ew") Wrapper wrapper); + + List selectListView(Wrapper wrapper); + + FangwupingjiaView selectView(@Param("ew") Wrapper wrapper); + + PageUtils queryPage(Map params,Wrapper wrapper); + +} + diff --git a/src/main/java/com/service/FangwuxinxiService.java b/src/main/java/com/service/FangwuxinxiService.java new file mode 100644 index 0000000..47ac6d4 --- /dev/null +++ b/src/main/java/com/service/FangwuxinxiService.java @@ -0,0 +1,36 @@ +package com.service; + +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.baomidou.mybatisplus.service.IService; +import com.utils.PageUtils; +import com.entity.FangwuxinxiEntity; +import java.util.List; +import java.util.Map; +import com.entity.vo.FangwuxinxiVO; +import org.apache.ibatis.annotations.Param; +import com.entity.view.FangwuxinxiView; + + +/** + * 房屋信息 + * + * @author + * @email + * @date 2021-03-04 18:46:21 + */ +public interface FangwuxinxiService extends IService { + + PageUtils queryPage(Map params); + + List selectListVO(Wrapper wrapper); + + FangwuxinxiVO selectVO(@Param("ew") Wrapper wrapper); + + List selectListView(Wrapper wrapper); + + FangwuxinxiView selectView(@Param("ew") Wrapper wrapper); + + PageUtils queryPage(Map params,Wrapper wrapper); + +} + diff --git a/src/main/java/com/service/impl/FangwubaoxiuServiceImpl.java b/src/main/java/com/service/impl/FangwubaoxiuServiceImpl.java new file mode 100644 index 0000000..44c91d1 --- /dev/null +++ b/src/main/java/com/service/impl/FangwubaoxiuServiceImpl.java @@ -0,0 +1,62 @@ +package com.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import java.util.List; + +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.baomidou.mybatisplus.plugins.Page; +import com.baomidou.mybatisplus.service.impl.ServiceImpl; +import com.utils.PageUtils; +import com.utils.Query; + + +import com.dao.FangwubaoxiuDao; +import com.entity.FangwubaoxiuEntity; +import com.service.FangwubaoxiuService; +import com.entity.vo.FangwubaoxiuVO; +import com.entity.view.FangwubaoxiuView; + +@Service("fangwubaoxiuService") +public class FangwubaoxiuServiceImpl extends ServiceImpl implements FangwubaoxiuService { + + + @Override + public PageUtils queryPage(Map params) { + Page page = this.selectPage( + new Query(params).getPage(), + new EntityWrapper() + ); + return new PageUtils(page); + } + + @Override + public PageUtils queryPage(Map params, Wrapper wrapper) { + Page page =new Query(params).getPage(); + page.setRecords(baseMapper.selectListView(page,wrapper)); + PageUtils pageUtil = new PageUtils(page); + return pageUtil; + } + + @Override + public List selectListVO(Wrapper wrapper) { + return baseMapper.selectListVO(wrapper); + } + + @Override + public FangwubaoxiuVO selectVO(Wrapper wrapper) { + return baseMapper.selectVO(wrapper); + } + + @Override + public List selectListView(Wrapper wrapper) { + return baseMapper.selectListView(wrapper); + } + + @Override + public FangwubaoxiuView selectView(Wrapper wrapper) { + return baseMapper.selectView(wrapper); + } + +} diff --git a/src/main/java/com/service/impl/FangwuleixingServiceImpl.java b/src/main/java/com/service/impl/FangwuleixingServiceImpl.java new file mode 100644 index 0000000..765cf88 --- /dev/null +++ b/src/main/java/com/service/impl/FangwuleixingServiceImpl.java @@ -0,0 +1,62 @@ +package com.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import java.util.List; + +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.baomidou.mybatisplus.plugins.Page; +import com.baomidou.mybatisplus.service.impl.ServiceImpl; +import com.utils.PageUtils; +import com.utils.Query; + + +import com.dao.FangwuleixingDao; +import com.entity.FangwuleixingEntity; +import com.service.FangwuleixingService; +import com.entity.vo.FangwuleixingVO; +import com.entity.view.FangwuleixingView; + +@Service("fangwuleixingService") +public class FangwuleixingServiceImpl extends ServiceImpl implements FangwuleixingService { + + + @Override + public PageUtils queryPage(Map params) { + Page page = this.selectPage( + new Query(params).getPage(), + new EntityWrapper() + ); + return new PageUtils(page); + } + + @Override + public PageUtils queryPage(Map params, Wrapper wrapper) { + Page page =new Query(params).getPage(); + page.setRecords(baseMapper.selectListView(page,wrapper)); + PageUtils pageUtil = new PageUtils(page); + return pageUtil; + } + + @Override + public List selectListVO(Wrapper wrapper) { + return baseMapper.selectListVO(wrapper); + } + + @Override + public FangwuleixingVO selectVO(Wrapper wrapper) { + return baseMapper.selectVO(wrapper); + } + + @Override + public List selectListView(Wrapper wrapper) { + return baseMapper.selectListView(wrapper); + } + + @Override + public FangwuleixingView selectView(Wrapper wrapper) { + return baseMapper.selectView(wrapper); + } + +} diff --git a/src/main/java/com/service/impl/FangwupingjiaServiceImpl.java b/src/main/java/com/service/impl/FangwupingjiaServiceImpl.java new file mode 100644 index 0000000..44bb65e --- /dev/null +++ b/src/main/java/com/service/impl/FangwupingjiaServiceImpl.java @@ -0,0 +1,62 @@ +package com.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import java.util.List; + +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.baomidou.mybatisplus.plugins.Page; +import com.baomidou.mybatisplus.service.impl.ServiceImpl; +import com.utils.PageUtils; +import com.utils.Query; + + +import com.dao.FangwupingjiaDao; +import com.entity.FangwupingjiaEntity; +import com.service.FangwupingjiaService; +import com.entity.vo.FangwupingjiaVO; +import com.entity.view.FangwupingjiaView; + +@Service("fangwupingjiaService") +public class FangwupingjiaServiceImpl extends ServiceImpl implements FangwupingjiaService { + + + @Override + public PageUtils queryPage(Map params) { + Page page = this.selectPage( + new Query(params).getPage(), + new EntityWrapper() + ); + return new PageUtils(page); + } + + @Override + public PageUtils queryPage(Map params, Wrapper wrapper) { + Page page =new Query(params).getPage(); + page.setRecords(baseMapper.selectListView(page,wrapper)); + PageUtils pageUtil = new PageUtils(page); + return pageUtil; + } + + @Override + public List selectListVO(Wrapper wrapper) { + return baseMapper.selectListVO(wrapper); + } + + @Override + public FangwupingjiaVO selectVO(Wrapper wrapper) { + return baseMapper.selectVO(wrapper); + } + + @Override + public List selectListView(Wrapper wrapper) { + return baseMapper.selectListView(wrapper); + } + + @Override + public FangwupingjiaView selectView(Wrapper wrapper) { + return baseMapper.selectView(wrapper); + } + +} diff --git a/src/main/java/com/service/impl/FangwuxinxiServiceImpl.java b/src/main/java/com/service/impl/FangwuxinxiServiceImpl.java new file mode 100644 index 0000000..2c81ea9 --- /dev/null +++ b/src/main/java/com/service/impl/FangwuxinxiServiceImpl.java @@ -0,0 +1,62 @@ +package com.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import java.util.List; + +import com.baomidou.mybatisplus.mapper.Wrapper; +import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.baomidou.mybatisplus.plugins.Page; +import com.baomidou.mybatisplus.service.impl.ServiceImpl; +import com.utils.PageUtils; +import com.utils.Query; + + +import com.dao.FangwuxinxiDao; +import com.entity.FangwuxinxiEntity; +import com.service.FangwuxinxiService; +import com.entity.vo.FangwuxinxiVO; +import com.entity.view.FangwuxinxiView; + +@Service("fangwuxinxiService") +public class FangwuxinxiServiceImpl extends ServiceImpl implements FangwuxinxiService { + + + @Override + public PageUtils queryPage(Map params) { + Page page = this.selectPage( + new Query(params).getPage(), + new EntityWrapper() + ); + return new PageUtils(page); + } + + @Override + public PageUtils queryPage(Map params, Wrapper wrapper) { + Page page =new Query(params).getPage(); + page.setRecords(baseMapper.selectListView(page,wrapper)); + PageUtils pageUtil = new PageUtils(page); + return pageUtil; + } + + @Override + public List selectListVO(Wrapper wrapper) { + return baseMapper.selectListVO(wrapper); + } + + @Override + public FangwuxinxiVO selectVO(Wrapper wrapper) { + return baseMapper.selectVO(wrapper); + } + + @Override + public List selectListView(Wrapper wrapper) { + return baseMapper.selectListView(wrapper); + } + + @Override + public FangwuxinxiView selectView(Wrapper wrapper) { + return baseMapper.selectView(wrapper); + } + +} diff --git a/src/main/resources/admin/admin/src/views/modules/fangwubaoxiu/add-or-update.vue b/src/main/resources/admin/admin/src/views/modules/fangwubaoxiu/add-or-update.vue new file mode 100644 index 0000000..c38c961 --- /dev/null +++ b/src/main/resources/admin/admin/src/views/modules/fangwubaoxiu/add-or-update.vue @@ -0,0 +1,674 @@ + + + diff --git a/src/main/resources/admin/admin/src/views/modules/fangwubaoxiu/list.vue b/src/main/resources/admin/admin/src/views/modules/fangwubaoxiu/list.vue new file mode 100644 index 0000000..1c56b57 --- /dev/null +++ b/src/main/resources/admin/admin/src/views/modules/fangwubaoxiu/list.vue @@ -0,0 +1,748 @@ + + + diff --git a/src/main/resources/admin/admin/src/views/modules/fangwuleixing/add-or-update.vue b/src/main/resources/admin/admin/src/views/modules/fangwuleixing/add-or-update.vue new file mode 100644 index 0000000..85780d3 --- /dev/null +++ b/src/main/resources/admin/admin/src/views/modules/fangwuleixing/add-or-update.vue @@ -0,0 +1,380 @@ + + + diff --git a/src/main/resources/admin/admin/src/views/modules/fangwuleixing/list.vue b/src/main/resources/admin/admin/src/views/modules/fangwuleixing/list.vue new file mode 100644 index 0000000..dd6e823 --- /dev/null +++ b/src/main/resources/admin/admin/src/views/modules/fangwuleixing/list.vue @@ -0,0 +1,513 @@ + + + diff --git a/src/main/resources/admin/admin/src/views/modules/fangwupingjia/add-or-update.vue b/src/main/resources/admin/admin/src/views/modules/fangwupingjia/add-or-update.vue new file mode 100644 index 0000000..f83bf65 --- /dev/null +++ b/src/main/resources/admin/admin/src/views/modules/fangwupingjia/add-or-update.vue @@ -0,0 +1,605 @@ + + + diff --git a/src/main/resources/admin/admin/src/views/modules/fangwupingjia/list.vue b/src/main/resources/admin/admin/src/views/modules/fangwupingjia/list.vue new file mode 100644 index 0000000..6b0863d --- /dev/null +++ b/src/main/resources/admin/admin/src/views/modules/fangwupingjia/list.vue @@ -0,0 +1,784 @@ + + + diff --git a/src/main/resources/admin/admin/src/views/modules/fangwuxinxi/add-or-update.vue b/src/main/resources/admin/admin/src/views/modules/fangwuxinxi/add-or-update.vue new file mode 100644 index 0000000..2c31055 --- /dev/null +++ b/src/main/resources/admin/admin/src/views/modules/fangwuxinxi/add-or-update.vue @@ -0,0 +1,799 @@ + + + diff --git a/src/main/resources/admin/admin/src/views/modules/fangwuxinxi/list.vue b/src/main/resources/admin/admin/src/views/modules/fangwuxinxi/list.vue new file mode 100644 index 0000000..85c76cf --- /dev/null +++ b/src/main/resources/admin/admin/src/views/modules/fangwuxinxi/list.vue @@ -0,0 +1,668 @@ + + + diff --git a/src/main/resources/mapper/FangwubaoxiuDao.xml b/src/main/resources/mapper/FangwubaoxiuDao.xml new file mode 100644 index 0000000..fbb2b4e --- /dev/null +++ b/src/main/resources/mapper/FangwubaoxiuDao.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper/FangwuleixingDao.xml b/src/main/resources/mapper/FangwuleixingDao.xml new file mode 100644 index 0000000..44d49e7 --- /dev/null +++ b/src/main/resources/mapper/FangwuleixingDao.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper/FangwupingjiaDao.xml b/src/main/resources/mapper/FangwupingjiaDao.xml new file mode 100644 index 0000000..5361301 --- /dev/null +++ b/src/main/resources/mapper/FangwupingjiaDao.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper/FangwuxinxiDao.xml b/src/main/resources/mapper/FangwuxinxiDao.xml new file mode 100644 index 0000000..bd8f43a --- /dev/null +++ b/src/main/resources/mapper/FangwuxinxiDao.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file