Pārlūkot izejas kodu

房地产 3个接口

wangzhe 2 gadi atpakaļ
vecāks
revīzija
9efbfaebae
24 mainītis faili ar 2623 papildinājumiem un 0 dzēšanām
  1. 134 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_commercial/controller/TGuijiRealEstateHousingCommercialController.java
  2. 201 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_commercial/domain/TGuijiRealEstateHousingCommercial.java
  3. 62 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_commercial/mapper/TGuijiRealEstateHousingCommercialMapper.java
  4. 62 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_commercial/service/ITGuijiRealEstateHousingCommercialService.java
  5. 97 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_commercial/service/impl/TGuijiRealEstateHousingCommercialServiceImpl.java
  6. 134 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_initial/controller/TGuijiRealEstateHousingInitialController.java
  7. 120 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_initial/domain/TGuijiRealEstateHousingInitial.java
  8. 62 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_initial/mapper/TGuijiRealEstateHousingInitialMapper.java
  9. 62 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_initial/service/ITGuijiRealEstateHousingInitialService.java
  10. 97 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_initial/service/impl/TGuijiRealEstateHousingInitialServiceImpl.java
  11. 134 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_stock/controller/TGuijiRealEstateHousingStockController.java
  12. 210 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_stock/domain/TGuijiRealEstateHousingStock.java
  13. 62 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_stock/mapper/TGuijiRealEstateHousingStockMapper.java
  14. 62 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_stock/service/ITGuijiRealEstateHousingStockService.java
  15. 97 0
      mybusiness/src/main/java/com/sooka/system/real_estate/housing_stock/service/impl/TGuijiRealEstateHousingStockServiceImpl.java
  16. 66 0
      mybusiness/src/main/resources/mapper/system/TGuijiRealEstateHousingCommercialMapper.xml
  17. 57 0
      mybusiness/src/main/resources/mapper/system/TGuijiRealEstateHousingInitialMapper.xml
  18. 67 0
      mybusiness/src/main/resources/mapper/system/TGuijiRealEstateHousingStockMapper.xml
  19. 85 0
      mybusiness/src/main/resources/templates/system/real_estate/housing_commercial/detail.html
  20. 226 0
      mybusiness/src/main/resources/templates/system/real_estate/housing_commercial/housing_commercial.html
  21. 49 0
      mybusiness/src/main/resources/templates/system/real_estate/housing_initial/detail.html
  22. 154 0
      mybusiness/src/main/resources/templates/system/real_estate/housing_initial/housing_initial.html
  23. 89 0
      mybusiness/src/main/resources/templates/system/real_estate/housing_stock/detail.html
  24. 234 0
      mybusiness/src/main/resources/templates/system/real_estate/housing_stock/housing_stock.html

+ 134 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_commercial/controller/TGuijiRealEstateHousingCommercialController.java

@@ -0,0 +1,134 @@
+package com.sooka.system.real_estate.housing_commercial.controller;
+
+import com.sooka.common.annotation.Log;
+import com.sooka.common.core.controller.BaseController;
+import com.sooka.common.core.domain.AjaxResult;
+import com.sooka.common.core.page.TableDataInfo;
+import com.sooka.common.enums.BusinessType;
+import com.sooka.common.utils.poi.ExcelUtil;
+import com.sooka.system.real_estate.housing_commercial.domain.TGuijiRealEstateHousingCommercial;
+import com.sooka.system.real_estate.housing_commercial.service.ITGuijiRealEstateHousingCommercialService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * 市房地产-商品房信息Controller
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+@Controller
+@RequestMapping("/system/real_estate/real_estate_housing_commercial")
+public class TGuijiRealEstateHousingCommercialController extends BaseController
+{
+    private String prefix = "system/real_estate/housing_commercial";
+
+    @Autowired
+    private ITGuijiRealEstateHousingCommercialService service;
+
+    @RequiresPermissions("system:housing_commercial:view")
+    @GetMapping()
+    public String housing_commercial()
+    {
+        return prefix + "/housing_commercial";
+    }
+
+    /**
+     * 查询市房地产-商品房信息列表
+     */
+    @RequiresPermissions("system:housing_commercial:list")
+    @PostMapping("/list")
+    @ResponseBody
+    public TableDataInfo list(TGuijiRealEstateHousingCommercial param)
+    {
+        startPage();
+        List<TGuijiRealEstateHousingCommercial> list = service.selectList(param);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出市房地产-商品房信息列表
+     */
+    @RequiresPermissions("system:housing_commercial:export")
+    @Log(title = "市房地产-商品房信息", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    @ResponseBody
+    public AjaxResult export(TGuijiRealEstateHousingCommercial param)
+    {
+        List<TGuijiRealEstateHousingCommercial> list = service.selectList(param);
+        ExcelUtil<TGuijiRealEstateHousingCommercial> util = new ExcelUtil<TGuijiRealEstateHousingCommercial>(TGuijiRealEstateHousingCommercial.class);
+        return util.exportExcel(list, "市房地产-商品房信息");
+    }
+
+    /**
+     * 新增市房地产-商品房信息
+     */
+    @GetMapping("/add")
+    public String add()
+    {
+        return prefix + "/add";
+    }
+
+    /**
+     * 新增保存市房地产-商品房信息
+     */
+    @RequiresPermissions("system:housing_commercial:add")
+    @Log(title = "市房地产-商品房信息", businessType = BusinessType.INSERT)
+    @PostMapping("/add")
+    @ResponseBody
+    public AjaxResult addSave(TGuijiRealEstateHousingCommercial param)
+    {
+        return toAjax(service.insert(param));
+    }
+
+    /**
+     * 修改市房地产-商品房信息
+     */
+    @GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiRealEstateHousingCommercial param = service.selectById(id);
+        mmap.put("param", param);
+        return prefix + "/edit";
+    }
+
+    /**
+     * 修改保存市房地产-商品房信息
+     */
+    @RequiresPermissions("system:housing_commercial:edit")
+    @Log(title = "市房地产-商品房信息", businessType = BusinessType.UPDATE)
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(TGuijiRealEstateHousingCommercial param)
+    {
+        return toAjax(service.update(param));
+    }
+
+    /**
+     * 删除市房地产-商品房信息
+     */
+    @RequiresPermissions("system:housing_commercial:remove")
+    @Log(title = "市房地产-商品房信息", businessType = BusinessType.DELETE)
+    @PostMapping( "/remove")
+    @ResponseBody
+    public AjaxResult remove(String ids)
+    {
+        return toAjax(service.deleteByIds(ids));
+    }
+
+    /**
+     * 市房地产-商品房信息详情
+     */
+    @GetMapping("/detail/{id}")
+    public String detail(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiRealEstateHousingCommercial param = service.selectById(id);
+        mmap.put("detail", param);
+        return prefix + "/detail";
+    }
+}

+ 201 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_commercial/domain/TGuijiRealEstateHousingCommercial.java

@@ -0,0 +1,201 @@
+package com.sooka.system.real_estate.housing_commercial.domain;
+
+import com.sooka.common.annotation.Excel;
+import com.sooka.system.domain.BaseBusinessEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+/**
+ * 市房地产-商品房信息对象
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+@Getter
+@Setter
+public class TGuijiRealEstateHousingCommercial extends BaseBusinessEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 序号 */
+    @Excel(name = "序号")
+    private String id;
+
+    /** 插入时间 */
+    @Excel(name = "插入时间")
+    private String cdTime;
+
+    /** 批次号 */
+    @Excel(name = "批次号")
+    private String cdBatch;
+
+    /** 标志位 */
+    @Excel(name = "标志位")
+    private String cdOperation;
+
+    /** 数据来源 */
+    @Excel(name = "数据来源")
+    private String cdSource;
+
+    /** 合同号 */
+    @Excel(name = "合同号" )
+    private String HTH;
+
+    /** 业务宗号 */
+    @Excel(name = "业务宗号" )
+    private String YWZH;
+
+    /** 出卖人姓名 */
+    @Excel(name = "出卖人姓名" )
+    private String CSRXM;
+
+    /** 买受人姓名 */
+    @Excel(name = "买受人姓名" )
+    private String MSRXM;
+
+    /** 身份证类型 */
+    @Excel(name = "身份证类型" )
+    private String SFZLX;
+
+    /** 身份证号 */
+    @Excel(name = "身份证号" )
+    private String SFZH;
+
+    /** 联系地址 */
+    @Excel(name = "联系地址" )
+    private String LXDZ;
+
+    /** 房屋坐落 */
+    @Excel(name = "房屋坐落" )
+    private String FWZL;
+
+    /** 合同总价 */
+    @Excel(name = "合同总价" )
+    private String HTZJ;
+
+    /** 建筑面积 */
+    @Excel(name = "建筑面积" )
+    private String ZJMJ;
+
+    /** 套内面积 */
+    @Excel(name = "套内面积" )
+    private String TNMJ;
+
+    /** 分摊面积 */
+    @Excel(name = "分摊面积" )
+    private String FTMJ;
+
+    /** 幢号 */
+    @Excel(name = "幢号" )
+    private String ZH;
+
+    /** 房号 */
+    @Excel(name = "房号" )
+    private String FH;
+
+    /** 房屋用途 */
+    @Excel(name = "房屋用途" )
+    private String FWYT;
+
+    /** 房屋性质 */
+    @Excel(name = "房屋性质" )
+    private String FWXZ;
+
+    /** 签约时间 */
+    @Excel(name = "签约时间" )
+    private String QYSJ;
+
+    /** 备案时间 */
+    @Excel(name = "备案时间" )
+    private String BASJ;
+
+    public String getHth()
+    {
+        return HTH;
+    }
+
+    public String getYwzh()
+    {
+        return YWZH;
+    }
+
+    public String getCsrxm()
+    {
+        return CSRXM;
+    }
+
+    public String getMsrxm()
+    {
+        return MSRXM;
+    }
+
+    public String getSfzlx()
+    {
+        return SFZLX;
+    }
+
+    public String getSfzh()
+    {
+        return SFZH;
+    }
+
+    public String getLxdz()
+    {
+        return LXDZ;
+    }
+
+    public String getFwzl()
+    {
+        return FWZL;
+    }
+
+    public String getHtzj()
+    {
+        return HTZJ;
+    }
+
+    public String getZjmj()
+    {
+        return ZJMJ;
+    }
+
+    public String getTnmj()
+    {
+        return TNMJ;
+    }
+
+    public String getFtmj()
+    {
+        return FTMJ;
+    }
+
+    public String getZh()
+    {
+        return ZH;
+    }
+
+    public String getFh()
+    {
+        return FH;
+    }
+
+    public String getFwyt()
+    {
+        return FWYT;
+    }
+
+    public String getFwxz()
+    {
+        return FWXZ;
+    }
+
+    public String getQysj()
+    {
+        return QYSJ;
+    }
+
+    public String getBasj()
+    {
+        return BASJ;
+    }
+}

+ 62 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_commercial/mapper/TGuijiRealEstateHousingCommercialMapper.java

@@ -0,0 +1,62 @@
+package com.sooka.system.real_estate.housing_commercial.mapper;
+
+import com.sooka.system.real_estate.housing_commercial.domain.TGuijiRealEstateHousingCommercial;
+
+import java.util.List;
+
+/**
+ * 市房地产-商品房信息Mapper接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface TGuijiRealEstateHousingCommercialMapper
+{
+    /**
+     * 查询市房地产-商品房信息
+     *
+     * @param id 市房地产-商品房信息ID
+     * @return 市房地产-商品房信息
+     */
+    public TGuijiRealEstateHousingCommercial selectById(String id);
+
+    /**
+     * 查询市房地产-商品房信息列表
+     *
+     * @param param 市房地产-商品房信息
+     * @return 市房地产-商品房信息集合
+     */
+    public List<TGuijiRealEstateHousingCommercial> selectList(TGuijiRealEstateHousingCommercial param);
+
+    /**
+     * 新增市房地产-商品房信息
+     *
+     * @param param 市房地产-商品房信息
+     * @return 结果
+     */
+    public int insert(TGuijiRealEstateHousingCommercial param);
+
+    /**
+     * 修改市房地产-商品房信息
+     *
+     * @param param 市房地产-商品房信息
+     * @return 结果
+     */
+    public int update(TGuijiRealEstateHousingCommercial param);
+
+    /**
+     * 删除市房地产-商品房信息
+     *
+     * @param id 市房地产-商品房信息ID
+     * @return 结果
+     */
+    public int deleteById(String id);
+
+    /**
+     * 批量删除市房地产-商品房信息
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteByIds(String[] ids);
+}

+ 62 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_commercial/service/ITGuijiRealEstateHousingCommercialService.java

@@ -0,0 +1,62 @@
+package com.sooka.system.real_estate.housing_commercial.service;
+
+import com.sooka.system.real_estate.housing_commercial.domain.TGuijiRealEstateHousingCommercial;
+
+import java.util.List;
+
+/**
+ * 市房地产-商品房信息Service接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface ITGuijiRealEstateHousingCommercialService
+{
+    /**
+     * 查询市房地产-商品房信息
+     *
+     * @param id 市房地产-商品房信息ID
+     * @return 市房地产-商品房信息
+     */
+    public TGuijiRealEstateHousingCommercial selectById(String id);
+
+    /**
+     * 查询市房地产-商品房信息列表
+     *
+     * @param param 市房地产-商品房信息
+     * @return 市房地产-商品房信息集合
+     */
+    public List<TGuijiRealEstateHousingCommercial> selectList(TGuijiRealEstateHousingCommercial param);
+
+    /**
+     * 新增市房地产-商品房信息
+     *
+     * @param param 市房地产-商品房信息
+     * @return 结果
+     */
+    public int insert(TGuijiRealEstateHousingCommercial param);
+
+    /**
+     * 修改市房地产-商品房信息
+     *
+     * @param param 市房地产-商品房信息
+     * @return 结果
+     */
+    public int update(TGuijiRealEstateHousingCommercial param);
+
+    /**
+     * 批量删除市房地产-商品房信息
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteByIds(String ids);
+
+    /**
+     * 删除市房地产-商品房信息信息
+     *
+     * @param id 市房地产-商品房信息ID
+     * @return 结果
+     */
+    public int deleteById(String id);
+}

+ 97 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_commercial/service/impl/TGuijiRealEstateHousingCommercialServiceImpl.java

@@ -0,0 +1,97 @@
+package com.sooka.system.real_estate.housing_commercial.service.impl;
+
+import com.sooka.common.core.text.Convert;
+import com.sooka.common.utils.DateUtils;
+import com.sooka.system.real_estate.housing_commercial.domain.TGuijiRealEstateHousingCommercial;
+import com.sooka.system.real_estate.housing_commercial.mapper.TGuijiRealEstateHousingCommercialMapper;
+import com.sooka.system.real_estate.housing_commercial.service.ITGuijiRealEstateHousingCommercialService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 市房地产-商品房信息Service业务层处理
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+@Service
+public class TGuijiRealEstateHousingCommercialServiceImpl implements ITGuijiRealEstateHousingCommercialService
+{
+    @Autowired
+    private TGuijiRealEstateHousingCommercialMapper mapper;
+
+    /**
+     * 查询市房地产-商品房信息
+     *
+     * @param id 市房地产-商品房信息ID
+     * @return 市房地产-商品房信息
+     */
+    @Override
+    public TGuijiRealEstateHousingCommercial selectById(String id)
+    {
+        return mapper.selectById(id);
+    }
+
+    /**
+     * 查询市房地产-商品房信息列表
+     *
+     * @param param 市房地产-商品房信息
+     * @return 市房地产-商品房信息
+     */
+    @Override
+    public List<TGuijiRealEstateHousingCommercial> selectList(TGuijiRealEstateHousingCommercial param)
+    {
+        return mapper.selectList(param);
+    }
+
+    /**
+     * 新增市房地产-商品房信息
+     *
+     * @param param 市房地产-商品房信息
+     * @return 结果
+     */
+    @Override
+    public int insert(TGuijiRealEstateHousingCommercial param)
+    {
+        param.setCreateTime(DateUtils.getNowDate());
+        return mapper.insert(param);
+    }
+
+    /**
+     * 修改市房地产-商品房信息
+     *
+     * @param param 市房地产-商品房信息
+     * @return 结果
+     */
+    @Override
+    public int update(TGuijiRealEstateHousingCommercial param)
+    {
+        return mapper.update(param);
+    }
+
+    /**
+     * 删除市房地产-商品房信息对象
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    @Override
+    public int deleteByIds(String ids)
+    {
+        return mapper.deleteByIds(Convert.toStrArray(ids));
+    }
+
+    /**
+     * 删除市房地产-商品房信息信息
+     *
+     * @param id 市房地产-商品房信息ID
+     * @return 结果
+     */
+    @Override
+    public int deleteById(String id)
+    {
+        return mapper.deleteById(id);
+    }
+}

+ 134 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_initial/controller/TGuijiRealEstateHousingInitialController.java

@@ -0,0 +1,134 @@
+package com.sooka.system.real_estate.housing_initial.controller;
+
+import com.sooka.common.annotation.Log;
+import com.sooka.common.core.controller.BaseController;
+import com.sooka.common.core.domain.AjaxResult;
+import com.sooka.common.core.page.TableDataInfo;
+import com.sooka.common.enums.BusinessType;
+import com.sooka.common.utils.poi.ExcelUtil;
+import com.sooka.system.real_estate.housing_initial.domain.TGuijiRealEstateHousingInitial;
+import com.sooka.system.real_estate.housing_initial.service.ITGuijiRealEstateHousingInitialService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * 市房地产-商品房初始信息Controller
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+@Controller
+@RequestMapping("/system/real_estate/real_estate_housing_initial")
+public class TGuijiRealEstateHousingInitialController extends BaseController
+{
+    private String prefix = "system/real_estate/housing_initial";
+
+    @Autowired
+    private ITGuijiRealEstateHousingInitialService service;
+
+    @RequiresPermissions("system:housing_initial:view")
+    @GetMapping()
+    public String housing_initial()
+    {
+        return prefix + "/housing_initial";
+    }
+
+    /**
+     * 查询市房地产-商品房初始信息列表
+     */
+    @RequiresPermissions("system:housing_initial:list")
+    @PostMapping("/list")
+    @ResponseBody
+    public TableDataInfo list(TGuijiRealEstateHousingInitial param)
+    {
+        startPage();
+        List<TGuijiRealEstateHousingInitial> list = service.selectList(param);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出市房地产-商品房初始信息列表
+     */
+    @RequiresPermissions("system:housing_initial:export")
+    @Log(title = "市房地产-商品房初始信息", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    @ResponseBody
+    public AjaxResult export(TGuijiRealEstateHousingInitial param)
+    {
+        List<TGuijiRealEstateHousingInitial> list = service.selectList(param);
+        ExcelUtil<TGuijiRealEstateHousingInitial> util = new ExcelUtil<TGuijiRealEstateHousingInitial>(TGuijiRealEstateHousingInitial.class);
+        return util.exportExcel(list, "市房地产-商品房初始信息");
+    }
+
+    /**
+     * 新增市房地产-商品房初始信息
+     */
+    @GetMapping("/add")
+    public String add()
+    {
+        return prefix + "/add";
+    }
+
+    /**
+     * 新增保存市房地产-商品房初始信息
+     */
+    @RequiresPermissions("system:housing_initial:add")
+    @Log(title = "市房地产-商品房初始信息", businessType = BusinessType.INSERT)
+    @PostMapping("/add")
+    @ResponseBody
+    public AjaxResult addSave(TGuijiRealEstateHousingInitial param)
+    {
+        return toAjax(service.insert(param));
+    }
+
+    /**
+     * 修改市房地产-商品房初始信息
+     */
+    @GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiRealEstateHousingInitial param = service.selectById(id);
+        mmap.put("param", param);
+        return prefix + "/edit";
+    }
+
+    /**
+     * 修改保存市房地产-商品房初始信息
+     */
+    @RequiresPermissions("system:housing_initial:edit")
+    @Log(title = "市房地产-商品房初始信息", businessType = BusinessType.UPDATE)
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(TGuijiRealEstateHousingInitial param)
+    {
+        return toAjax(service.update(param));
+    }
+
+    /**
+     * 删除市房地产-商品房初始信息
+     */
+    @RequiresPermissions("system:housing_initial:remove")
+    @Log(title = "市房地产-商品房初始信息", businessType = BusinessType.DELETE)
+    @PostMapping( "/remove")
+    @ResponseBody
+    public AjaxResult remove(String ids)
+    {
+        return toAjax(service.deleteByIds(ids));
+    }
+
+    /**
+     * 市房地产-商品房初始信息详情
+     */
+    @GetMapping("/detail/{id}")
+    public String detail(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiRealEstateHousingInitial param = service.selectById(id);
+        mmap.put("detail", param);
+        return prefix + "/detail";
+    }
+}

+ 120 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_initial/domain/TGuijiRealEstateHousingInitial.java

@@ -0,0 +1,120 @@
+package com.sooka.system.real_estate.housing_initial.domain;
+
+import com.sooka.common.annotation.Excel;
+import com.sooka.system.domain.BaseBusinessEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+/**
+ * 市房地产-商品房初始信息对象
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+@Getter
+@Setter
+public class TGuijiRealEstateHousingInitial extends BaseBusinessEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 序号 */
+    @Excel(name = "序号")
+    private String id;
+
+    /** 插入时间 */
+    @Excel(name = "插入时间")
+    private String cdTime;
+
+    /** 批次号 */
+    @Excel(name = "批次号")
+    private String cdBatch;
+
+    /** 标志位 */
+    @Excel(name = "标志位")
+    private String cdOperation;
+
+    /** 数据来源 */
+    @Excel(name = "数据来源")
+    private String cdSource;
+
+    /** 业务宗号 */
+    @Excel(name = "业务宗号" )
+    private String YWZH;
+
+    /** 证号 */
+    @Excel(name = "证号" )
+    private String LicenseID;
+
+    /** 证号类型 */
+    @Excel(name = "证号类型" )
+    private String ZHLX;
+
+    /** 所有权人 */
+    @Excel(name = "所有权人" )
+    private String SYQR;
+
+    /** 幢号 */
+    @Excel(name = "幢号" )
+    private String ZH;
+
+    /** 房号 */
+    @Excel(name = "房号" )
+    private String FH;
+
+    /** 建筑面积 */
+    @Excel(name = "建筑面积" )
+    private String ZJMJ;
+
+    /** 规划用途 */
+    @Excel(name = "规划用途" )
+    private String GHYT;
+
+    /** 房屋性质 */
+    @Excel(name = "房屋性质" )
+    private String FWXZ;
+
+    public String getYwzh()
+    {
+        return YWZH;
+    }
+
+    public String getLicenseid()
+    {
+        return LicenseID;
+    }
+
+    public String getZhlx()
+    {
+        return ZHLX;
+    }
+
+    public String getSyqr()
+    {
+        return SYQR;
+    }
+
+    public String getZh()
+    {
+        return ZH;
+    }
+
+    public String getFh()
+    {
+        return FH;
+    }
+
+    public String getZjmj()
+    {
+        return ZJMJ;
+    }
+
+    public String getGhyt()
+    {
+        return GHYT;
+    }
+
+    public String getFwxz()
+    {
+        return FWXZ;
+    }
+}

+ 62 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_initial/mapper/TGuijiRealEstateHousingInitialMapper.java

@@ -0,0 +1,62 @@
+package com.sooka.system.real_estate.housing_initial.mapper;
+
+import com.sooka.system.real_estate.housing_initial.domain.TGuijiRealEstateHousingInitial;
+
+import java.util.List;
+
+/**
+ * 市房地产-商品房初始信息Mapper接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface TGuijiRealEstateHousingInitialMapper
+{
+    /**
+     * 查询市房地产-商品房初始信息
+     *
+     * @param id 市房地产-商品房初始信息ID
+     * @return 市房地产-商品房初始信息
+     */
+    public TGuijiRealEstateHousingInitial selectById(String id);
+
+    /**
+     * 查询市房地产-商品房初始信息列表
+     *
+     * @param param 市房地产-商品房初始信息
+     * @return 市房地产-商品房初始信息集合
+     */
+    public List<TGuijiRealEstateHousingInitial> selectList(TGuijiRealEstateHousingInitial param);
+
+    /**
+     * 新增市房地产-商品房初始信息
+     *
+     * @param param 市房地产-商品房初始信息
+     * @return 结果
+     */
+    public int insert(TGuijiRealEstateHousingInitial param);
+
+    /**
+     * 修改市房地产-商品房初始信息
+     *
+     * @param param 市房地产-商品房初始信息
+     * @return 结果
+     */
+    public int update(TGuijiRealEstateHousingInitial param);
+
+    /**
+     * 删除市房地产-商品房初始信息
+     *
+     * @param id 市房地产-商品房初始信息ID
+     * @return 结果
+     */
+    public int deleteById(String id);
+
+    /**
+     * 批量删除市房地产-商品房初始信息
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteByIds(String[] ids);
+}

+ 62 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_initial/service/ITGuijiRealEstateHousingInitialService.java

@@ -0,0 +1,62 @@
+package com.sooka.system.real_estate.housing_initial.service;
+
+import com.sooka.system.real_estate.housing_initial.domain.TGuijiRealEstateHousingInitial;
+
+import java.util.List;
+
+/**
+ * 市房地产-商品房初始信息Service接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface ITGuijiRealEstateHousingInitialService
+{
+    /**
+     * 查询市房地产-商品房初始信息
+     *
+     * @param id 市房地产-商品房初始信息ID
+     * @return 市房地产-商品房初始信息
+     */
+    public TGuijiRealEstateHousingInitial selectById(String id);
+
+    /**
+     * 查询市房地产-商品房初始信息列表
+     *
+     * @param param 市房地产-商品房初始信息
+     * @return 市房地产-商品房初始信息集合
+     */
+    public List<TGuijiRealEstateHousingInitial> selectList(TGuijiRealEstateHousingInitial param);
+
+    /**
+     * 新增市房地产-商品房初始信息
+     *
+     * @param param 市房地产-商品房初始信息
+     * @return 结果
+     */
+    public int insert(TGuijiRealEstateHousingInitial param);
+
+    /**
+     * 修改市房地产-商品房初始信息
+     *
+     * @param param 市房地产-商品房初始信息
+     * @return 结果
+     */
+    public int update(TGuijiRealEstateHousingInitial param);
+
+    /**
+     * 批量删除市房地产-商品房初始信息
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteByIds(String ids);
+
+    /**
+     * 删除市房地产-商品房初始信息信息
+     *
+     * @param id 市房地产-商品房初始信息ID
+     * @return 结果
+     */
+    public int deleteById(String id);
+}

+ 97 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_initial/service/impl/TGuijiRealEstateHousingInitialServiceImpl.java

@@ -0,0 +1,97 @@
+package com.sooka.system.real_estate.housing_initial.service.impl;
+
+import com.sooka.common.core.text.Convert;
+import com.sooka.common.utils.DateUtils;
+import com.sooka.system.real_estate.housing_initial.domain.TGuijiRealEstateHousingInitial;
+import com.sooka.system.real_estate.housing_initial.mapper.TGuijiRealEstateHousingInitialMapper;
+import com.sooka.system.real_estate.housing_initial.service.ITGuijiRealEstateHousingInitialService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 市房地产-商品房初始信息Service业务层处理
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+@Service
+public class TGuijiRealEstateHousingInitialServiceImpl implements ITGuijiRealEstateHousingInitialService
+{
+    @Autowired
+    private TGuijiRealEstateHousingInitialMapper mapper;
+
+    /**
+     * 查询市房地产-商品房初始信息
+     *
+     * @param id 市房地产-商品房初始信息ID
+     * @return 市房地产-商品房初始信息
+     */
+    @Override
+    public TGuijiRealEstateHousingInitial selectById(String id)
+    {
+        return mapper.selectById(id);
+    }
+
+    /**
+     * 查询市房地产-商品房初始信息列表
+     *
+     * @param param 市房地产-商品房初始信息
+     * @return 市房地产-商品房初始信息
+     */
+    @Override
+    public List<TGuijiRealEstateHousingInitial> selectList(TGuijiRealEstateHousingInitial param)
+    {
+        return mapper.selectList(param);
+    }
+
+    /**
+     * 新增市房地产-商品房初始信息
+     *
+     * @param param 市房地产-商品房初始信息
+     * @return 结果
+     */
+    @Override
+    public int insert(TGuijiRealEstateHousingInitial param)
+    {
+        param.setCreateTime(DateUtils.getNowDate());
+        return mapper.insert(param);
+    }
+
+    /**
+     * 修改市房地产-商品房初始信息
+     *
+     * @param param 市房地产-商品房初始信息
+     * @return 结果
+     */
+    @Override
+    public int update(TGuijiRealEstateHousingInitial param)
+    {
+        return mapper.update(param);
+    }
+
+    /**
+     * 删除市房地产-商品房初始信息对象
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    @Override
+    public int deleteByIds(String ids)
+    {
+        return mapper.deleteByIds(Convert.toStrArray(ids));
+    }
+
+    /**
+     * 删除市房地产-商品房初始信息信息
+     *
+     * @param id 市房地产-商品房初始信息ID
+     * @return 结果
+     */
+    @Override
+    public int deleteById(String id)
+    {
+        return mapper.deleteById(id);
+    }
+}

+ 134 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_stock/controller/TGuijiRealEstateHousingStockController.java

@@ -0,0 +1,134 @@
+package com.sooka.system.real_estate.housing_stock.controller;
+
+import com.sooka.common.annotation.Log;
+import com.sooka.common.core.controller.BaseController;
+import com.sooka.common.core.domain.AjaxResult;
+import com.sooka.common.core.page.TableDataInfo;
+import com.sooka.common.enums.BusinessType;
+import com.sooka.common.utils.poi.ExcelUtil;
+import com.sooka.system.real_estate.housing_stock.domain.TGuijiRealEstateHousingStock;
+import com.sooka.system.real_estate.housing_stock.service.ITGuijiRealEstateHousingStockService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * 市房地产-存量房信息Controller
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+@Controller
+@RequestMapping("/system/real_estate/real_estate_housing_stock")
+public class TGuijiRealEstateHousingStockController extends BaseController
+{
+    private String prefix = "system/real_estate/housing_stock";
+
+    @Autowired
+    private ITGuijiRealEstateHousingStockService service;
+
+    @RequiresPermissions("system:housing_stock:view")
+    @GetMapping()
+    public String housing_stock()
+    {
+        return prefix + "/housing_stock";
+    }
+
+    /**
+     * 查询市房地产-存量房信息列表
+     */
+    @RequiresPermissions("system:housing_stock:list")
+    @PostMapping("/list")
+    @ResponseBody
+    public TableDataInfo list(TGuijiRealEstateHousingStock param)
+    {
+        startPage();
+        List<TGuijiRealEstateHousingStock> list = service.selectList(param);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出市房地产-存量房信息列表
+     */
+    @RequiresPermissions("system:housing_stock:export")
+    @Log(title = "市房地产-存量房信息", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    @ResponseBody
+    public AjaxResult export(TGuijiRealEstateHousingStock param)
+    {
+        List<TGuijiRealEstateHousingStock> list = service.selectList(param);
+        ExcelUtil<TGuijiRealEstateHousingStock> util = new ExcelUtil<TGuijiRealEstateHousingStock>(TGuijiRealEstateHousingStock.class);
+        return util.exportExcel(list, "市房地产-存量房信息");
+    }
+
+    /**
+     * 新增市房地产-存量房信息
+     */
+    @GetMapping("/add")
+    public String add()
+    {
+        return prefix + "/add";
+    }
+
+    /**
+     * 新增保存市房地产-存量房信息
+     */
+    @RequiresPermissions("system:housing_stock:add")
+    @Log(title = "市房地产-存量房信息", businessType = BusinessType.INSERT)
+    @PostMapping("/add")
+    @ResponseBody
+    public AjaxResult addSave(TGuijiRealEstateHousingStock param)
+    {
+        return toAjax(service.insert(param));
+    }
+
+    /**
+     * 修改市房地产-存量房信息
+     */
+    @GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiRealEstateHousingStock param = service.selectById(id);
+        mmap.put("param", param);
+        return prefix + "/edit";
+    }
+
+    /**
+     * 修改保存市房地产-存量房信息
+     */
+    @RequiresPermissions("system:housing_stock:edit")
+    @Log(title = "市房地产-存量房信息", businessType = BusinessType.UPDATE)
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(TGuijiRealEstateHousingStock param)
+    {
+        return toAjax(service.update(param));
+    }
+
+    /**
+     * 删除市房地产-存量房信息
+     */
+    @RequiresPermissions("system:housing_stock:remove")
+    @Log(title = "市房地产-存量房信息", businessType = BusinessType.DELETE)
+    @PostMapping( "/remove")
+    @ResponseBody
+    public AjaxResult remove(String ids)
+    {
+        return toAjax(service.deleteByIds(ids));
+    }
+
+    /**
+     * 市房地产-存量房信息详情
+     */
+    @GetMapping("/detail/{id}")
+    public String detail(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiRealEstateHousingStock param = service.selectById(id);
+        mmap.put("detail", param);
+        return prefix + "/detail";
+    }
+}

+ 210 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_stock/domain/TGuijiRealEstateHousingStock.java

@@ -0,0 +1,210 @@
+package com.sooka.system.real_estate.housing_stock.domain;
+
+import com.sooka.common.annotation.Excel;
+import com.sooka.system.domain.BaseBusinessEntity;
+import lombok.Getter;
+import lombok.Setter;
+
+/**
+ * 市房地产-存量房信息对象
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+@Getter
+@Setter
+public class TGuijiRealEstateHousingStock extends BaseBusinessEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 序号 */
+    @Excel(name = "序号")
+    private String id;
+
+    /** 插入时间 */
+    @Excel(name = "插入时间")
+    private String cdTime;
+
+    /** 批次号 */
+    @Excel(name = "批次号")
+    private String cdBatch;
+
+    /** 标志位 */
+    @Excel(name = "标志位")
+    private String cdOperation;
+
+    /** 数据来源 */
+    @Excel(name = "数据来源")
+    private String cdSource;
+
+    /** 合同号 */
+    @Excel(name = "合同号" )
+    private String HTH;
+
+    /** 业务宗号 */
+    @Excel(name = "业务宗号" )
+    private String YWZH;
+
+    /** 出售人姓名 */
+    @Excel(name = "出售人姓名" )
+    private String CSRXM;
+
+    /** 买受人姓名 */
+    @Excel(name = "买受人姓名" )
+    private String MSRXM;
+
+    /** 身份证类型 */
+    @Excel(name = "身份证类型" )
+    private String SFZLX;
+
+    /** 身份证号 */
+    @Excel(name = "身份证号" )
+    private String SFZH;
+
+    /** 联系地址 */
+    @Excel(name = "联系地址" )
+    private String LXDZ;
+
+    /** 房屋坐落 */
+    @Excel(name = "房屋坐落" )
+    private String FWZL;
+
+    /** 合同总价 */
+    @Excel(name = "合同总价" )
+    private String HTZJ;
+
+    /** 建筑面积 */
+    @Excel(name = "建筑面积" )
+    private String ZJMJ;
+
+    /** 交易面积 */
+    @Excel(name = "交易面积" )
+    private String JYMJ;
+
+    /** 产权证号 */
+    @Excel(name = "产权证号" )
+    private String CQZH;
+
+    /** 幢号 */
+    @Excel(name = "幢号" )
+    private String ZH;
+
+    /** 房号 */
+    @Excel(name = "房号" )
+    private String FH;
+
+    /** 规划用途 */
+    @Excel(name = "规划用途" )
+    private String GHYT;
+
+    /** 套内面积 */
+    @Excel(name = "套内面积" )
+    private String TNMJ;
+
+    /** 公摊面积 */
+    @Excel(name = "公摊面积" )
+    private String GTMJ;
+
+    /** 签约时间 */
+    @Excel(name = "签约时间" )
+    private String QYSJ;
+
+    /** 备案时间 */
+    @Excel(name = "备案时间" )
+    private String BASJ;
+
+    public String getHth()
+    {
+        return HTH;
+    }
+
+    public String getYwzh()
+    {
+        return YWZH;
+    }
+
+    public String getCsrxm()
+    {
+        return CSRXM;
+    }
+
+    public String getMsrxm()
+    {
+        return MSRXM;
+    }
+
+    public String getSfzlx()
+    {
+        return SFZLX;
+    }
+
+    public String getSfzh()
+    {
+        return SFZH;
+    }
+
+    public String getLxdz()
+    {
+        return LXDZ;
+    }
+
+    public String getFwzl()
+    {
+        return FWZL;
+    }
+
+    public String getHtzj()
+    {
+        return HTZJ;
+    }
+
+    public String getZjmj()
+    {
+        return ZJMJ;
+    }
+
+    public String getJymj()
+    {
+        return JYMJ;
+    }
+
+    public String getCqzh()
+    {
+        return CQZH;
+    }
+
+    public String getZh()
+    {
+        return ZH;
+    }
+
+    public String getFh()
+    {
+        return FH;
+    }
+
+    public String getGhyt()
+    {
+        return GHYT;
+    }
+
+    public String getTnmj()
+    {
+        return TNMJ;
+    }
+
+    public String getGtmj()
+    {
+        return GTMJ;
+    }
+
+    public String getQysj()
+    {
+        return QYSJ;
+    }
+
+    public String getBasj()
+    {
+        return BASJ;
+    }
+}

+ 62 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_stock/mapper/TGuijiRealEstateHousingStockMapper.java

@@ -0,0 +1,62 @@
+package com.sooka.system.real_estate.housing_stock.mapper;
+
+import com.sooka.system.real_estate.housing_stock.domain.TGuijiRealEstateHousingStock;
+
+import java.util.List;
+
+/**
+ * 市房地产-存量房信息Mapper接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface TGuijiRealEstateHousingStockMapper
+{
+    /**
+     * 查询市房地产-存量房信息
+     *
+     * @param id 市房地产-存量房信息ID
+     * @return 市房地产-存量房信息
+     */
+    public TGuijiRealEstateHousingStock selectById(String id);
+
+    /**
+     * 查询市房地产-存量房信息列表
+     *
+     * @param param 市房地产-存量房信息
+     * @return 市房地产-存量房信息集合
+     */
+    public List<TGuijiRealEstateHousingStock> selectList(TGuijiRealEstateHousingStock param);
+
+    /**
+     * 新增市房地产-存量房信息
+     *
+     * @param param 市房地产-存量房信息
+     * @return 结果
+     */
+    public int insert(TGuijiRealEstateHousingStock param);
+
+    /**
+     * 修改市房地产-存量房信息
+     *
+     * @param param 市房地产-存量房信息
+     * @return 结果
+     */
+    public int update(TGuijiRealEstateHousingStock param);
+
+    /**
+     * 删除市房地产-存量房信息
+     *
+     * @param id 市房地产-存量房信息ID
+     * @return 结果
+     */
+    public int deleteById(String id);
+
+    /**
+     * 批量删除市房地产-存量房信息
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteByIds(String[] ids);
+}

+ 62 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_stock/service/ITGuijiRealEstateHousingStockService.java

@@ -0,0 +1,62 @@
+package com.sooka.system.real_estate.housing_stock.service;
+
+import com.sooka.system.real_estate.housing_stock.domain.TGuijiRealEstateHousingStock;
+
+import java.util.List;
+
+/**
+ * 市房地产-存量房信息Service接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface ITGuijiRealEstateHousingStockService
+{
+    /**
+     * 查询市房地产-存量房信息
+     *
+     * @param id 市房地产-存量房信息ID
+     * @return 市房地产-存量房信息
+     */
+    public TGuijiRealEstateHousingStock selectById(String id);
+
+    /**
+     * 查询市房地产-存量房信息列表
+     *
+     * @param param 市房地产-存量房信息
+     * @return 市房地产-存量房信息集合
+     */
+    public List<TGuijiRealEstateHousingStock> selectList(TGuijiRealEstateHousingStock param);
+
+    /**
+     * 新增市房地产-存量房信息
+     *
+     * @param param 市房地产-存量房信息
+     * @return 结果
+     */
+    public int insert(TGuijiRealEstateHousingStock param);
+
+    /**
+     * 修改市房地产-存量房信息
+     *
+     * @param param 市房地产-存量房信息
+     * @return 结果
+     */
+    public int update(TGuijiRealEstateHousingStock param);
+
+    /**
+     * 批量删除市房地产-存量房信息
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteByIds(String ids);
+
+    /**
+     * 删除市房地产-存量房信息信息
+     *
+     * @param id 市房地产-存量房信息ID
+     * @return 结果
+     */
+    public int deleteById(String id);
+}

+ 97 - 0
mybusiness/src/main/java/com/sooka/system/real_estate/housing_stock/service/impl/TGuijiRealEstateHousingStockServiceImpl.java

@@ -0,0 +1,97 @@
+package com.sooka.system.real_estate.housing_stock.service.impl;
+
+import com.sooka.common.core.text.Convert;
+import com.sooka.common.utils.DateUtils;
+import com.sooka.system.real_estate.housing_stock.domain.TGuijiRealEstateHousingStock;
+import com.sooka.system.real_estate.housing_stock.mapper.TGuijiRealEstateHousingStockMapper;
+import com.sooka.system.real_estate.housing_stock.service.ITGuijiRealEstateHousingStockService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * 市房地产-存量房信息Service业务层处理
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+@Service
+public class TGuijiRealEstateHousingStockServiceImpl implements ITGuijiRealEstateHousingStockService
+{
+    @Autowired
+    private TGuijiRealEstateHousingStockMapper mapper;
+
+    /**
+     * 查询市房地产-存量房信息
+     *
+     * @param id 市房地产-存量房信息ID
+     * @return 市房地产-存量房信息
+     */
+    @Override
+    public TGuijiRealEstateHousingStock selectById(String id)
+    {
+        return mapper.selectById(id);
+    }
+
+    /**
+     * 查询市房地产-存量房信息列表
+     *
+     * @param param 市房地产-存量房信息
+     * @return 市房地产-存量房信息
+     */
+    @Override
+    public List<TGuijiRealEstateHousingStock> selectList(TGuijiRealEstateHousingStock param)
+    {
+        return mapper.selectList(param);
+    }
+
+    /**
+     * 新增市房地产-存量房信息
+     *
+     * @param param 市房地产-存量房信息
+     * @return 结果
+     */
+    @Override
+    public int insert(TGuijiRealEstateHousingStock param)
+    {
+        param.setCreateTime(DateUtils.getNowDate());
+        return mapper.insert(param);
+    }
+
+    /**
+     * 修改市房地产-存量房信息
+     *
+     * @param param 市房地产-存量房信息
+     * @return 结果
+     */
+    @Override
+    public int update(TGuijiRealEstateHousingStock param)
+    {
+        return mapper.update(param);
+    }
+
+    /**
+     * 删除市房地产-存量房信息对象
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    @Override
+    public int deleteByIds(String ids)
+    {
+        return mapper.deleteByIds(Convert.toStrArray(ids));
+    }
+
+    /**
+     * 删除市房地产-存量房信息信息
+     *
+     * @param id 市房地产-存量房信息ID
+     * @return 结果
+     */
+    @Override
+    public int deleteById(String id)
+    {
+        return mapper.deleteById(id);
+    }
+}

+ 66 - 0
mybusiness/src/main/resources/mapper/system/TGuijiRealEstateHousingCommercialMapper.xml

@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.sooka.system.real_estate.housing_commercial.mapper.TGuijiRealEstateHousingCommercialMapper">
+
+    <sql id="selectVo">
+        select id, HTH, YWZH, CSRXM, MSRXM, SFZLX, SFZH, LXDZ, FWZL, HTZJ, ZJMJ, TNMJ, FTMJ, ZH, FH, FWYT, FWXZ, QYSJ, BASJ from t_guiji_real_estate_housing_commercial
+    </sql>
+
+    <select id="selectList" parameterType="TGuijiAofeGasMeterInfor" resultType="TGuijiAofeGasMeterInfor">
+        <include refid="selectVo"/>
+        <where>
+            <if test="HTH != null  and HTH != ''"> and HTH like concat('%', #{HTH}, '%')</if>
+            <if test="YWZH != null  and YWZH != ''"> and YWZH like concat('%', #{YWZH}, '%')</if>
+            <if test="CSRXM != null  and CSRXM != ''"> and CSRXM like concat('%', #{CSRXM}, '%')</if>
+            <if test="MSRXM != null  and MSRXM != ''"> and MSRXM like concat('%', #{MSRXM}, '%')</if>
+            <if test="SFZLX != null  and SFZLX != ''"> and SFZLX like concat('%', #{SFZLX}, '%')</if>
+            <if test="SFZH != null  and SFZH != ''"> and SFZH like concat('%', #{SFZH}, '%')</if>
+            <if test="LXDZ != null  and LXDZ != ''"> and LXDZ like concat('%', #{LXDZ}, '%')</if>
+            <if test="FWZL != null  and FWZL != ''"> and FWZL like concat('%', #{FWZL}, '%')</if>
+            <if test="HTZJ != null  and HTZJ != ''"> and HTZJ like concat('%', #{HTZJ}, '%')</if>
+            <if test="ZJMJ != null  and ZJMJ != ''"> and ZJMJ like concat('%', #{ZJMJ}, '%')</if>
+            <if test="TNMJ != null  and TNMJ != ''"> and TNMJ like concat('%', #{TNMJ}, '%')</if>
+            <if test="FTMJ != null  and FTMJ != ''"> and FTMJ like concat('%', #{FTMJ}, '%')</if>
+            <if test="ZH != null  and ZH != ''"> and ZH like concat('%', #{ZH}, '%')</if>
+            <if test="FH != null  and FH != ''"> and FH like concat('%', #{FH}, '%')</if>
+            <if test="FWYT != null  and FWYT != ''"> and FWYT like concat('%', #{FWYT}, '%')</if>
+            <if test="FWXZ != null  and FWXZ != ''"> and FWXZ like concat('%', #{FWXZ}, '%')</if>
+            <if test="QYSJ != null  and QYSJ != ''"> and QYSJ like concat('%', #{QYSJ}, '%')</if>
+            <if test="BASJ != null  and BASJ != ''"> and BASJ like concat('%', #{BASJ}, '%')</if>
+        </where>
+    </select>
+
+    <select id="selectById" parameterType="String" resultType="TGuijiAofeGasMeterInfor">
+        <include refid="selectVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insert" parameterType="TGuijiAofeGasMeterInfor">
+        insert into t_guiji_real_estate_housing_commercial
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+         </trim>
+    </insert>
+
+    <update id="update" parameterType="TGuijiAofeGasMeterInfor">
+        update t_guiji_real_estate_housing_commercial
+        <trim prefix="SET" suffixOverrides=",">
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteById" parameterType="String">
+        delete from t_guiji_real_estate_housing_commercial where id = #{id}
+    </delete>
+
+    <delete id="deleteByIds" parameterType="String">
+        delete from t_guiji_real_estate_housing_commercial where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+
+</mapper>

+ 57 - 0
mybusiness/src/main/resources/mapper/system/TGuijiRealEstateHousingInitialMapper.xml

@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.sooka.system.real_estate.housing_initial.mapper.TGuijiRealEstateHousingInitialMapper">
+
+    <sql id="selectVo">
+        select id, YWZH, LicenseID, ZHLX, SYQR, ZH, FH, ZJMJ, GHYT, FWXZ from t_guiji_real_estate_housing_initial
+    </sql>
+
+    <select id="selectList" parameterType="TGuijiRealEstateHousingInitial" resultType="TGuijiRealEstateHousingInitial">
+        <include refid="selectVo"/>
+        <where>
+            <if test="YWZH != null  and YWZH != ''"> and YWZH like concat('%', #{YWZH}, '%')</if>
+            <if test="LicenseID != null  and LicenseID != ''"> and LicenseID like concat('%', #{LicenseID}, '%')</if>
+            <if test="ZHLX != null  and ZHLX != ''"> and ZHLX like concat('%', #{ZHLX}, '%')</if>
+            <if test="SYQR != null  and SYQR != ''"> and SYQR like concat('%', #{SYQR}, '%')</if>
+            <if test="ZH != null  and ZH != ''"> and ZH like concat('%', #{ZH}, '%')</if>
+            <if test="FH != null  and FH != ''"> and FH like concat('%', #{FH}, '%')</if>
+            <if test="ZJMJ != null  and ZJMJ != ''"> and ZJMJ like concat('%', #{ZJMJ}, '%')</if>
+            <if test="GHYT != null  and GHYT != ''"> and GHYT like concat('%', #{GHYT}, '%')</if>
+            <if test="FWXZ != null  and FWXZ != ''"> and FWXZ like concat('%', #{FWXZ}, '%')</if>
+        </where>
+    </select>
+
+    <select id="selectById" parameterType="String" resultType="TGuijiRealEstateHousingInitial">
+        <include refid="selectVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insert" parameterType="TGuijiRealEstateHousingInitial">
+        insert into t_guiji_real_estate_housing_initial
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+         </trim>
+    </insert>
+
+    <update id="update" parameterType="TGuijiRealEstateHousingInitial">
+        update t_guiji_real_estate_housing_initial
+        <trim prefix="SET" suffixOverrides=",">
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteById" parameterType="String">
+        delete from t_guiji_real_estate_housing_initial where id = #{id}
+    </delete>
+
+    <delete id="deleteByIds" parameterType="String">
+        delete from t_guiji_real_estate_housing_initial where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+
+</mapper>

+ 67 - 0
mybusiness/src/main/resources/mapper/system/TGuijiRealEstateHousingStockMapper.xml

@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.sooka.system.real_estate.housing_stock.mapper.TGuijiRealEstateHousingStockMapper">
+
+    <sql id="selectVo">
+        select id, HTH, YWZH, CSRXM, MSRXM, SFZLX, SFZH, LXDZ, FWZL, HTZJ, ZJMJ, JYMJ, CQZH, ZH, FH, GHYT, TNMJ, GTMJ, QYSJ, BASJ from t_guiji_real_estate_housing_stock
+    </sql>
+
+    <select id="selectList" parameterType="TGuijiRealEstateHousingStock" resultType="TGuijiRealEstateHousingStock">
+        <include refid="selectVo"/>
+        <where>
+            <if test="HTH != null  and HTH != ''"> and HTH like concat('%', #{HTH}, '%')</if>
+            <if test="YWZH != null  and YWZH != ''"> and YWZH like concat('%', #{YWZH}, '%')</if>
+            <if test="CSRXM != null  and CSRXM != ''"> and CSRXM like concat('%', #{CSRXM}, '%')</if>
+            <if test="MSRXM != null  and MSRXM != ''"> and MSRXM like concat('%', #{MSRXM}, '%')</if>
+            <if test="SFZLX != null  and SFZLX != ''"> and SFZLX like concat('%', #{SFZLX}, '%')</if>
+            <if test="SFZH != null  and SFZH != ''"> and SFZH like concat('%', #{SFZH}, '%')</if>
+            <if test="LXDZ != null  and LXDZ != ''"> and LXDZ like concat('%', #{LXDZ}, '%')</if>
+            <if test="FWZL != null  and FWZL != ''"> and FWZL like concat('%', #{FWZL}, '%')</if>
+            <if test="HTZJ != null  and HTZJ != ''"> and HTZJ like concat('%', #{HTZJ}, '%')</if>
+            <if test="ZJMJ != null  and ZJMJ != ''"> and ZJMJ like concat('%', #{ZJMJ}, '%')</if>
+            <if test="JYMJ != null  and JYMJ != ''"> and JYMJ like concat('%', #{JYMJ}, '%')</if>
+            <if test="CQZH != null  and CQZH != ''"> and CQZH like concat('%', #{CQZH}, '%')</if>
+            <if test="ZH != null  and ZH != ''"> and ZH like concat('%', #{ZH}, '%')</if>
+            <if test="FH != null  and FH != ''"> and FH like concat('%', #{FH}, '%')</if>
+            <if test="GHYT != null  and GHYT != ''"> and GHYT like concat('%', #{GHYT}, '%')</if>
+            <if test="TNMJ != null  and TNMJ != ''"> and TNMJ like concat('%', #{TNMJ}, '%')</if>
+            <if test="GTMJ != null  and GTMJ != ''"> and GTMJ like concat('%', #{GTMJ}, '%')</if>
+            <if test="QYSJ != null  and QYSJ != ''"> and QYSJ like concat('%', #{QYSJ}, '%')</if>
+            <if test="BASJ != null  and BASJ != ''"> and BASJ like concat('%', #{BASJ}, '%')</if>
+        </where>
+    </select>
+
+    <select id="selectById" parameterType="String" resultType="TGuijiRealEstateHousingStock">
+        <include refid="selectVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insert" parameterType="TGuijiRealEstateHousingStock">
+        insert into t_guiji_real_estate_housing_stock
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+         </trim>
+    </insert>
+
+    <update id="update" parameterType="TGuijiRealEstateHousingStock">
+        update t_guiji_real_estate_housing_stock
+        <trim prefix="SET" suffixOverrides=",">
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteById" parameterType="String">
+        delete from t_guiji_real_estate_housing_stock where id = #{id}
+    </delete>
+
+    <delete id="deleteByIds" parameterType="String">
+        delete from t_guiji_real_estate_housing_stock where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+
+</mapper>

+ 85 - 0
mybusiness/src/main/resources/templates/system/real_estate/housing_commercial/detail.html

@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('市房地产-商品房信息')" />
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-guiji-edit" th:object="${detail}">
+            <div class="form-group">
+                <label class="col-sm-3 control-label">合同号:</label>
+                <div class="form-control-static" th:text="*{hth}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">业务宗号:</label>
+                <div class="form-control-static" th:text="*{ywzh}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">出卖人姓名:</label>
+                <div class="form-control-static" th:text="*{csrxm}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">买受人姓名:</label>
+                <div class="form-control-static" th:text="*{msrxm}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">身份证类型:</label>
+                <div class="form-control-static" th:text="*{sfzlx}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">身份证号:</label>
+                <div class="form-control-static" th:text="*{sfzh}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">联系地址:</label>
+                <div class="form-control-static" th:text="*{lxdz}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">房屋坐落:</label>
+                <div class="form-control-static" th:text="*{fwzl}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">合同总价:</label>
+                <div class="form-control-static" th:text="*{htzj}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">建筑面积:</label>
+                <div class="form-control-static" th:text="*{zjmj}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">套内面积:</label>
+                <div class="form-control-static" th:text="*{tnmj}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">分摊面积:</label>
+                <div class="form-control-static" th:text="*{ftmj}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">幢号:</label>
+                <div class="form-control-static" th:text="*{zh}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">房号:</label>
+                <div class="form-control-static" th:text="*{fh}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">房屋用途:</label>
+                <div class="form-control-static" th:text="*{fwyt}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">房屋性质:</label>
+                <div class="form-control-static" th:text="*{fwxz}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">签约时间:</label>
+                <div class="form-control-static" th:text="*{qysj}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">备案时间:</label>
+                <div class="form-control-static" th:text="*{basj}"></div>
+            </div>
+        </form>
+    </div>
+    <th:block th:include="include :: footer" />
+</body>
+</html>

+ 226 - 0
mybusiness/src/main/resources/templates/system/real_estate/housing_commercial/housing_commercial.html

@@ -0,0 +1,226 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <th:block th:include="include :: header('市房地产-商品房信息列表')" />
+</head>
+<body class="gray-bg">
+     <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse">
+                <form id="formId">
+                    <div class="select-list">
+                        <ul>
+                            <li>
+                                <label>合同号:</label>
+                                <input type="text" name="HTH"/>
+                            </li>
+                            <li>
+                                <label>业务宗号:</label>
+                                <input type="text" name="YWZH"/>
+                            </li>
+                            <li>
+                                <label>出卖人姓名:</label>
+                                <input type="text" name="CSRXM"/>
+                            </li>
+                            <li>
+                                <label>买受人姓名:</label>
+                                <input type="text" name="MSRXM"/>
+                            </li>
+                            <li>
+                                <label>身份证类型:</label>
+                                <input type="text" name="SFZLX"/>
+                            </li>
+                            <li>
+                                <label>身份证号:</label>
+                                <input type="text" name="SFZH"/>
+                            </li>
+                            <li>
+                                <label>联系地址:</label>
+                                <input type="text" name="LXDZ"/>
+                            </li>
+                            <li>
+                                <label>房屋坐落:</label>
+                                <input type="text" name="FWZL"/>
+                            </li>
+                            <li>
+                                <label>合同总价:</label>
+                                <input type="text" name="HTZJ"/>
+                            </li>
+                            <li>
+                                <label>建筑面积:</label>
+                                <input type="text" name="ZJMJ"/>
+                            </li>
+                            <li>
+                                <label>套内面积:</label>
+                                <input type="text" name="TNMJ"/>
+                            </li>
+                            <li>
+                                <label>分摊面积:</label>
+                                <input type="text" name="FTMJ"/>
+                            </li>
+                            <li>
+                                <label>幢号:</label>
+                                <input type="text" name="ZH"/>
+                            </li>
+                            <li>
+                                <label>房号:</label>
+                                <input type="text" name="FH"/>
+                            </li>
+                            <li>
+                                <label>房屋用途:</label>
+                                <input type="text" name="FWYT"/>
+                            </li>
+                            <li>
+                                <label>房屋性质:</label>
+                                <input type="text" name="FWXZ"/>
+                            </li>
+                            <li>
+                                <label>签约时间:</label>
+                                <input type="text" name="QYSJ"/>
+                            </li>
+                            <li>
+                                <label>备案时间:</label>
+                                <input type="text" name="BASJ"/>
+                            </li>
+                            <li>
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+<!--                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:housing_commercial:add">-->
+<!--                    <i class="fa fa-plus"></i> 添加-->
+<!--                </a>-->
+<!--                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:housing_commercial:edit">-->
+<!--                    <i class="fa fa-edit"></i> 修改-->
+<!--                </a>-->
+<!--                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:housing_commercial:remove">-->
+<!--                    <i class="fa fa-remove"></i> 删除-->
+<!--                </a>-->
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:housing_commercial:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+    <th:block th:include="include :: footer" />
+    <script th:inline="javascript">
+        var editFlag = [[${@permission.hasPermi('system:housing_commercial:edit')}]];
+        var removeFlag = [[${@permission.hasPermi('system:housing_commercial:remove')}]];
+        var detailFlag = [[${@permission.hasPermi('system:housing_commercial:detail')}]];
+
+        var prefix = ctx + "system/real_estate/real_estate_housing_commercial";
+
+        $(function() {
+            var options = {
+                url: prefix + "/list",
+                createUrl: prefix + "/add",
+                updateUrl: prefix + "/edit/{id}",
+                removeUrl: prefix + "/remove",
+                exportUrl: prefix + "/export",
+                detailUrl: prefix + "/detail/{id}",
+                modalName: "市房地产-商品房信息",
+                columns: [{
+                    checkbox: true
+                },
+                {
+                    field: 'id',
+                    title: 'ID',
+                    visible: false
+                },
+                {
+                    field: 'hth',
+                    title: '合同号'
+                },
+                {
+                    field: 'ywzh',
+                    title: '业务宗号'
+                },
+                {
+                    field: 'csrxm',
+                    title: '出卖人姓名'
+                },
+                {
+                    field: 'msrxm',
+                    title: '买受人姓名'
+                },
+                {
+                    field: 'sfzlx',
+                    title: '身份证类型'
+                },
+                {
+                    field: 'sfzh',
+                    title: '身份证号'
+                },
+                {
+                    field: 'lxdz',
+                    title: '联系地址'
+                },
+                {
+                    field: 'fwzl',
+                    title: '房屋坐落'
+                },
+                {
+                    field: 'htzj',
+                    title: '合同总价'
+                },
+                {
+                    field: 'zjmj',
+                    title: '建筑面积'
+                },
+                {
+                    field: 'tnmj',
+                    title: '套内面积'
+                },
+                {
+                    field: 'ftmj',
+                    title: '分摊面积'
+                },
+                {
+                    field: 'zh',
+                    title: '幢号'
+                },
+                {
+                    field: 'fh',
+                    title: '房号'
+                },
+                {
+                    field: 'fwyt',
+                    title: '房屋用途'
+                },
+                {
+                    field: 'fwxz',
+                    title: '房屋性质'
+                },
+                {
+                    field: 'qysj',
+                    title: '签约时间'
+                },
+                {
+                    field: 'basj',
+                    title: '备案时间'
+                },
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        var actions = [];
+                        // actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                        // actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
+                        actions.push('<a class="btn btn-warning btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.id + '\')"><i class="fa fa-search"></i>详细</a>');
+                        return actions.join('');
+                    }
+                }]
+            };
+            $.table.init(options);
+        });
+    </script>
+</body>
+</html>

+ 49 - 0
mybusiness/src/main/resources/templates/system/real_estate/housing_initial/detail.html

@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('市房地产-商品房初始信息')" />
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-guiji-edit" th:object="${detail}">
+            <div class="form-group">
+                <label class="col-sm-3 control-label">业务宗号:</label>
+                <div class="form-control-static" th:text="*{ywzh}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">证号:</label>
+                <div class="form-control-static" th:text="*{licenseid}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">证号类型:</label>
+                <div class="form-control-static" th:text="*{zhlx}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">所有权人:</label>
+                <div class="form-control-static" th:text="*{syqr}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">幢号:</label>
+                <div class="form-control-static" th:text="*{zh}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">房号:</label>
+                <div class="form-control-static" th:text="*{fh}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">建筑面积:</label>
+                <div class="form-control-static" th:text="*{zjmj}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">规划用途:</label>
+                <div class="form-control-static" th:text="*{ghyt}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">房屋性质:</label>
+                <div class="form-control-static" th:text="*{fwxz}"></div>
+            </div>
+        </form>
+    </div>
+    <th:block th:include="include :: footer" />
+</body>
+</html>

+ 154 - 0
mybusiness/src/main/resources/templates/system/real_estate/housing_initial/housing_initial.html

@@ -0,0 +1,154 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <th:block th:include="include :: header('市房地产-商品房初始信息列表')" />
+</head>
+<body class="gray-bg">
+     <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse">
+                <form id="formId">
+                    <div class="select-list">
+                        <ul>
+                            <li>
+                                <label>业务宗号:</label>
+                                <input type="text" name="YWZH"/>
+                            </li>
+                            <li>
+                                <label>证号:</label>
+                                <input type="text" name="LicenseID"/>
+                            </li>
+                            <li>
+                                <label>证号类型:</label>
+                                <input type="text" name="ZHLX"/>
+                            </li>
+                            <li>
+                                <label>所有权人:</label>
+                                <input type="text" name="SYQR"/>
+                            </li>
+                            <li>
+                                <label>幢号:</label>
+                                <input type="text" name="ZH"/>
+                            </li>
+                            <li>
+                                <label>房号:</label>
+                                <input type="text" name="FH"/>
+                            </li>
+                            <li>
+                                <label>建筑面积:</label>
+                                <input type="text" name="ZJMJ"/>
+                            </li>
+                            <li>
+                                <label>规划用途:</label>
+                                <input type="text" name="GHYT"/>
+                            </li>
+                            <li>
+                                <label>房屋性质:</label>
+                                <input type="text" name="FWXZ"/>
+                            </li>
+                            <li>
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+<!--                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:housing_initial:add">-->
+<!--                    <i class="fa fa-plus"></i> 添加-->
+<!--                </a>-->
+<!--                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:housing_initial:edit">-->
+<!--                    <i class="fa fa-edit"></i> 修改-->
+<!--                </a>-->
+<!--                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:housing_initial:remove">-->
+<!--                    <i class="fa fa-remove"></i> 删除-->
+<!--                </a>-->
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:housing_initial:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+    <th:block th:include="include :: footer" />
+    <script th:inline="javascript">
+        var editFlag = [[${@permission.hasPermi('system:housing_initial:edit')}]];
+        var removeFlag = [[${@permission.hasPermi('system:housing_initial:remove')}]];
+        var detailFlag = [[${@permission.hasPermi('system:housing_initial:detail')}]];
+
+        var prefix = ctx + "system/real_estate/real_estate_housing_initial";
+
+        $(function() {
+            var options = {
+                url: prefix + "/list",
+                createUrl: prefix + "/add",
+                updateUrl: prefix + "/edit/{id}",
+                removeUrl: prefix + "/remove",
+                exportUrl: prefix + "/export",
+                detailUrl: prefix + "/detail/{id}",
+                modalName: "市房地产-商品房初始信息",
+                columns: [{
+                    checkbox: true
+                },
+                {
+                    field: 'id',
+                    title: 'ID',
+                    visible: false
+                },
+                {
+                    field: 'ywzh',
+                    title: '业务宗号'
+                },
+                {
+                    field: 'licenseid',
+                    title: '证号'
+                },
+                {
+                    field: 'zhlx',
+                    title: '证号类型'
+                },
+                {
+                    field: 'syqr',
+                    title: '所有权人'
+                },
+                {
+                    field: 'zh',
+                    title: '幢号'
+                },
+                {
+                    field: 'fh',
+                    title: '房号'
+                },
+                {
+                    field: 'zjmj',
+                    title: '建筑面积'
+                },
+                {
+                    field: 'ghyt',
+                    title: '规划用途'
+                },
+                {
+                    field: 'fwxz',
+                    title: '房屋性质'
+                },
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        var actions = [];
+                        // actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                        // actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
+                        actions.push('<a class="btn btn-warning btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.id + '\')"><i class="fa fa-search"></i>详细</a>');
+                        return actions.join('');
+                    }
+                }]
+            };
+            $.table.init(options);
+        });
+    </script>
+</body>
+</html>

+ 89 - 0
mybusiness/src/main/resources/templates/system/real_estate/housing_stock/detail.html

@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('市房地产-存量房信息')" />
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-guiji-edit" th:object="${detail}">
+            <div class="form-group">
+                <label class="col-sm-3 control-label">合同号:</label>
+                <div class="form-control-static" th:text="*{hth}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">业务宗号:</label>
+                <div class="form-control-static" th:text="*{ywzh}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">出售人姓名:</label>
+                <div class="form-control-static" th:text="*{csrxm}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">买受人姓名:</label>
+                <div class="form-control-static" th:text="*{msrxm}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">身份证类型:</label>
+                <div class="form-control-static" th:text="*{sfzlx}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">身份证号:</label>
+                <div class="form-control-static" th:text="*{sfzh}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">联系地址:</label>
+                <div class="form-control-static" th:text="*{lxdz}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">房屋坐落:</label>
+                <div class="form-control-static" th:text="*{fwzl}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">合同总价:</label>
+                <div class="form-control-static" th:text="*{htzj}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">建筑面积:</label>
+                <div class="form-control-static" th:text="*{zjmj}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">交易面积:</label>
+                <div class="form-control-static" th:text="*{jymj}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">产权证号:</label>
+                <div class="form-control-static" th:text="*{cqzh}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">幢号:</label>
+                <div class="form-control-static" th:text="*{zh}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">房号:</label>
+                <div class="form-control-static" th:text="*{fh}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">规划用途:</label>
+                <div class="form-control-static" th:text="*{ghyt}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">套内面积:</label>
+                <div class="form-control-static" th:text="*{tnmj}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">公摊面积:</label>
+                <div class="form-control-static" th:text="*{gtmj}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">签约时间:</label>
+                <div class="form-control-static" th:text="*{qysj}"></div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">备案时间:</label>
+                <div class="form-control-static" th:text="*{basj}"></div>
+            </div>
+        </form>
+    </div>
+    <th:block th:include="include :: footer" />
+</body>
+</html>

+ 234 - 0
mybusiness/src/main/resources/templates/system/real_estate/housing_stock/housing_stock.html

@@ -0,0 +1,234 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <th:block th:include="include :: header('市房地产-存量房信息列表')" />
+</head>
+<body class="gray-bg">
+     <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse">
+                <form id="formId">
+                    <div class="select-list">
+                        <ul>
+                            <li>
+                                <label>合同号:</label>
+                                <input type="text" name="HTH"/>
+                            </li>
+                            <li>
+                                <label>业务宗号:</label>
+                                <input type="text" name="YWZH"/>
+                            </li>
+                            <li>
+                                <label>出售人姓名:</label>
+                                <input type="text" name="CSRXM"/>
+                            </li>
+                            <li>
+                                <label>买受人姓名:</label>
+                                <input type="text" name="MSRXM"/>
+                            </li>
+                            <li>
+                                <label>身份证类型:</label>
+                                <input type="text" name="SFZLX"/>
+                            </li>
+                            <li>
+                                <label>身份证号:</label>
+                                <input type="text" name="SFZH"/>
+                            </li>
+                            <li>
+                                <label>联系地址:</label>
+                                <input type="text" name="LXDZ"/>
+                            </li>
+                            <li>
+                                <label>房屋坐落:</label>
+                                <input type="text" name="FWZL"/>
+                            </li>
+                            <li>
+                                <label>合同总价:</label>
+                                <input type="text" name="HTZJ"/>
+                            </li>
+                            <li>
+                                <label>建筑面积:</label>
+                                <input type="text" name="ZJMJ"/>
+                            </li>
+                            <li>
+                                <label>交易面积:</label>
+                                <input type="text" name="JYMJ"/>
+                            </li>
+                            <li>
+                                <label>产权证号:</label>
+                                <input type="text" name="CQZH"/>
+                            </li>
+                            <li>
+                                <label>幢号:</label>
+                                <input type="text" name="ZH"/>
+                            </li>
+                            <li>
+                                <label>房号:</label>
+                                <input type="text" name="FH"/>
+                            </li>
+                            <li>
+                                <label>规划用途:</label>
+                                <input type="text" name="GHYT"/>
+                            </li>
+                            <li>
+                                <label>套内面积:</label>
+                                <input type="text" name="TNMJ"/>
+                            </li>
+                            <li>
+                                <label>公摊面积:</label>
+                                <input type="text" name="GTMJ"/>
+                            </li>
+                            <li>
+                                <label>签约时间:</label>
+                                <input type="text" name="QYSJ"/>
+                            </li>
+                            <li>
+                                <label>备案时间:</label>
+                                <input type="text" name="BASJ"/>
+                            </li>
+                            <li>
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+<!--                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:housing_initial:add">-->
+<!--                    <i class="fa fa-plus"></i> 添加-->
+<!--                </a>-->
+<!--                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:housing_initial:edit">-->
+<!--                    <i class="fa fa-edit"></i> 修改-->
+<!--                </a>-->
+<!--                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:housing_initial:remove">-->
+<!--                    <i class="fa fa-remove"></i> 删除-->
+<!--                </a>-->
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:housing_initial:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+    <th:block th:include="include :: footer" />
+    <script th:inline="javascript">
+        var editFlag = [[${@permission.hasPermi('system:housing_initial:edit')}]];
+        var removeFlag = [[${@permission.hasPermi('system:housing_initial:remove')}]];
+        var detailFlag = [[${@permission.hasPermi('system:housing_initial:detail')}]];
+
+        var prefix = ctx + "system/real_estate/real_estate_housing_initial";
+
+        $(function() {
+            var options = {
+                url: prefix + "/list",
+                createUrl: prefix + "/add",
+                updateUrl: prefix + "/edit/{id}",
+                removeUrl: prefix + "/remove",
+                exportUrl: prefix + "/export",
+                detailUrl: prefix + "/detail/{id}",
+                modalName: "市房地产-存量房信息",
+                columns: [{
+                    checkbox: true
+                },
+                {
+                    field: 'id',
+                    title: 'ID',
+                    visible: false
+                },
+                {
+                    field: 'hth',
+                    title: '合同号'
+                },
+                {
+                    field: 'ywzh',
+                    title: '业务宗号'
+                },
+                {
+                    field: 'csrxm',
+                    title: '出售人姓名'
+                },
+                {
+                    field: 'msrxm',
+                    title: '买受人姓名'
+                },
+                {
+                    field: 'sfzlx',
+                    title: '身份证类型'
+                },
+                {
+                    field: 'sfzh',
+                    title: '身份证号'
+                },
+                {
+                    field: 'lxdz',
+                    title: '联系地址'
+                },
+                {
+                    field: 'fwzl',
+                    title: '房屋坐落'
+                },
+                {
+                    field: 'htzj',
+                    title: '合同总价'
+                },
+                {
+                    field: 'zjmj',
+                    title: '建筑面积'
+                },
+                {
+                    field: 'jymj',
+                    title: '交易面积'
+                },
+                {
+                    field: 'cqzh',
+                    title: '产权证号'
+                },
+                {
+                    field: 'zh',
+                    title: '幢号'
+                },
+                {
+                    field: 'fh',
+                    title: '房号'
+                },
+                {
+                    field: 'ghyt',
+                    title: '规划用途'
+                },
+                {
+                    field: 'tnmj',
+                    title: '套内面积'
+                },
+                {
+                    field: 'gtmj',
+                    title: '公摊面积'
+                },
+                {
+                    field: 'qysj',
+                    title: '签约时间'
+                },
+                {
+                    field: 'basj',
+                    title: '备案时间'
+                },
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        var actions = [];
+                        // actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                        // actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
+                        actions.push('<a class="btn btn-warning btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.id + '\')"><i class="fa fa-search"></i>详细</a>');
+                        return actions.join('');
+                    }
+                }]
+            };
+            $.table.init(options);
+        });
+    </script>
+</body>
+</html>