Browse Source

市医药

lchao 2 years ago
parent
commit
2690d8057d
32 changed files with 3653 additions and 0 deletions
  1. 136 0
      mybusiness/src/main/java/com/sooka/system/medicine/industry/controller/TGuijiMedicineIndustryController.java
  2. 179 0
      mybusiness/src/main/java/com/sooka/system/medicine/industry/domain/TGuijiMedicineIndustry.java
  3. 63 0
      mybusiness/src/main/java/com/sooka/system/medicine/industry/mapper/TGuijiMedicineIndustryMapper.java
  4. 63 0
      mybusiness/src/main/java/com/sooka/system/medicine/industry/service/ITGuijiMedicineIndustryService.java
  5. 98 0
      mybusiness/src/main/java/com/sooka/system/medicine/industry/service/impl/TGuijiMedicineIndustryServiceImpl.java
  6. 135 0
      mybusiness/src/main/java/com/sooka/system/medicine/plant/controller/TGuijiMedicinePlantController.java
  7. 179 0
      mybusiness/src/main/java/com/sooka/system/medicine/plant/domain/TGuijiMedicinePlant.java
  8. 63 0
      mybusiness/src/main/java/com/sooka/system/medicine/plant/mapper/TGuijiMedicinePlantMapper.java
  9. 63 0
      mybusiness/src/main/java/com/sooka/system/medicine/plant/service/ITGuijiMedicinePlantService.java
  10. 98 0
      mybusiness/src/main/java/com/sooka/system/medicine/plant/service/impl/TGuijiMedicinePlantServiceImpl.java
  11. 136 0
      mybusiness/src/main/java/com/sooka/system/medicine/platform/controller/TGuijiMedicinePlatformController.java
  12. 193 0
      mybusiness/src/main/java/com/sooka/system/medicine/platform/domain/TGuijiMedicinePlatform.java
  13. 63 0
      mybusiness/src/main/java/com/sooka/system/medicine/platform/mapper/TGuijiMedicinePlatformMapper.java
  14. 63 0
      mybusiness/src/main/java/com/sooka/system/medicine/platform/service/ITGuijiMedicinePlatformService.java
  15. 98 0
      mybusiness/src/main/java/com/sooka/system/medicine/platform/service/impl/TGuijiMedicinePlatformServiceImpl.java
  16. 136 0
      mybusiness/src/main/java/com/sooka/system/medicine/project/controller/TGuijiMedicineProjectController.java
  17. 193 0
      mybusiness/src/main/java/com/sooka/system/medicine/project/domain/TGuijiMedicineProject.java
  18. 63 0
      mybusiness/src/main/java/com/sooka/system/medicine/project/mapper/TGuijiMedicineProjectMapper.java
  19. 63 0
      mybusiness/src/main/java/com/sooka/system/medicine/project/service/ITGuijiMedicineProjectService.java
  20. 98 0
      mybusiness/src/main/java/com/sooka/system/medicine/project/service/impl/TGuijiMedicineProjectServiceImpl.java
  21. 108 0
      mybusiness/src/main/resources/mapper/system/TGuijiMedicineIndustryMapper.xml
  22. 108 0
      mybusiness/src/main/resources/mapper/system/TGuijiMedicinePlantMapper.xml
  23. 113 0
      mybusiness/src/main/resources/mapper/system/TGuijiMedicinePlatformMapper.xml
  24. 113 0
      mybusiness/src/main/resources/mapper/system/TGuijiMedicineProjectMapper.xml
  25. 79 0
      mybusiness/src/main/resources/templates/system/medicine/industry/detail.html
  26. 168 0
      mybusiness/src/main/resources/templates/system/medicine/industry/industry.html
  27. 77 0
      mybusiness/src/main/resources/templates/system/medicine/plant/detail.html
  28. 162 0
      mybusiness/src/main/resources/templates/system/medicine/plant/plant.html
  29. 97 0
      mybusiness/src/main/resources/templates/system/medicine/platform/detail.html
  30. 173 0
      mybusiness/src/main/resources/templates/system/medicine/platform/platform.html
  31. 99 0
      mybusiness/src/main/resources/templates/system/medicine/project/detail.html
  32. 173 0
      mybusiness/src/main/resources/templates/system/medicine/project/project.html

+ 136 - 0
mybusiness/src/main/java/com/sooka/system/medicine/industry/controller/TGuijiMedicineIndustryController.java

@@ -0,0 +1,136 @@
+package com.sooka.system.medicine.industry.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.domain.TGuijiLibraryBorrow;
+import com.sooka.system.medicine.industry.domain.TGuijiMedicineIndustry;
+import com.sooka.system.medicine.industry.service.ITGuijiMedicineIndustryService;
+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/medicine/industry")
+public class TGuijiMedicineIndustryController extends BaseController
+{
+    private String prefix = "system/medicine/industry";
+
+    @Autowired
+    private ITGuijiMedicineIndustryService tGuijiMedicineIndustryService;
+
+    @RequiresPermissions("system:industry:view")
+    @GetMapping()
+    public String industry()
+    {
+        return prefix + "/industry";
+    }
+
+    /**
+     * 查询规上工业经济数据列表
+     */
+    @RequiresPermissions("system:industry:list")
+    @PostMapping("/list")
+    @ResponseBody
+    public TableDataInfo list(TGuijiMedicineIndustry tGuijiMedicineIndustry)
+    {
+        startPage();
+        List<TGuijiMedicineIndustry> list = tGuijiMedicineIndustryService.selectTGuijiMedicineIndustryList(tGuijiMedicineIndustry);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出规上工业经济数据列表
+     */
+    @RequiresPermissions("system:industry:export")
+    @Log(title = "规上工业经济数据", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    @ResponseBody
+    public AjaxResult export(TGuijiMedicineIndustry tGuijiMedicineIndustry)
+    {
+        List<TGuijiMedicineIndustry> list = tGuijiMedicineIndustryService.selectTGuijiMedicineIndustryList(tGuijiMedicineIndustry);
+        ExcelUtil<TGuijiMedicineIndustry> util = new ExcelUtil<TGuijiMedicineIndustry>(TGuijiMedicineIndustry.class);
+        return util.exportExcel(list, "industry");
+    }
+
+    /**
+     * 新增规上工业经济数据
+     */
+    @GetMapping("/add")
+    public String add()
+    {
+        return prefix + "/add";
+    }
+
+    /**
+     * 新增保存规上工业经济数据
+     */
+    @RequiresPermissions("system:industry:add")
+    @Log(title = "规上工业经济数据", businessType = BusinessType.INSERT)
+    @PostMapping("/add")
+    @ResponseBody
+    public AjaxResult addSave(TGuijiMedicineIndustry tGuijiMedicineIndustry)
+    {
+        return toAjax(tGuijiMedicineIndustryService.insertTGuijiMedicineIndustry(tGuijiMedicineIndustry));
+    }
+
+    /**
+     * 修改规上工业经济数据
+     */
+    @GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiMedicineIndustry tGuijiMedicineIndustry = tGuijiMedicineIndustryService.selectTGuijiMedicineIndustryById(id);
+        mmap.put("tGuijiMedicineIndustry", tGuijiMedicineIndustry);
+        return prefix + "/edit";
+    }
+
+    /**
+     * 修改保存规上工业经济数据
+     */
+    @RequiresPermissions("system:industry:edit")
+    @Log(title = "规上工业经济数据", businessType = BusinessType.UPDATE)
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(TGuijiMedicineIndustry tGuijiMedicineIndustry)
+    {
+        return toAjax(tGuijiMedicineIndustryService.updateTGuijiMedicineIndustry(tGuijiMedicineIndustry));
+    }
+
+    /**
+     * 删除规上工业经济数据
+     */
+    @RequiresPermissions("system:industry:remove")
+    @Log(title = "规上工业经济数据", businessType = BusinessType.DELETE)
+    @PostMapping( "/remove")
+    @ResponseBody
+    public AjaxResult remove(String ids)
+    {
+        return toAjax(tGuijiMedicineIndustryService.deleteTGuijiMedicineIndustryByIds(ids));
+    }
+
+    /**
+     * 规上工业经济数据详情
+     */
+    @GetMapping("/detail/{id}")
+    public String detail(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiMedicineIndustry tGuijiMedicineIndustry = tGuijiMedicineIndustryService.selectTGuijiMedicineIndustryById(id);
+        mmap.put("tGuijiMedicineIndustry", tGuijiMedicineIndustry);
+        return prefix + "/detail";
+    }
+}

+ 179 - 0
mybusiness/src/main/java/com/sooka/system/medicine/industry/domain/TGuijiMedicineIndustry.java

@@ -0,0 +1,179 @@
+package com.sooka.system.medicine.industry.domain;
+
+
+import com.sooka.common.annotation.Excel;
+import com.sooka.common.core.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 规上工业经济数据对象 t_guiji_medicine_industry
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public class TGuijiMedicineIndustry extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 传感器编号 */
+    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 year;
+
+    /** 截至月份 */
+    @Excel(name = "截至月份")
+    private String month;
+
+    /** 经济数据类型 */
+    @Excel(name = "经济数据类型")
+    private String economyType;
+
+    /** 数值 */
+    @Excel(name = "数值")
+    private String number;
+
+    /** 同比增长 */
+    @Excel(name = "同比增长")
+    private String yearOnYear;
+
+    /** 占比全市规上 */
+    @Excel(name = "占比全市规上")
+    private String cityProportion;
+
+    public void setId(String id)
+    {
+        this.id = id;
+    }
+
+    public String getId()
+    {
+        return id;
+    }
+    public void setCdTime(String cdTime)
+    {
+        this.cdTime = cdTime;
+    }
+
+    public String getCdTime()
+    {
+        return cdTime;
+    }
+    public void setCdBatch(String cdBatch)
+    {
+        this.cdBatch = cdBatch;
+    }
+
+    public String getCdBatch()
+    {
+        return cdBatch;
+    }
+    public void setCdOperation(String cdOperation)
+    {
+        this.cdOperation = cdOperation;
+    }
+
+    public String getCdOperation()
+    {
+        return cdOperation;
+    }
+    public void setCdSource(String cdSource)
+    {
+        this.cdSource = cdSource;
+    }
+
+    public String getCdSource()
+    {
+        return cdSource;
+    }
+    public void setYear(String year)
+    {
+        this.year = year;
+    }
+
+    public String getYear()
+    {
+        return year;
+    }
+    public void setMonth(String month)
+    {
+        this.month = month;
+    }
+
+    public String getMonth()
+    {
+        return month;
+    }
+    public void setEconomyType(String economyType)
+    {
+        this.economyType = economyType;
+    }
+
+    public String getEconomyType()
+    {
+        return economyType;
+    }
+    public void setNumber(String number)
+    {
+        this.number = number;
+    }
+
+    public String getNumber()
+    {
+        return number;
+    }
+    public void setYearOnYear(String yearOnYear)
+    {
+        this.yearOnYear = yearOnYear;
+    }
+
+    public String getYearOnYear()
+    {
+        return yearOnYear;
+    }
+    public void setCityProportion(String cityProportion)
+    {
+        this.cityProportion = cityProportion;
+    }
+
+    public String getCityProportion()
+    {
+        return cityProportion;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("createTime", getCreateTime())
+            .append("cdTime", getCdTime())
+            .append("cdBatch", getCdBatch())
+            .append("cdOperation", getCdOperation())
+            .append("cdSource", getCdSource())
+            .append("year", getYear())
+            .append("month", getMonth())
+            .append("economyType", getEconomyType())
+            .append("number", getNumber())
+            .append("yearOnYear", getYearOnYear())
+            .append("cityProportion", getCityProportion())
+            .toString();
+    }
+}

+ 63 - 0
mybusiness/src/main/java/com/sooka/system/medicine/industry/mapper/TGuijiMedicineIndustryMapper.java

@@ -0,0 +1,63 @@
+package com.sooka.system.medicine.industry.mapper;
+
+
+import com.sooka.system.medicine.industry.domain.TGuijiMedicineIndustry;
+
+import java.util.List;
+
+/**
+ * 规上工业经济数据Mapper接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface TGuijiMedicineIndustryMapper
+{
+    /**
+     * 查询规上工业经济数据
+     *
+     * @param id 规上工业经济数据ID
+     * @return 规上工业经济数据
+     */
+    public TGuijiMedicineIndustry selectTGuijiMedicineIndustryById(String id);
+
+    /**
+     * 查询规上工业经济数据列表
+     *
+     * @param tGuijiMedicineIndustry 规上工业经济数据
+     * @return 规上工业经济数据集合
+     */
+    public List<TGuijiMedicineIndustry> selectTGuijiMedicineIndustryList(TGuijiMedicineIndustry tGuijiMedicineIndustry);
+
+    /**
+     * 新增规上工业经济数据
+     *
+     * @param tGuijiMedicineIndustry 规上工业经济数据
+     * @return 结果
+     */
+    public int insertTGuijiMedicineIndustry(TGuijiMedicineIndustry tGuijiMedicineIndustry);
+
+    /**
+     * 修改规上工业经济数据
+     *
+     * @param tGuijiMedicineIndustry 规上工业经济数据
+     * @return 结果
+     */
+    public int updateTGuijiMedicineIndustry(TGuijiMedicineIndustry tGuijiMedicineIndustry);
+
+    /**
+     * 删除规上工业经济数据
+     *
+     * @param id 规上工业经济数据ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicineIndustryById(String id);
+
+    /**
+     * 批量删除规上工业经济数据
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicineIndustryByIds(String[] ids);
+}

+ 63 - 0
mybusiness/src/main/java/com/sooka/system/medicine/industry/service/ITGuijiMedicineIndustryService.java

@@ -0,0 +1,63 @@
+package com.sooka.system.medicine.industry.service;
+
+
+import com.sooka.system.medicine.industry.domain.TGuijiMedicineIndustry;
+
+import java.util.List;
+
+/**
+ * 规上工业经济数据Service接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface ITGuijiMedicineIndustryService
+{
+    /**
+     * 查询规上工业经济数据
+     *
+     * @param id 规上工业经济数据ID
+     * @return 规上工业经济数据
+     */
+    public TGuijiMedicineIndustry selectTGuijiMedicineIndustryById(String id);
+
+    /**
+     * 查询规上工业经济数据列表
+     *
+     * @param tGuijiMedicineIndustry 规上工业经济数据
+     * @return 规上工业经济数据集合
+     */
+    public List<TGuijiMedicineIndustry> selectTGuijiMedicineIndustryList(TGuijiMedicineIndustry tGuijiMedicineIndustry);
+
+    /**
+     * 新增规上工业经济数据
+     *
+     * @param tGuijiMedicineIndustry 规上工业经济数据
+     * @return 结果
+     */
+    public int insertTGuijiMedicineIndustry(TGuijiMedicineIndustry tGuijiMedicineIndustry);
+
+    /**
+     * 修改规上工业经济数据
+     *
+     * @param tGuijiMedicineIndustry 规上工业经济数据
+     * @return 结果
+     */
+    public int updateTGuijiMedicineIndustry(TGuijiMedicineIndustry tGuijiMedicineIndustry);
+
+    /**
+     * 批量删除规上工业经济数据
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicineIndustryByIds(String ids);
+
+    /**
+     * 删除规上工业经济数据信息
+     *
+     * @param id 规上工业经济数据ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicineIndustryById(String id);
+}

+ 98 - 0
mybusiness/src/main/java/com/sooka/system/medicine/industry/service/impl/TGuijiMedicineIndustryServiceImpl.java

@@ -0,0 +1,98 @@
+package com.sooka.system.medicine.industry.service.impl;
+
+
+import com.sooka.common.core.text.Convert;
+import com.sooka.common.utils.DateUtils;
+import com.sooka.system.medicine.industry.domain.TGuijiMedicineIndustry;
+import com.sooka.system.medicine.industry.mapper.TGuijiMedicineIndustryMapper;
+import com.sooka.system.medicine.industry.service.ITGuijiMedicineIndustryService;
+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 TGuijiMedicineIndustryServiceImpl implements ITGuijiMedicineIndustryService
+{
+    @Autowired
+    private TGuijiMedicineIndustryMapper tGuijiMedicineIndustryMapper;
+
+    /**
+     * 查询规上工业经济数据
+     *
+     * @param id 规上工业经济数据ID
+     * @return 规上工业经济数据
+     */
+    @Override
+    public TGuijiMedicineIndustry selectTGuijiMedicineIndustryById(String id)
+    {
+        return tGuijiMedicineIndustryMapper.selectTGuijiMedicineIndustryById(id);
+    }
+
+    /**
+     * 查询规上工业经济数据列表
+     *
+     * @param tGuijiMedicineIndustry 规上工业经济数据
+     * @return 规上工业经济数据
+     */
+    @Override
+    public List<TGuijiMedicineIndustry> selectTGuijiMedicineIndustryList(TGuijiMedicineIndustry tGuijiMedicineIndustry)
+    {
+        return tGuijiMedicineIndustryMapper.selectTGuijiMedicineIndustryList(tGuijiMedicineIndustry);
+    }
+
+    /**
+     * 新增规上工业经济数据
+     *
+     * @param tGuijiMedicineIndustry 规上工业经济数据
+     * @return 结果
+     */
+    @Override
+    public int insertTGuijiMedicineIndustry(TGuijiMedicineIndustry tGuijiMedicineIndustry)
+    {
+        tGuijiMedicineIndustry.setCreateTime(DateUtils.getNowDate());
+        return tGuijiMedicineIndustryMapper.insertTGuijiMedicineIndustry(tGuijiMedicineIndustry);
+    }
+
+    /**
+     * 修改规上工业经济数据
+     *
+     * @param tGuijiMedicineIndustry 规上工业经济数据
+     * @return 结果
+     */
+    @Override
+    public int updateTGuijiMedicineIndustry(TGuijiMedicineIndustry tGuijiMedicineIndustry)
+    {
+        return tGuijiMedicineIndustryMapper.updateTGuijiMedicineIndustry(tGuijiMedicineIndustry);
+    }
+
+    /**
+     * 删除规上工业经济数据对象
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTGuijiMedicineIndustryByIds(String ids)
+    {
+        return tGuijiMedicineIndustryMapper.deleteTGuijiMedicineIndustryByIds(Convert.toStrArray(ids));
+    }
+
+    /**
+     * 删除规上工业经济数据信息
+     *
+     * @param id 规上工业经济数据ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTGuijiMedicineIndustryById(String id)
+    {
+        return tGuijiMedicineIndustryMapper.deleteTGuijiMedicineIndustryById(id);
+    }
+}

+ 135 - 0
mybusiness/src/main/java/com/sooka/system/medicine/plant/controller/TGuijiMedicinePlantController.java

@@ -0,0 +1,135 @@
+package com.sooka.system.medicine.plant.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.medicine.industry.domain.TGuijiMedicineIndustry;
+import com.sooka.system.medicine.plant.domain.TGuijiMedicinePlant;
+import com.sooka.system.medicine.plant.service.ITGuijiMedicinePlantService;
+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/medicine/plant")
+public class TGuijiMedicinePlantController extends BaseController
+{
+    private String prefix = "system/medicine/plant";
+
+    @Autowired
+    private ITGuijiMedicinePlantService tGuijiMedicinePlantService;
+
+    @RequiresPermissions("system:plant:view")
+    @GetMapping()
+    public String plant()
+    {
+        return prefix + "/plant";
+    }
+
+    /**
+     * 查询种植采集数列表
+     */
+    @RequiresPermissions("system:plant:list")
+    @PostMapping("/list")
+    @ResponseBody
+    public TableDataInfo list(TGuijiMedicinePlant tGuijiMedicinePlant)
+    {
+        startPage();
+        List<TGuijiMedicinePlant> list = tGuijiMedicinePlantService.selectTGuijiMedicinePlantList(tGuijiMedicinePlant);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出种植采集数列表
+     */
+    @RequiresPermissions("system:plant:export")
+    @Log(title = "种植采集数", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    @ResponseBody
+    public AjaxResult export(TGuijiMedicinePlant tGuijiMedicinePlant)
+    {
+        List<TGuijiMedicinePlant> list = tGuijiMedicinePlantService.selectTGuijiMedicinePlantList(tGuijiMedicinePlant);
+        ExcelUtil<TGuijiMedicinePlant> util = new ExcelUtil<TGuijiMedicinePlant>(TGuijiMedicinePlant.class);
+        return util.exportExcel(list, "plant");
+    }
+
+    /**
+     * 新增种植采集数
+     */
+    @GetMapping("/add")
+    public String add()
+    {
+        return prefix + "/add";
+    }
+
+    /**
+     * 新增保存种植采集数
+     */
+    @RequiresPermissions("system:plant:add")
+    @Log(title = "种植采集数", businessType = BusinessType.INSERT)
+    @PostMapping("/add")
+    @ResponseBody
+    public AjaxResult addSave(TGuijiMedicinePlant tGuijiMedicinePlant)
+    {
+        return toAjax(tGuijiMedicinePlantService.insertTGuijiMedicinePlant(tGuijiMedicinePlant));
+    }
+
+    /**
+     * 修改种植采集数
+     */
+    @GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiMedicinePlant tGuijiMedicinePlant = tGuijiMedicinePlantService.selectTGuijiMedicinePlantById(id);
+        mmap.put("tGuijiMedicinePlant", tGuijiMedicinePlant);
+        return prefix + "/edit";
+    }
+
+    /**
+     * 修改保存种植采集数
+     */
+    @RequiresPermissions("system:plant:edit")
+    @Log(title = "种植采集数", businessType = BusinessType.UPDATE)
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(TGuijiMedicinePlant tGuijiMedicinePlant)
+    {
+        return toAjax(tGuijiMedicinePlantService.updateTGuijiMedicinePlant(tGuijiMedicinePlant));
+    }
+
+    /**
+     * 删除种植采集数
+     */
+    @RequiresPermissions("system:plant:remove")
+    @Log(title = "种植采集数", businessType = BusinessType.DELETE)
+    @PostMapping( "/remove")
+    @ResponseBody
+    public AjaxResult remove(String ids)
+    {
+        return toAjax(tGuijiMedicinePlantService.deleteTGuijiMedicinePlantByIds(ids));
+    }
+    /**
+     * 种植采集数详情
+     */
+    @GetMapping("/detail/{id}")
+    public String detail(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiMedicinePlant tGuijiMedicinePlant = tGuijiMedicinePlantService.selectTGuijiMedicinePlantById(id);
+        mmap.put("tGuijiMedicinePlant", tGuijiMedicinePlant);
+        return prefix + "/detail";
+    }
+}

+ 179 - 0
mybusiness/src/main/java/com/sooka/system/medicine/plant/domain/TGuijiMedicinePlant.java

@@ -0,0 +1,179 @@
+package com.sooka.system.medicine.plant.domain;
+
+
+import com.sooka.common.annotation.Excel;
+import com.sooka.common.core.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 种植采集数对象 t_guiji_medicine_plant
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public class TGuijiMedicinePlant extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 传感器编号 */
+    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 plantName;
+
+    /** 种植区域 */
+    @Excel(name = "种植区域")
+    private String plantAddress;
+
+    /** 种植面积 */
+    @Excel(name = "种植面积")
+    private String plantHectare;
+
+    /** 年产量 */
+    @Excel(name = "年产量")
+    private String produceTons;
+
+    /** 年产值 */
+    @Excel(name = "年产值")
+    private String produceValue;
+
+    /** 统计年份 */
+    @Excel(name = "统计年份")
+    private String plantYear;
+
+    public void setId(String id)
+    {
+        this.id = id;
+    }
+
+    public String getId()
+    {
+        return id;
+    }
+    public void setCdTime(String cdTime)
+    {
+        this.cdTime = cdTime;
+    }
+
+    public String getCdTime()
+    {
+        return cdTime;
+    }
+    public void setCdBatch(String cdBatch)
+    {
+        this.cdBatch = cdBatch;
+    }
+
+    public String getCdBatch()
+    {
+        return cdBatch;
+    }
+    public void setCdOperation(String cdOperation)
+    {
+        this.cdOperation = cdOperation;
+    }
+
+    public String getCdOperation()
+    {
+        return cdOperation;
+    }
+    public void setCdSource(String cdSource)
+    {
+        this.cdSource = cdSource;
+    }
+
+    public String getCdSource()
+    {
+        return cdSource;
+    }
+    public void setPlantName(String plantName)
+    {
+        this.plantName = plantName;
+    }
+
+    public String getPlantName()
+    {
+        return plantName;
+    }
+    public void setPlantAddress(String plantAddress)
+    {
+        this.plantAddress = plantAddress;
+    }
+
+    public String getPlantAddress()
+    {
+        return plantAddress;
+    }
+    public void setPlantHectare(String plantHectare)
+    {
+        this.plantHectare = plantHectare;
+    }
+
+    public String getPlantHectare()
+    {
+        return plantHectare;
+    }
+    public void setProduceTons(String produceTons)
+    {
+        this.produceTons = produceTons;
+    }
+
+    public String getProduceTons()
+    {
+        return produceTons;
+    }
+    public void setProduceValue(String produceValue)
+    {
+        this.produceValue = produceValue;
+    }
+
+    public String getProduceValue()
+    {
+        return produceValue;
+    }
+    public void setPlantYear(String plantYear)
+    {
+        this.plantYear = plantYear;
+    }
+
+    public String getPlantYear()
+    {
+        return plantYear;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("createTime", getCreateTime())
+            .append("cdTime", getCdTime())
+            .append("cdBatch", getCdBatch())
+            .append("cdOperation", getCdOperation())
+            .append("cdSource", getCdSource())
+            .append("plantName", getPlantName())
+            .append("plantAddress", getPlantAddress())
+            .append("plantHectare", getPlantHectare())
+            .append("produceTons", getProduceTons())
+            .append("produceValue", getProduceValue())
+            .append("plantYear", getPlantYear())
+            .toString();
+    }
+}

+ 63 - 0
mybusiness/src/main/java/com/sooka/system/medicine/plant/mapper/TGuijiMedicinePlantMapper.java

@@ -0,0 +1,63 @@
+package com.sooka.system.medicine.plant.mapper;
+
+
+import com.sooka.system.medicine.plant.domain.TGuijiMedicinePlant;
+
+import java.util.List;
+
+/**
+ * 种植采集数Mapper接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface TGuijiMedicinePlantMapper
+{
+    /**
+     * 查询种植采集数
+     *
+     * @param id 种植采集数ID
+     * @return 种植采集数
+     */
+    public TGuijiMedicinePlant selectTGuijiMedicinePlantById(String id);
+
+    /**
+     * 查询种植采集数列表
+     *
+     * @param tGuijiMedicinePlant 种植采集数
+     * @return 种植采集数集合
+     */
+    public List<TGuijiMedicinePlant> selectTGuijiMedicinePlantList(TGuijiMedicinePlant tGuijiMedicinePlant);
+
+    /**
+     * 新增种植采集数
+     *
+     * @param tGuijiMedicinePlant 种植采集数
+     * @return 结果
+     */
+    public int insertTGuijiMedicinePlant(TGuijiMedicinePlant tGuijiMedicinePlant);
+
+    /**
+     * 修改种植采集数
+     *
+     * @param tGuijiMedicinePlant 种植采集数
+     * @return 结果
+     */
+    public int updateTGuijiMedicinePlant(TGuijiMedicinePlant tGuijiMedicinePlant);
+
+    /**
+     * 删除种植采集数
+     *
+     * @param id 种植采集数ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicinePlantById(String id);
+
+    /**
+     * 批量删除种植采集数
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicinePlantByIds(String[] ids);
+}

+ 63 - 0
mybusiness/src/main/java/com/sooka/system/medicine/plant/service/ITGuijiMedicinePlantService.java

@@ -0,0 +1,63 @@
+package com.sooka.system.medicine.plant.service;
+
+
+import com.sooka.system.medicine.plant.domain.TGuijiMedicinePlant;
+
+import java.util.List;
+
+/**
+ * 种植采集数Service接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface ITGuijiMedicinePlantService
+{
+    /**
+     * 查询种植采集数
+     *
+     * @param id 种植采集数ID
+     * @return 种植采集数
+     */
+    public TGuijiMedicinePlant selectTGuijiMedicinePlantById(String id);
+
+    /**
+     * 查询种植采集数列表
+     *
+     * @param tGuijiMedicinePlant 种植采集数
+     * @return 种植采集数集合
+     */
+    public List<TGuijiMedicinePlant> selectTGuijiMedicinePlantList(TGuijiMedicinePlant tGuijiMedicinePlant);
+
+    /**
+     * 新增种植采集数
+     *
+     * @param tGuijiMedicinePlant 种植采集数
+     * @return 结果
+     */
+    public int insertTGuijiMedicinePlant(TGuijiMedicinePlant tGuijiMedicinePlant);
+
+    /**
+     * 修改种植采集数
+     *
+     * @param tGuijiMedicinePlant 种植采集数
+     * @return 结果
+     */
+    public int updateTGuijiMedicinePlant(TGuijiMedicinePlant tGuijiMedicinePlant);
+
+    /**
+     * 批量删除种植采集数
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicinePlantByIds(String ids);
+
+    /**
+     * 删除种植采集数信息
+     *
+     * @param id 种植采集数ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicinePlantById(String id);
+}

+ 98 - 0
mybusiness/src/main/java/com/sooka/system/medicine/plant/service/impl/TGuijiMedicinePlantServiceImpl.java

@@ -0,0 +1,98 @@
+package com.sooka.system.medicine.plant.service.impl;
+
+
+import com.sooka.common.core.text.Convert;
+import com.sooka.common.utils.DateUtils;
+import com.sooka.system.medicine.plant.domain.TGuijiMedicinePlant;
+import com.sooka.system.medicine.plant.mapper.TGuijiMedicinePlantMapper;
+import com.sooka.system.medicine.plant.service.ITGuijiMedicinePlantService;
+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 TGuijiMedicinePlantServiceImpl implements ITGuijiMedicinePlantService
+{
+    @Autowired
+    private TGuijiMedicinePlantMapper tGuijiMedicinePlantMapper;
+
+    /**
+     * 查询种植采集数
+     *
+     * @param id 种植采集数ID
+     * @return 种植采集数
+     */
+    @Override
+    public TGuijiMedicinePlant selectTGuijiMedicinePlantById(String id)
+    {
+        return tGuijiMedicinePlantMapper.selectTGuijiMedicinePlantById(id);
+    }
+
+    /**
+     * 查询种植采集数列表
+     *
+     * @param tGuijiMedicinePlant 种植采集数
+     * @return 种植采集数
+     */
+    @Override
+    public List<TGuijiMedicinePlant> selectTGuijiMedicinePlantList(TGuijiMedicinePlant tGuijiMedicinePlant)
+    {
+        return tGuijiMedicinePlantMapper.selectTGuijiMedicinePlantList(tGuijiMedicinePlant);
+    }
+
+    /**
+     * 新增种植采集数
+     *
+     * @param tGuijiMedicinePlant 种植采集数
+     * @return 结果
+     */
+    @Override
+    public int insertTGuijiMedicinePlant(TGuijiMedicinePlant tGuijiMedicinePlant)
+    {
+        tGuijiMedicinePlant.setCreateTime(DateUtils.getNowDate());
+        return tGuijiMedicinePlantMapper.insertTGuijiMedicinePlant(tGuijiMedicinePlant);
+    }
+
+    /**
+     * 修改种植采集数
+     *
+     * @param tGuijiMedicinePlant 种植采集数
+     * @return 结果
+     */
+    @Override
+    public int updateTGuijiMedicinePlant(TGuijiMedicinePlant tGuijiMedicinePlant)
+    {
+        return tGuijiMedicinePlantMapper.updateTGuijiMedicinePlant(tGuijiMedicinePlant);
+    }
+
+    /**
+     * 删除种植采集数对象
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTGuijiMedicinePlantByIds(String ids)
+    {
+        return tGuijiMedicinePlantMapper.deleteTGuijiMedicinePlantByIds(Convert.toStrArray(ids));
+    }
+
+    /**
+     * 删除种植采集数信息
+     *
+     * @param id 种植采集数ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTGuijiMedicinePlantById(String id)
+    {
+        return tGuijiMedicinePlantMapper.deleteTGuijiMedicinePlantById(id);
+    }
+}

+ 136 - 0
mybusiness/src/main/java/com/sooka/system/medicine/platform/controller/TGuijiMedicinePlatformController.java

@@ -0,0 +1,136 @@
+package com.sooka.system.medicine.platform.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.medicine.plant.domain.TGuijiMedicinePlant;
+import com.sooka.system.medicine.platform.domain.TGuijiMedicinePlatform;
+import com.sooka.system.medicine.platform.service.ITGuijiMedicinePlatformService;
+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/medicine/platform")
+public class TGuijiMedicinePlatformController extends BaseController
+{
+    private String prefix = "system/medicine/platform";
+
+    @Autowired
+    private ITGuijiMedicinePlatformService tGuijiMedicinePlatformService;
+
+    @RequiresPermissions("system:platform:view")
+    @GetMapping()
+    public String platform()
+    {
+        return prefix + "/platform";
+    }
+
+    /**
+     * 查询平台采集列表
+     */
+    @RequiresPermissions("system:platform:list")
+    @PostMapping("/list")
+    @ResponseBody
+    public TableDataInfo list(TGuijiMedicinePlatform tGuijiMedicinePlatform)
+    {
+        startPage();
+        List<TGuijiMedicinePlatform> list = tGuijiMedicinePlatformService.selectTGuijiMedicinePlatformList(tGuijiMedicinePlatform);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出平台采集列表
+     */
+    @RequiresPermissions("system:platform:export")
+    @Log(title = "平台采集", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    @ResponseBody
+    public AjaxResult export(TGuijiMedicinePlatform tGuijiMedicinePlatform)
+    {
+        List<TGuijiMedicinePlatform> list = tGuijiMedicinePlatformService.selectTGuijiMedicinePlatformList(tGuijiMedicinePlatform);
+        ExcelUtil<TGuijiMedicinePlatform> util = new ExcelUtil<TGuijiMedicinePlatform>(TGuijiMedicinePlatform.class);
+        return util.exportExcel(list, "platform");
+    }
+
+    /**
+     * 新增平台采集
+     */
+    @GetMapping("/add")
+    public String add()
+    {
+        return prefix + "/add";
+    }
+
+    /**
+     * 新增保存平台采集
+     */
+    @RequiresPermissions("system:platform:add")
+    @Log(title = "平台采集", businessType = BusinessType.INSERT)
+    @PostMapping("/add")
+    @ResponseBody
+    public AjaxResult addSave(TGuijiMedicinePlatform tGuijiMedicinePlatform)
+    {
+        return toAjax(tGuijiMedicinePlatformService.insertTGuijiMedicinePlatform(tGuijiMedicinePlatform));
+    }
+
+    /**
+     * 修改平台采集
+     */
+    @GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiMedicinePlatform tGuijiMedicinePlatform = tGuijiMedicinePlatformService.selectTGuijiMedicinePlatformById(id);
+        mmap.put("tGuijiMedicinePlatform", tGuijiMedicinePlatform);
+        return prefix + "/edit";
+    }
+
+    /**
+     * 修改保存平台采集
+     */
+    @RequiresPermissions("system:platform:edit")
+    @Log(title = "平台采集", businessType = BusinessType.UPDATE)
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(TGuijiMedicinePlatform tGuijiMedicinePlatform)
+    {
+        return toAjax(tGuijiMedicinePlatformService.updateTGuijiMedicinePlatform(tGuijiMedicinePlatform));
+    }
+
+    /**
+     * 删除平台采集
+     */
+    @RequiresPermissions("system:platform:remove")
+    @Log(title = "平台采集", businessType = BusinessType.DELETE)
+    @PostMapping( "/remove")
+    @ResponseBody
+    public AjaxResult remove(String ids)
+    {
+        return toAjax(tGuijiMedicinePlatformService.deleteTGuijiMedicinePlatformByIds(ids));
+    }
+
+    /**
+     * 平台采集详情
+     */
+    @GetMapping("/detail/{id}")
+    public String detail(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiMedicinePlatform tGuijiMedicinePlatform = tGuijiMedicinePlatformService.selectTGuijiMedicinePlatformById(id);
+        mmap.put("tGuijiMedicinePlatform", tGuijiMedicinePlatform);
+        return prefix + "/detail";
+    }
+}

+ 193 - 0
mybusiness/src/main/java/com/sooka/system/medicine/platform/domain/TGuijiMedicinePlatform.java

@@ -0,0 +1,193 @@
+package com.sooka.system.medicine.platform.domain;
+
+
+import com.sooka.common.annotation.Excel;
+import com.sooka.common.core.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 平台采集对象 t_guiji_medicine_platform
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public class TGuijiMedicinePlatform extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 传感器编号 */
+    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 platformName;
+
+    /** 建设单位 */
+    @Excel(name = "建设单位")
+    private String constructingUnit;
+
+    /** 建设时间 */
+    @Excel(name = "建设时间")
+    private String constructingDate;
+
+    /** 平台地址 */
+    @Excel(name = "平台地址")
+    private String platformAddress;
+
+    /** 平台地址Ext */
+    @Excel(name = "平台地址Ext")
+    private String platformAddressExt;
+
+    /** 平台级别 */
+    @Excel(name = "平台级别")
+    private String platformLevel;
+
+    /** 平台类型 */
+    @Excel(name = "平台类型")
+    private String platformType;
+
+    public void setId(String id)
+    {
+        this.id = id;
+    }
+
+    public String getId()
+    {
+        return id;
+    }
+    public void setCdTime(String cdTime)
+    {
+        this.cdTime = cdTime;
+    }
+
+    public String getCdTime()
+    {
+        return cdTime;
+    }
+    public void setCdBatch(String cdBatch)
+    {
+        this.cdBatch = cdBatch;
+    }
+
+    public String getCdBatch()
+    {
+        return cdBatch;
+    }
+    public void setCdOperation(String cdOperation)
+    {
+        this.cdOperation = cdOperation;
+    }
+
+    public String getCdOperation()
+    {
+        return cdOperation;
+    }
+    public void setCdSource(String cdSource)
+    {
+        this.cdSource = cdSource;
+    }
+
+    public String getCdSource()
+    {
+        return cdSource;
+    }
+    public void setPlatformName(String platformName)
+    {
+        this.platformName = platformName;
+    }
+
+    public String getPlatformName()
+    {
+        return platformName;
+    }
+    public void setConstructingUnit(String constructingUnit)
+    {
+        this.constructingUnit = constructingUnit;
+    }
+
+    public String getConstructingUnit()
+    {
+        return constructingUnit;
+    }
+    public void setConstructingDate(String constructingDate)
+    {
+        this.constructingDate = constructingDate;
+    }
+
+    public String getConstructingDate()
+    {
+        return constructingDate;
+    }
+    public void setPlatformAddress(String platformAddress)
+    {
+        this.platformAddress = platformAddress;
+    }
+
+    public String getPlatformAddress()
+    {
+        return platformAddress;
+    }
+    public void setPlatformAddressExt(String platformAddressExt)
+    {
+        this.platformAddressExt = platformAddressExt;
+    }
+
+    public String getPlatformAddressExt()
+    {
+        return platformAddressExt;
+    }
+    public void setPlatformLevel(String platformLevel)
+    {
+        this.platformLevel = platformLevel;
+    }
+
+    public String getPlatformLevel()
+    {
+        return platformLevel;
+    }
+    public void setPlatformType(String platformType)
+    {
+        this.platformType = platformType;
+    }
+
+    public String getPlatformType()
+    {
+        return platformType;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("createTime", getCreateTime())
+            .append("cdTime", getCdTime())
+            .append("cdBatch", getCdBatch())
+            .append("cdOperation", getCdOperation())
+            .append("cdSource", getCdSource())
+            .append("platformName", getPlatformName())
+            .append("constructingUnit", getConstructingUnit())
+            .append("constructingDate", getConstructingDate())
+            .append("platformAddress", getPlatformAddress())
+            .append("platformAddressExt", getPlatformAddressExt())
+            .append("platformLevel", getPlatformLevel())
+            .append("platformType", getPlatformType())
+            .toString();
+    }
+}

+ 63 - 0
mybusiness/src/main/java/com/sooka/system/medicine/platform/mapper/TGuijiMedicinePlatformMapper.java

@@ -0,0 +1,63 @@
+package com.sooka.system.medicine.platform.mapper;
+
+
+import com.sooka.system.medicine.platform.domain.TGuijiMedicinePlatform;
+
+import java.util.List;
+
+/**
+ * 平台采集Mapper接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface TGuijiMedicinePlatformMapper
+{
+    /**
+     * 查询平台采集
+     *
+     * @param id 平台采集ID
+     * @return 平台采集
+     */
+    public TGuijiMedicinePlatform selectTGuijiMedicinePlatformById(String id);
+
+    /**
+     * 查询平台采集列表
+     *
+     * @param tGuijiMedicinePlatform 平台采集
+     * @return 平台采集集合
+     */
+    public List<TGuijiMedicinePlatform> selectTGuijiMedicinePlatformList(TGuijiMedicinePlatform tGuijiMedicinePlatform);
+
+    /**
+     * 新增平台采集
+     *
+     * @param tGuijiMedicinePlatform 平台采集
+     * @return 结果
+     */
+    public int insertTGuijiMedicinePlatform(TGuijiMedicinePlatform tGuijiMedicinePlatform);
+
+    /**
+     * 修改平台采集
+     *
+     * @param tGuijiMedicinePlatform 平台采集
+     * @return 结果
+     */
+    public int updateTGuijiMedicinePlatform(TGuijiMedicinePlatform tGuijiMedicinePlatform);
+
+    /**
+     * 删除平台采集
+     *
+     * @param id 平台采集ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicinePlatformById(String id);
+
+    /**
+     * 批量删除平台采集
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicinePlatformByIds(String[] ids);
+}

+ 63 - 0
mybusiness/src/main/java/com/sooka/system/medicine/platform/service/ITGuijiMedicinePlatformService.java

@@ -0,0 +1,63 @@
+package com.sooka.system.medicine.platform.service;
+
+
+import com.sooka.system.medicine.platform.domain.TGuijiMedicinePlatform;
+
+import java.util.List;
+
+/**
+ * 平台采集Service接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface ITGuijiMedicinePlatformService
+{
+    /**
+     * 查询平台采集
+     *
+     * @param id 平台采集ID
+     * @return 平台采集
+     */
+    public TGuijiMedicinePlatform selectTGuijiMedicinePlatformById(String id);
+
+    /**
+     * 查询平台采集列表
+     *
+     * @param tGuijiMedicinePlatform 平台采集
+     * @return 平台采集集合
+     */
+    public List<TGuijiMedicinePlatform> selectTGuijiMedicinePlatformList(TGuijiMedicinePlatform tGuijiMedicinePlatform);
+
+    /**
+     * 新增平台采集
+     *
+     * @param tGuijiMedicinePlatform 平台采集
+     * @return 结果
+     */
+    public int insertTGuijiMedicinePlatform(TGuijiMedicinePlatform tGuijiMedicinePlatform);
+
+    /**
+     * 修改平台采集
+     *
+     * @param tGuijiMedicinePlatform 平台采集
+     * @return 结果
+     */
+    public int updateTGuijiMedicinePlatform(TGuijiMedicinePlatform tGuijiMedicinePlatform);
+
+    /**
+     * 批量删除平台采集
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicinePlatformByIds(String ids);
+
+    /**
+     * 删除平台采集信息
+     *
+     * @param id 平台采集ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicinePlatformById(String id);
+}

+ 98 - 0
mybusiness/src/main/java/com/sooka/system/medicine/platform/service/impl/TGuijiMedicinePlatformServiceImpl.java

@@ -0,0 +1,98 @@
+package com.sooka.system.medicine.platform.service.impl;
+
+
+import com.sooka.common.core.text.Convert;
+import com.sooka.common.utils.DateUtils;
+import com.sooka.system.medicine.platform.domain.TGuijiMedicinePlatform;
+import com.sooka.system.medicine.platform.mapper.TGuijiMedicinePlatformMapper;
+import com.sooka.system.medicine.platform.service.ITGuijiMedicinePlatformService;
+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 TGuijiMedicinePlatformServiceImpl implements ITGuijiMedicinePlatformService
+{
+    @Autowired
+    private TGuijiMedicinePlatformMapper tGuijiMedicinePlatformMapper;
+
+    /**
+     * 查询平台采集
+     *
+     * @param id 平台采集ID
+     * @return 平台采集
+     */
+    @Override
+    public TGuijiMedicinePlatform selectTGuijiMedicinePlatformById(String id)
+    {
+        return tGuijiMedicinePlatformMapper.selectTGuijiMedicinePlatformById(id);
+    }
+
+    /**
+     * 查询平台采集列表
+     *
+     * @param tGuijiMedicinePlatform 平台采集
+     * @return 平台采集
+     */
+    @Override
+    public List<TGuijiMedicinePlatform> selectTGuijiMedicinePlatformList(TGuijiMedicinePlatform tGuijiMedicinePlatform)
+    {
+        return tGuijiMedicinePlatformMapper.selectTGuijiMedicinePlatformList(tGuijiMedicinePlatform);
+    }
+
+    /**
+     * 新增平台采集
+     *
+     * @param tGuijiMedicinePlatform 平台采集
+     * @return 结果
+     */
+    @Override
+    public int insertTGuijiMedicinePlatform(TGuijiMedicinePlatform tGuijiMedicinePlatform)
+    {
+        tGuijiMedicinePlatform.setCreateTime(DateUtils.getNowDate());
+        return tGuijiMedicinePlatformMapper.insertTGuijiMedicinePlatform(tGuijiMedicinePlatform);
+    }
+
+    /**
+     * 修改平台采集
+     *
+     * @param tGuijiMedicinePlatform 平台采集
+     * @return 结果
+     */
+    @Override
+    public int updateTGuijiMedicinePlatform(TGuijiMedicinePlatform tGuijiMedicinePlatform)
+    {
+        return tGuijiMedicinePlatformMapper.updateTGuijiMedicinePlatform(tGuijiMedicinePlatform);
+    }
+
+    /**
+     * 删除平台采集对象
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTGuijiMedicinePlatformByIds(String ids)
+    {
+        return tGuijiMedicinePlatformMapper.deleteTGuijiMedicinePlatformByIds(Convert.toStrArray(ids));
+    }
+
+    /**
+     * 删除平台采集信息
+     *
+     * @param id 平台采集ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTGuijiMedicinePlatformById(String id)
+    {
+        return tGuijiMedicinePlatformMapper.deleteTGuijiMedicinePlatformById(id);
+    }
+}

+ 136 - 0
mybusiness/src/main/java/com/sooka/system/medicine/project/controller/TGuijiMedicineProjectController.java

@@ -0,0 +1,136 @@
+package com.sooka.system.medicine.project.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.medicine.platform.domain.TGuijiMedicinePlatform;
+import com.sooka.system.medicine.project.domain.TGuijiMedicineProject;
+import com.sooka.system.medicine.project.service.ITGuijiMedicineProjectService;
+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/medicine/project")
+public class TGuijiMedicineProjectController extends BaseController
+{
+    private String prefix = "system/medicine/project";
+
+    @Autowired
+    private ITGuijiMedicineProjectService tGuijiMedicineProjectService;
+
+    @RequiresPermissions("system:project:view")
+    @GetMapping()
+    public String project()
+    {
+        return prefix + "/project";
+    }
+
+    /**
+     * 查询项目采集列表
+     */
+    @RequiresPermissions("system:project:list")
+    @PostMapping("/list")
+    @ResponseBody
+    public TableDataInfo list(TGuijiMedicineProject tGuijiMedicineProject)
+    {
+        startPage();
+        List<TGuijiMedicineProject> list = tGuijiMedicineProjectService.selectTGuijiMedicineProjectList(tGuijiMedicineProject);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出项目采集列表
+     */
+    @RequiresPermissions("system:project:export")
+    @Log(title = "项目采集", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    @ResponseBody
+    public AjaxResult export(TGuijiMedicineProject tGuijiMedicineProject)
+    {
+        List<TGuijiMedicineProject> list = tGuijiMedicineProjectService.selectTGuijiMedicineProjectList(tGuijiMedicineProject);
+        ExcelUtil<TGuijiMedicineProject> util = new ExcelUtil<TGuijiMedicineProject>(TGuijiMedicineProject.class);
+        return util.exportExcel(list, "project");
+    }
+
+    /**
+     * 新增项目采集
+     */
+    @GetMapping("/add")
+    public String add()
+    {
+        return prefix + "/add";
+    }
+
+    /**
+     * 新增保存项目采集
+     */
+    @RequiresPermissions("system:project:add")
+    @Log(title = "项目采集", businessType = BusinessType.INSERT)
+    @PostMapping("/add")
+    @ResponseBody
+    public AjaxResult addSave(TGuijiMedicineProject tGuijiMedicineProject)
+    {
+        return toAjax(tGuijiMedicineProjectService.insertTGuijiMedicineProject(tGuijiMedicineProject));
+    }
+
+    /**
+     * 修改项目采集
+     */
+    @GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiMedicineProject tGuijiMedicineProject = tGuijiMedicineProjectService.selectTGuijiMedicineProjectById(id);
+        mmap.put("tGuijiMedicineProject", tGuijiMedicineProject);
+        return prefix + "/edit";
+    }
+
+    /**
+     * 修改保存项目采集
+     */
+    @RequiresPermissions("system:project:edit")
+    @Log(title = "项目采集", businessType = BusinessType.UPDATE)
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(TGuijiMedicineProject tGuijiMedicineProject)
+    {
+        return toAjax(tGuijiMedicineProjectService.updateTGuijiMedicineProject(tGuijiMedicineProject));
+    }
+
+    /**
+     * 删除项目采集
+     */
+    @RequiresPermissions("system:project:remove")
+    @Log(title = "项目采集", businessType = BusinessType.DELETE)
+    @PostMapping( "/remove")
+    @ResponseBody
+    public AjaxResult remove(String ids)
+    {
+        return toAjax(tGuijiMedicineProjectService.deleteTGuijiMedicineProjectByIds(ids));
+    }
+
+    /**
+     * 平台项目采集
+     */
+    @GetMapping("/detail/{id}")
+    public String detail(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiMedicineProject tGuijiMedicineProject = tGuijiMedicineProjectService.selectTGuijiMedicineProjectById(id);
+        mmap.put("tGuijiMedicineProject", tGuijiMedicineProject);
+        return prefix + "/detail";
+    }
+}

+ 193 - 0
mybusiness/src/main/java/com/sooka/system/medicine/project/domain/TGuijiMedicineProject.java

@@ -0,0 +1,193 @@
+package com.sooka.system.medicine.project.domain;
+
+
+import com.sooka.common.annotation.Excel;
+import com.sooka.common.core.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 项目采集对象 t_guiji_medicine_project
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public class TGuijiMedicineProject extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 传感器编号 */
+    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 projectName;
+
+    /** 项目机构 */
+    @Excel(name = "项目机构")
+    private String projectOrgName;
+
+    /** 项目地址 */
+    @Excel(name = "项目地址")
+    private String projectAddress;
+
+    /** 建设阶段 */
+    @Excel(name = "建设阶段")
+    private String projectStatus;
+
+    /** 项目总投资 */
+    @Excel(name = "项目总投资")
+    private String projectTotalInvestment;
+
+    /** 项目起年份 */
+    @Excel(name = "项目起年份")
+    private String projectStart;
+
+    /** 项目止年份 */
+    @Excel(name = "项目止年份")
+    private String projectEnd;
+
+    public void setId(String id)
+    {
+        this.id = id;
+    }
+
+    public String getId()
+    {
+        return id;
+    }
+    public void setCdTime(String cdTime)
+    {
+        this.cdTime = cdTime;
+    }
+
+    public String getCdTime()
+    {
+        return cdTime;
+    }
+    public void setCdBatch(String cdBatch)
+    {
+        this.cdBatch = cdBatch;
+    }
+
+    public String getCdBatch()
+    {
+        return cdBatch;
+    }
+    public void setCdOperation(String cdOperation)
+    {
+        this.cdOperation = cdOperation;
+    }
+
+    public String getCdOperation()
+    {
+        return cdOperation;
+    }
+    public void setCdSource(String cdSource)
+    {
+        this.cdSource = cdSource;
+    }
+
+    public String getCdSource()
+    {
+        return cdSource;
+    }
+    public void setProjectName(String projectName)
+    {
+        this.projectName = projectName;
+    }
+
+    public String getProjectName()
+    {
+        return projectName;
+    }
+    public void setProjectOrgName(String projectOrgName)
+    {
+        this.projectOrgName = projectOrgName;
+    }
+
+    public String getProjectOrgName()
+    {
+        return projectOrgName;
+    }
+    public void setProjectAddress(String projectAddress)
+    {
+        this.projectAddress = projectAddress;
+    }
+
+    public String getProjectAddress()
+    {
+        return projectAddress;
+    }
+    public void setProjectStatus(String projectStatus)
+    {
+        this.projectStatus = projectStatus;
+    }
+
+    public String getProjectStatus()
+    {
+        return projectStatus;
+    }
+    public void setProjectTotalInvestment(String projectTotalInvestment)
+    {
+        this.projectTotalInvestment = projectTotalInvestment;
+    }
+
+    public String getProjectTotalInvestment()
+    {
+        return projectTotalInvestment;
+    }
+    public void setProjectStart(String projectStart)
+    {
+        this.projectStart = projectStart;
+    }
+
+    public String getProjectStart()
+    {
+        return projectStart;
+    }
+    public void setProjectEnd(String projectEnd)
+    {
+        this.projectEnd = projectEnd;
+    }
+
+    public String getProjectEnd()
+    {
+        return projectEnd;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("createTime", getCreateTime())
+            .append("cdTime", getCdTime())
+            .append("cdBatch", getCdBatch())
+            .append("cdOperation", getCdOperation())
+            .append("cdSource", getCdSource())
+            .append("projectName", getProjectName())
+            .append("projectOrgName", getProjectOrgName())
+            .append("projectAddress", getProjectAddress())
+            .append("projectStatus", getProjectStatus())
+            .append("projectTotalInvestment", getProjectTotalInvestment())
+            .append("projectStart", getProjectStart())
+            .append("projectEnd", getProjectEnd())
+            .toString();
+    }
+}

+ 63 - 0
mybusiness/src/main/java/com/sooka/system/medicine/project/mapper/TGuijiMedicineProjectMapper.java

@@ -0,0 +1,63 @@
+package com.sooka.system.medicine.project.mapper;
+
+
+import com.sooka.system.medicine.project.domain.TGuijiMedicineProject;
+
+import java.util.List;
+
+/**
+ * 项目采集Mapper接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface TGuijiMedicineProjectMapper
+{
+    /**
+     * 查询项目采集
+     *
+     * @param id 项目采集ID
+     * @return 项目采集
+     */
+    public TGuijiMedicineProject selectTGuijiMedicineProjectById(String id);
+
+    /**
+     * 查询项目采集列表
+     *
+     * @param tGuijiMedicineProject 项目采集
+     * @return 项目采集集合
+     */
+    public List<TGuijiMedicineProject> selectTGuijiMedicineProjectList(TGuijiMedicineProject tGuijiMedicineProject);
+
+    /**
+     * 新增项目采集
+     *
+     * @param tGuijiMedicineProject 项目采集
+     * @return 结果
+     */
+    public int insertTGuijiMedicineProject(TGuijiMedicineProject tGuijiMedicineProject);
+
+    /**
+     * 修改项目采集
+     *
+     * @param tGuijiMedicineProject 项目采集
+     * @return 结果
+     */
+    public int updateTGuijiMedicineProject(TGuijiMedicineProject tGuijiMedicineProject);
+
+    /**
+     * 删除项目采集
+     *
+     * @param id 项目采集ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicineProjectById(String id);
+
+    /**
+     * 批量删除项目采集
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicineProjectByIds(String[] ids);
+}

+ 63 - 0
mybusiness/src/main/java/com/sooka/system/medicine/project/service/ITGuijiMedicineProjectService.java

@@ -0,0 +1,63 @@
+package com.sooka.system.medicine.project.service;
+
+
+import com.sooka.system.medicine.project.domain.TGuijiMedicineProject;
+
+import java.util.List;
+
+/**
+ * 项目采集Service接口
+ *
+ * @author lei
+ * @date 2022-08-22
+ */
+public interface ITGuijiMedicineProjectService
+{
+    /**
+     * 查询项目采集
+     *
+     * @param id 项目采集ID
+     * @return 项目采集
+     */
+    public TGuijiMedicineProject selectTGuijiMedicineProjectById(String id);
+
+    /**
+     * 查询项目采集列表
+     *
+     * @param tGuijiMedicineProject 项目采集
+     * @return 项目采集集合
+     */
+    public List<TGuijiMedicineProject> selectTGuijiMedicineProjectList(TGuijiMedicineProject tGuijiMedicineProject);
+
+    /**
+     * 新增项目采集
+     *
+     * @param tGuijiMedicineProject 项目采集
+     * @return 结果
+     */
+    public int insertTGuijiMedicineProject(TGuijiMedicineProject tGuijiMedicineProject);
+
+    /**
+     * 修改项目采集
+     *
+     * @param tGuijiMedicineProject 项目采集
+     * @return 结果
+     */
+    public int updateTGuijiMedicineProject(TGuijiMedicineProject tGuijiMedicineProject);
+
+    /**
+     * 批量删除项目采集
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicineProjectByIds(String ids);
+
+    /**
+     * 删除项目采集信息
+     *
+     * @param id 项目采集ID
+     * @return 结果
+     */
+    public int deleteTGuijiMedicineProjectById(String id);
+}

+ 98 - 0
mybusiness/src/main/java/com/sooka/system/medicine/project/service/impl/TGuijiMedicineProjectServiceImpl.java

@@ -0,0 +1,98 @@
+package com.sooka.system.medicine.project.service.impl;
+
+
+import com.sooka.common.core.text.Convert;
+import com.sooka.common.utils.DateUtils;
+import com.sooka.system.medicine.project.domain.TGuijiMedicineProject;
+import com.sooka.system.medicine.project.mapper.TGuijiMedicineProjectMapper;
+import com.sooka.system.medicine.project.service.ITGuijiMedicineProjectService;
+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 TGuijiMedicineProjectServiceImpl implements ITGuijiMedicineProjectService
+{
+    @Autowired
+    private TGuijiMedicineProjectMapper tGuijiMedicineProjectMapper;
+
+    /**
+     * 查询项目采集
+     *
+     * @param id 项目采集ID
+     * @return 项目采集
+     */
+    @Override
+    public TGuijiMedicineProject selectTGuijiMedicineProjectById(String id)
+    {
+        return tGuijiMedicineProjectMapper.selectTGuijiMedicineProjectById(id);
+    }
+
+    /**
+     * 查询项目采集列表
+     *
+     * @param tGuijiMedicineProject 项目采集
+     * @return 项目采集
+     */
+    @Override
+    public List<TGuijiMedicineProject> selectTGuijiMedicineProjectList(TGuijiMedicineProject tGuijiMedicineProject)
+    {
+        return tGuijiMedicineProjectMapper.selectTGuijiMedicineProjectList(tGuijiMedicineProject);
+    }
+
+    /**
+     * 新增项目采集
+     *
+     * @param tGuijiMedicineProject 项目采集
+     * @return 结果
+     */
+    @Override
+    public int insertTGuijiMedicineProject(TGuijiMedicineProject tGuijiMedicineProject)
+    {
+        tGuijiMedicineProject.setCreateTime(DateUtils.getNowDate());
+        return tGuijiMedicineProjectMapper.insertTGuijiMedicineProject(tGuijiMedicineProject);
+    }
+
+    /**
+     * 修改项目采集
+     *
+     * @param tGuijiMedicineProject 项目采集
+     * @return 结果
+     */
+    @Override
+    public int updateTGuijiMedicineProject(TGuijiMedicineProject tGuijiMedicineProject)
+    {
+        return tGuijiMedicineProjectMapper.updateTGuijiMedicineProject(tGuijiMedicineProject);
+    }
+
+    /**
+     * 删除项目采集对象
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTGuijiMedicineProjectByIds(String ids)
+    {
+        return tGuijiMedicineProjectMapper.deleteTGuijiMedicineProjectByIds(Convert.toStrArray(ids));
+    }
+
+    /**
+     * 删除项目采集信息
+     *
+     * @param id 项目采集ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTGuijiMedicineProjectById(String id)
+    {
+        return tGuijiMedicineProjectMapper.deleteTGuijiMedicineProjectById(id);
+    }
+}

+ 108 - 0
mybusiness/src/main/resources/mapper/system/TGuijiMedicineIndustryMapper.xml

@@ -0,0 +1,108 @@
+<?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.medicine.industry.mapper.TGuijiMedicineIndustryMapper">
+
+    <resultMap type="TGuijiMedicineIndustry" id="TGuijiMedicineIndustryResult">
+        <result property="id"    column="id"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="cdTime"    column="cd_time"    />
+        <result property="cdBatch"    column="cd_batch"    />
+        <result property="cdOperation"    column="cd_operation"    />
+        <result property="cdSource"    column="cd_source"    />
+        <result property="year"    column="year"    />
+        <result property="month"    column="month"    />
+        <result property="economyType"    column="economyType"    />
+        <result property="number"    column="number"    />
+        <result property="yearOnYear"    column="yearOnYear"    />
+        <result property="cityProportion"    column="cityProportion"    />
+    </resultMap>
+
+    <sql id="selectTGuijiMedicineIndustryVo">
+        select id, create_time, cd_time, cd_batch, cd_operation, cd_source, year, month, economyType, number, yearOnYear, cityProportion from t_guiji_medicine_industry
+    </sql>
+
+    <select id="selectTGuijiMedicineIndustryList" parameterType="TGuijiMedicineIndustry" resultMap="TGuijiMedicineIndustryResult">
+        <include refid="selectTGuijiMedicineIndustryVo"/>
+        <where>
+            <if test="cdTime != null  and cdTime != ''"> and cd_time = #{cdTime}</if>
+            <if test="cdBatch != null  and cdBatch != ''"> and cd_batch = #{cdBatch}</if>
+            <if test="cdOperation != null  and cdOperation != ''"> and cd_operation = #{cdOperation}</if>
+            <if test="cdSource != null  and cdSource != ''"> and cd_source = #{cdSource}</if>
+            <if test="year != null  and year != ''"> and year = #{year}</if>
+            <if test="month != null  and month != ''"> and month = #{month}</if>
+            <if test="economyType != null  and economyType != ''"> and economyType = #{economyType}</if>
+            <if test="number != null  and number != ''"> and number = #{number}</if>
+            <if test="yearOnYear != null  and yearOnYear != ''"> and yearOnYear = #{yearOnYear}</if>
+            <if test="cityProportion != null  and cityProportion != ''"> and cityProportion = #{cityProportion}</if>
+        </where>
+    </select>
+
+    <select id="selectTGuijiMedicineIndustryById" parameterType="String" resultMap="TGuijiMedicineIndustryResult">
+        <include refid="selectTGuijiMedicineIndustryVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insertTGuijiMedicineIndustry" parameterType="TGuijiMedicineIndustry">
+        insert into t_guiji_medicine_industry
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="cdTime != null">cd_time,</if>
+            <if test="cdBatch != null">cd_batch,</if>
+            <if test="cdOperation != null">cd_operation,</if>
+            <if test="cdSource != null">cd_source,</if>
+            <if test="year != null">year,</if>
+            <if test="month != null">month,</if>
+            <if test="economyType != null">economyType,</if>
+            <if test="number != null">number,</if>
+            <if test="yearOnYear != null">yearOnYear,</if>
+            <if test="cityProportion != null">cityProportion,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="cdTime != null">#{cdTime},</if>
+            <if test="cdBatch != null">#{cdBatch},</if>
+            <if test="cdOperation != null">#{cdOperation},</if>
+            <if test="cdSource != null">#{cdSource},</if>
+            <if test="year != null">#{year},</if>
+            <if test="month != null">#{month},</if>
+            <if test="economyType != null">#{economyType},</if>
+            <if test="number != null">#{number},</if>
+            <if test="yearOnYear != null">#{yearOnYear},</if>
+            <if test="cityProportion != null">#{cityProportion},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTGuijiMedicineIndustry" parameterType="TGuijiMedicineIndustry">
+        update t_guiji_medicine_industry
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="cdTime != null">cd_time = #{cdTime},</if>
+            <if test="cdBatch != null">cd_batch = #{cdBatch},</if>
+            <if test="cdOperation != null">cd_operation = #{cdOperation},</if>
+            <if test="cdSource != null">cd_source = #{cdSource},</if>
+            <if test="year != null">year = #{year},</if>
+            <if test="month != null">month = #{month},</if>
+            <if test="economyType != null">economyType = #{economyType},</if>
+            <if test="number != null">number = #{number},</if>
+            <if test="yearOnYear != null">yearOnYear = #{yearOnYear},</if>
+            <if test="cityProportion != null">cityProportion = #{cityProportion},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteTGuijiMedicineIndustryById" parameterType="String">
+        delete from t_guiji_medicine_industry where id = #{id}
+    </delete>
+
+    <delete id="deleteTGuijiMedicineIndustryByIds" parameterType="String">
+        delete from t_guiji_medicine_industry where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+
+</mapper>

+ 108 - 0
mybusiness/src/main/resources/mapper/system/TGuijiMedicinePlantMapper.xml

@@ -0,0 +1,108 @@
+<?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.medicine.plant.mapper.TGuijiMedicinePlantMapper">
+
+    <resultMap type="TGuijiMedicinePlant" id="TGuijiMedicinePlantResult">
+        <result property="id"    column="id"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="cdTime"    column="cd_time"    />
+        <result property="cdBatch"    column="cd_batch"    />
+        <result property="cdOperation"    column="cd_operation"    />
+        <result property="cdSource"    column="cd_source"    />
+        <result property="plantName"    column="plantName"    />
+        <result property="plantAddress"    column="plantAddress"    />
+        <result property="plantHectare"    column="plantHectare"    />
+        <result property="produceTons"    column="produceTons"    />
+        <result property="produceValue"    column="produceValue"    />
+        <result property="plantYear"    column="plantYear"    />
+    </resultMap>
+
+    <sql id="selectTGuijiMedicinePlantVo">
+        select id, create_time, cd_time, cd_batch, cd_operation, cd_source, plantName, plantAddress, plantHectare, produceTons, produceValue, plantYear from t_guiji_medicine_plant
+    </sql>
+
+    <select id="selectTGuijiMedicinePlantList" parameterType="TGuijiMedicinePlant" resultMap="TGuijiMedicinePlantResult">
+        <include refid="selectTGuijiMedicinePlantVo"/>
+        <where>
+            <if test="cdTime != null  and cdTime != ''"> and cd_time = #{cdTime}</if>
+            <if test="cdBatch != null  and cdBatch != ''"> and cd_batch = #{cdBatch}</if>
+            <if test="cdOperation != null  and cdOperation != ''"> and cd_operation = #{cdOperation}</if>
+            <if test="cdSource != null  and cdSource != ''"> and cd_source = #{cdSource}</if>
+            <if test="plantName != null  and plantName != ''"> and plantName like concat('%', #{plantName}, '%')</if>
+            <if test="plantAddress != null  and plantAddress != ''"> and plantAddress = #{plantAddress}</if>
+            <if test="plantHectare != null  and plantHectare != ''"> and plantHectare = #{plantHectare}</if>
+            <if test="produceTons != null  and produceTons != ''"> and produceTons = #{produceTons}</if>
+            <if test="produceValue != null  and produceValue != ''"> and produceValue = #{produceValue}</if>
+            <if test="plantYear != null  and plantYear != ''"> and plantYear = #{plantYear}</if>
+        </where>
+    </select>
+
+    <select id="selectTGuijiMedicinePlantById" parameterType="String" resultMap="TGuijiMedicinePlantResult">
+        <include refid="selectTGuijiMedicinePlantVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insertTGuijiMedicinePlant" parameterType="TGuijiMedicinePlant">
+        insert into t_guiji_medicine_plant
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="cdTime != null">cd_time,</if>
+            <if test="cdBatch != null">cd_batch,</if>
+            <if test="cdOperation != null">cd_operation,</if>
+            <if test="cdSource != null">cd_source,</if>
+            <if test="plantName != null">plantName,</if>
+            <if test="plantAddress != null">plantAddress,</if>
+            <if test="plantHectare != null">plantHectare,</if>
+            <if test="produceTons != null">produceTons,</if>
+            <if test="produceValue != null">produceValue,</if>
+            <if test="plantYear != null">plantYear,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="cdTime != null">#{cdTime},</if>
+            <if test="cdBatch != null">#{cdBatch},</if>
+            <if test="cdOperation != null">#{cdOperation},</if>
+            <if test="cdSource != null">#{cdSource},</if>
+            <if test="plantName != null">#{plantName},</if>
+            <if test="plantAddress != null">#{plantAddress},</if>
+            <if test="plantHectare != null">#{plantHectare},</if>
+            <if test="produceTons != null">#{produceTons},</if>
+            <if test="produceValue != null">#{produceValue},</if>
+            <if test="plantYear != null">#{plantYear},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTGuijiMedicinePlant" parameterType="TGuijiMedicinePlant">
+        update t_guiji_medicine_plant
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="cdTime != null">cd_time = #{cdTime},</if>
+            <if test="cdBatch != null">cd_batch = #{cdBatch},</if>
+            <if test="cdOperation != null">cd_operation = #{cdOperation},</if>
+            <if test="cdSource != null">cd_source = #{cdSource},</if>
+            <if test="plantName != null">plantName = #{plantName},</if>
+            <if test="plantAddress != null">plantAddress = #{plantAddress},</if>
+            <if test="plantHectare != null">plantHectare = #{plantHectare},</if>
+            <if test="produceTons != null">produceTons = #{produceTons},</if>
+            <if test="produceValue != null">produceValue = #{produceValue},</if>
+            <if test="plantYear != null">plantYear = #{plantYear},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteTGuijiMedicinePlantById" parameterType="String">
+        delete from t_guiji_medicine_plant where id = #{id}
+    </delete>
+
+    <delete id="deleteTGuijiMedicinePlantByIds" parameterType="String">
+        delete from t_guiji_medicine_plant where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+
+</mapper>

+ 113 - 0
mybusiness/src/main/resources/mapper/system/TGuijiMedicinePlatformMapper.xml

@@ -0,0 +1,113 @@
+<?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.medicine.platform.mapper.TGuijiMedicinePlatformMapper">
+
+    <resultMap type="TGuijiMedicinePlatform" id="TGuijiMedicinePlatformResult">
+        <result property="id"    column="id"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="cdTime"    column="cd_time"    />
+        <result property="cdBatch"    column="cd_batch"    />
+        <result property="cdOperation"    column="cd_operation"    />
+        <result property="cdSource"    column="cd_source"    />
+        <result property="platformName"    column="platformName"    />
+        <result property="constructingUnit"    column="constructingUnit"    />
+        <result property="constructingDate"    column="constructingDate"    />
+        <result property="platformAddress"    column="platformAddress"    />
+        <result property="platformAddressExt"    column="platformAddressExt"    />
+        <result property="platformLevel"    column="platformLevel"    />
+        <result property="platformType"    column="platformType"    />
+    </resultMap>
+
+    <sql id="selectTGuijiMedicinePlatformVo">
+        select id, create_time, cd_time, cd_batch, cd_operation, cd_source, platformName, constructingUnit, constructingDate, platformAddress, platformAddressExt, platformLevel, platformType from t_guiji_medicine_platform
+    </sql>
+
+    <select id="selectTGuijiMedicinePlatformList" parameterType="TGuijiMedicinePlatform" resultMap="TGuijiMedicinePlatformResult">
+        <include refid="selectTGuijiMedicinePlatformVo"/>
+        <where>
+            <if test="cdTime != null  and cdTime != ''"> and cd_time = #{cdTime}</if>
+            <if test="cdBatch != null  and cdBatch != ''"> and cd_batch = #{cdBatch}</if>
+            <if test="cdOperation != null  and cdOperation != ''"> and cd_operation = #{cdOperation}</if>
+            <if test="cdSource != null  and cdSource != ''"> and cd_source = #{cdSource}</if>
+            <if test="platformName != null  and platformName != ''"> and platformName like concat('%', #{platformName}, '%')</if>
+            <if test="constructingUnit != null  and constructingUnit != ''"> and constructingUnit = #{constructingUnit}</if>
+            <if test="constructingDate != null  and constructingDate != ''"> and constructingDate = #{constructingDate}</if>
+            <if test="platformAddress != null  and platformAddress != ''"> and platformAddress = #{platformAddress}</if>
+            <if test="platformAddressExt != null  and platformAddressExt != ''"> and platformAddressExt = #{platformAddressExt}</if>
+            <if test="platformLevel != null  and platformLevel != ''"> and platformLevel = #{platformLevel}</if>
+            <if test="platformType != null  and platformType != ''"> and platformType = #{platformType}</if>
+        </where>
+    </select>
+
+    <select id="selectTGuijiMedicinePlatformById" parameterType="String" resultMap="TGuijiMedicinePlatformResult">
+        <include refid="selectTGuijiMedicinePlatformVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insertTGuijiMedicinePlatform" parameterType="TGuijiMedicinePlatform">
+        insert into t_guiji_medicine_platform
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="cdTime != null">cd_time,</if>
+            <if test="cdBatch != null">cd_batch,</if>
+            <if test="cdOperation != null">cd_operation,</if>
+            <if test="cdSource != null">cd_source,</if>
+            <if test="platformName != null">platformName,</if>
+            <if test="constructingUnit != null">constructingUnit,</if>
+            <if test="constructingDate != null">constructingDate,</if>
+            <if test="platformAddress != null">platformAddress,</if>
+            <if test="platformAddressExt != null">platformAddressExt,</if>
+            <if test="platformLevel != null">platformLevel,</if>
+            <if test="platformType != null">platformType,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="cdTime != null">#{cdTime},</if>
+            <if test="cdBatch != null">#{cdBatch},</if>
+            <if test="cdOperation != null">#{cdOperation},</if>
+            <if test="cdSource != null">#{cdSource},</if>
+            <if test="platformName != null">#{platformName},</if>
+            <if test="constructingUnit != null">#{constructingUnit},</if>
+            <if test="constructingDate != null">#{constructingDate},</if>
+            <if test="platformAddress != null">#{platformAddress},</if>
+            <if test="platformAddressExt != null">#{platformAddressExt},</if>
+            <if test="platformLevel != null">#{platformLevel},</if>
+            <if test="platformType != null">#{platformType},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTGuijiMedicinePlatform" parameterType="TGuijiMedicinePlatform">
+        update t_guiji_medicine_platform
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="cdTime != null">cd_time = #{cdTime},</if>
+            <if test="cdBatch != null">cd_batch = #{cdBatch},</if>
+            <if test="cdOperation != null">cd_operation = #{cdOperation},</if>
+            <if test="cdSource != null">cd_source = #{cdSource},</if>
+            <if test="platformName != null">platformName = #{platformName},</if>
+            <if test="constructingUnit != null">constructingUnit = #{constructingUnit},</if>
+            <if test="constructingDate != null">constructingDate = #{constructingDate},</if>
+            <if test="platformAddress != null">platformAddress = #{platformAddress},</if>
+            <if test="platformAddressExt != null">platformAddressExt = #{platformAddressExt},</if>
+            <if test="platformLevel != null">platformLevel = #{platformLevel},</if>
+            <if test="platformType != null">platformType = #{platformType},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteTGuijiMedicinePlatformById" parameterType="String">
+        delete from t_guiji_medicine_platform where id = #{id}
+    </delete>
+
+    <delete id="deleteTGuijiMedicinePlatformByIds" parameterType="String">
+        delete from t_guiji_medicine_platform where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+
+</mapper>

+ 113 - 0
mybusiness/src/main/resources/mapper/system/TGuijiMedicineProjectMapper.xml

@@ -0,0 +1,113 @@
+<?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.medicine.project.mapper.TGuijiMedicineProjectMapper">
+
+    <resultMap type="TGuijiMedicineProject" id="TGuijiMedicineProjectResult">
+        <result property="id"    column="id"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="cdTime"    column="cd_time"    />
+        <result property="cdBatch"    column="cd_batch"    />
+        <result property="cdOperation"    column="cd_operation"    />
+        <result property="cdSource"    column="cd_source"    />
+        <result property="projectName"    column="projectName"    />
+        <result property="projectOrgName"    column="projectOrgName"    />
+        <result property="projectAddress"    column="projectAddress"    />
+        <result property="projectStatus"    column="projectStatus"    />
+        <result property="projectTotalInvestment"    column="projectTotalInvestment"    />
+        <result property="projectStart"    column="projectStart"    />
+        <result property="projectEnd"    column="projectEnd"    />
+    </resultMap>
+
+    <sql id="selectTGuijiMedicineProjectVo">
+        select id, create_time, cd_time, cd_batch, cd_operation, cd_source, projectName, projectOrgName, projectAddress, projectStatus, projectTotalInvestment, projectStart, projectEnd from t_guiji_medicine_project
+    </sql>
+
+    <select id="selectTGuijiMedicineProjectList" parameterType="TGuijiMedicineProject" resultMap="TGuijiMedicineProjectResult">
+        <include refid="selectTGuijiMedicineProjectVo"/>
+        <where>
+            <if test="cdTime != null  and cdTime != ''"> and cd_time = #{cdTime}</if>
+            <if test="cdBatch != null  and cdBatch != ''"> and cd_batch = #{cdBatch}</if>
+            <if test="cdOperation != null  and cdOperation != ''"> and cd_operation = #{cdOperation}</if>
+            <if test="cdSource != null  and cdSource != ''"> and cd_source = #{cdSource}</if>
+            <if test="projectName != null  and projectName != ''"> and projectName like concat('%', #{projectName}, '%')</if>
+            <if test="projectOrgName != null  and projectOrgName != ''"> and projectOrgName like concat('%', #{projectOrgName}, '%')</if>
+            <if test="projectAddress != null  and projectAddress != ''"> and projectAddress = #{projectAddress}</if>
+            <if test="projectStatus != null  and projectStatus != ''"> and projectStatus = #{projectStatus}</if>
+            <if test="projectTotalInvestment != null  and projectTotalInvestment != ''"> and projectTotalInvestment = #{projectTotalInvestment}</if>
+            <if test="projectStart != null  and projectStart != ''"> and projectStart = #{projectStart}</if>
+            <if test="projectEnd != null  and projectEnd != ''"> and projectEnd = #{projectEnd}</if>
+        </where>
+    </select>
+
+    <select id="selectTGuijiMedicineProjectById" parameterType="String" resultMap="TGuijiMedicineProjectResult">
+        <include refid="selectTGuijiMedicineProjectVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insertTGuijiMedicineProject" parameterType="TGuijiMedicineProject">
+        insert into t_guiji_medicine_project
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="cdTime != null">cd_time,</if>
+            <if test="cdBatch != null">cd_batch,</if>
+            <if test="cdOperation != null">cd_operation,</if>
+            <if test="cdSource != null">cd_source,</if>
+            <if test="projectName != null">projectName,</if>
+            <if test="projectOrgName != null">projectOrgName,</if>
+            <if test="projectAddress != null">projectAddress,</if>
+            <if test="projectStatus != null">projectStatus,</if>
+            <if test="projectTotalInvestment != null">projectTotalInvestment,</if>
+            <if test="projectStart != null">projectStart,</if>
+            <if test="projectEnd != null">projectEnd,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="cdTime != null">#{cdTime},</if>
+            <if test="cdBatch != null">#{cdBatch},</if>
+            <if test="cdOperation != null">#{cdOperation},</if>
+            <if test="cdSource != null">#{cdSource},</if>
+            <if test="projectName != null">#{projectName},</if>
+            <if test="projectOrgName != null">#{projectOrgName},</if>
+            <if test="projectAddress != null">#{projectAddress},</if>
+            <if test="projectStatus != null">#{projectStatus},</if>
+            <if test="projectTotalInvestment != null">#{projectTotalInvestment},</if>
+            <if test="projectStart != null">#{projectStart},</if>
+            <if test="projectEnd != null">#{projectEnd},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTGuijiMedicineProject" parameterType="TGuijiMedicineProject">
+        update t_guiji_medicine_project
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="cdTime != null">cd_time = #{cdTime},</if>
+            <if test="cdBatch != null">cd_batch = #{cdBatch},</if>
+            <if test="cdOperation != null">cd_operation = #{cdOperation},</if>
+            <if test="cdSource != null">cd_source = #{cdSource},</if>
+            <if test="projectName != null">projectName = #{projectName},</if>
+            <if test="projectOrgName != null">projectOrgName = #{projectOrgName},</if>
+            <if test="projectAddress != null">projectAddress = #{projectAddress},</if>
+            <if test="projectStatus != null">projectStatus = #{projectStatus},</if>
+            <if test="projectTotalInvestment != null">projectTotalInvestment = #{projectTotalInvestment},</if>
+            <if test="projectStart != null">projectStart = #{projectStart},</if>
+            <if test="projectEnd != null">projectEnd = #{projectEnd},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteTGuijiMedicineProjectById" parameterType="String">
+        delete from t_guiji_medicine_project where id = #{id}
+    </delete>
+
+    <delete id="deleteTGuijiMedicineProjectByIds" parameterType="String">
+        delete from t_guiji_medicine_project where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+
+</mapper>

+ 79 - 0
mybusiness/src/main/resources/templates/system/medicine/industry/detail.html

@@ -0,0 +1,79 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('规上工业经济数据信息')" />
+    <th:block th:include="include :: jsonview-css" />
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-industry-edit" th:object="${tGuijiMedicineIndustry}">
+            <input name="id" th:field="*{id}" type="hidden">
+            <div class="form-group">
+                <label class="col-sm-3 control-label">推送时间:</label>
+                <div class="col-sm-8">
+                    <input name="cdTime" th:field="*{cdTime}" class="form-control" type="text" disabled>
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">批次号:</label>
+                <div class="col-sm-8">
+                    <input name="cdBatch" th:field="*{cdBatch}" class="form-control" type="text" disabled>
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">操作状态:</label>
+                <div class="col-sm-8">
+                    <input name="cdOperation" th:field="*{cdOperation}" class="form-control" type="text" disabled>
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">数据来源:</label>
+                <div class="col-sm-8">
+                    <input name="cdSource" th:field="*{cdSource}" class="form-control" type="text" disabled>
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">年份:</label>
+                <div class="col-sm-8">
+                    <input name="year" th:field="*{year}" class="form-control" type="text" disabled>
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">截至月份:</label>
+                <div class="col-sm-8">
+                    <input name="month" th:field="*{month}" class="form-control" type="text" disabled>
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">经济数据类型:</label>
+                <div class="col-sm-8">
+                    <select name="economyType" class="form-control m-b">
+                        <option value="">所有</option>
+                    </select>
+                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">数值:</label>
+                <div class="col-sm-8">
+                    <input name="number" th:field="*{number}" class="form-control" type="text" disabled>
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">同比增长:</label>
+                <div class="col-sm-8">
+                    <input name="yearOnYear" th:field="*{yearOnYear}" class="form-control" type="text" disabled>
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">占比全市规上:</label>
+                <div class="col-sm-8">
+                    <input name="cityProportion" th:field="*{cityProportion}" class="form-control" type="text" disabled>
+                </div>
+            </div>
+        </form>
+    </div>
+    <th:block th:include="include :: footer" />
+    <th:block th:include="include :: jsonview-js" />
+</body>
+</html>

+ 168 - 0
mybusiness/src/main/resources/templates/system/medicine/industry/industry.html

@@ -0,0 +1,168 @@
+<!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="cdTime"/>
+                            </li>
+                            <li>
+                                <label>批次号:</label>
+                                <input type="text" name="cdBatch"/>
+                            </li>
+                            <li>
+                                <label>操作状态:</label>
+                                <input type="text" name="cdOperation"/>
+                            </li>
+                            <li>
+                                <label>数据来源:</label>
+                                <input type="text" name="cdSource"/>
+                            </li>
+                            <li>
+                                <label>年份:</label>
+                                <input type="text" name="year"/>
+                            </li>
+                            <li>
+                                <label>截至月份:</label>
+                                <input type="text" name="month"/>
+                            </li>
+                            <li>
+                                <label>经济数据类型:</label>
+                                <select name="economyType">
+                                    <option value="">所有</option>
+                                    <option value="-1">代码生成请选择字典属性</option>
+                                </select>
+                            </li>
+                            <li>
+                                <label>数值:</label>
+                                <input type="text" name="number"/>
+                            </li>
+                            <li>
+                                <label>同比增长:</label>
+                                <input type="text" name="yearOnYear"/>
+                            </li>
+                            <li>
+                                <label>占比全市规上:</label>
+                                <input type="text" name="cityProportion"/>
+                            </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:industry:add">-->
+<!--                    <i class="fa fa-plus"></i> 添加-->
+<!--                </a>-->
+<!--                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:industry:edit">-->
+<!--                    <i class="fa fa-edit"></i> 修改-->
+<!--                </a>-->
+<!--                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:industry:remove">-->
+<!--                    <i class="fa fa-remove"></i> 删除-->
+<!--                </a>-->
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:industry:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+<!--                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:industry:export">-->
+<!--                    <i class="fa fa-upload"></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:industry:edit')}]];
+        var removeFlag = [[${@permission.hasPermi('system:industry:remove')}]];
+        var detailFlag = [[${@permission.hasPermi('system:industry:detail')}]];
+        var prefix = ctx + "system/medicine/industry";
+
+        $(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: '传感器编号',
+                    visible: false
+                },
+                {
+                    field: 'cdTime',
+                    title: '推送时间'
+                },
+                {
+                    field: 'cdBatch',
+                    title: '批次号'
+                },
+                {
+                    field: 'cdOperation',
+                    title: '操作状态'
+                },
+                {
+                    field: 'cdSource',
+                    title: '数据来源'
+                },
+                {
+                    field: 'year',
+                    title: '年份'
+                },
+                {
+                    field: 'month',
+                    title: '截至月份'
+                },
+                {
+                    field: 'economyType',
+                    title: '经济数据类型'
+                },
+                {
+                    field: 'number',
+                    title: '数值'
+                },
+                {
+                    field: 'yearOnYear',
+                    title: '同比增长'
+                },
+                {
+                    field: 'cityProportion',
+                    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>

+ 77 - 0
mybusiness/src/main/resources/templates/system/medicine/plant/detail.html

@@ -0,0 +1,77 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('种植采集数信息')" />
+    <th:block th:include="include :: jsonview-css" />
+
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-plant-edit" th:object="${tGuijiMedicinePlant}">
+            <input name="id" th:field="*{id}" type="hidden">
+            <div class="form-group">
+                <label class="col-sm-3 control-label">推送时间:</label>
+                <div class="col-sm-8">
+                    <input name="cdTime" th:field="*{cdTime}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">批次号:</label>
+                <div class="col-sm-8">
+                    <input name="cdBatch" th:field="*{cdBatch}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">操作状态:</label>
+                <div class="col-sm-8">
+                    <input name="cdOperation" th:field="*{cdOperation}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">数据来源:</label>
+                <div class="col-sm-8">
+                    <input name="cdSource" th:field="*{cdSource}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">种植品种:</label>
+                <div class="col-sm-8">
+                    <input name="plantName" th:field="*{plantName}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">种植区域:</label>
+                <div class="col-sm-8">
+                    <input name="plantAddress" th:field="*{plantAddress}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">种植面积:</label>
+                <div class="col-sm-8">
+                    <input name="plantHectare" th:field="*{plantHectare}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">年产量:</label>
+                <div class="col-sm-8">
+                    <input name="produceTons" th:field="*{produceTons}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">年产值:</label>
+                <div class="col-sm-8">
+                    <input name="produceValue" th:field="*{produceValue}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">统计年份:</label>
+                <div class="col-sm-8">
+                    <input name="plantYear" th:field="*{plantYear}" class="form-control" type="text">
+                </div>
+            </div>
+        </form>
+    </div>
+    <th:block th:include="include :: footer" />
+    <th:block th:include="include :: jsonview-js" />
+</body>
+</html>

+ 162 - 0
mybusiness/src/main/resources/templates/system/medicine/plant/plant.html

@@ -0,0 +1,162 @@
+<!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="cdTime"/>
+                            </li>
+                            <li>
+                                <label>批次号:</label>
+                                <input type="text" name="cdBatch"/>
+                            </li>
+                            <li>
+                                <label>操作状态:</label>
+                                <input type="text" name="cdOperation"/>
+                            </li>
+                            <li>
+                                <label>数据来源:</label>
+                                <input type="text" name="cdSource"/>
+                            </li>
+                            <li>
+                                <label>种植品种:</label>
+                                <input type="text" name="plantName"/>
+                            </li>
+                            <li>
+                                <label>种植区域:</label>
+                                <input type="text" name="plantAddress"/>
+                            </li>
+                            <li>
+                                <label>种植面积:</label>
+                                <input type="text" name="plantHectare"/>
+                            </li>
+                            <li>
+                                <label>年产量:</label>
+                                <input type="text" name="produceTons"/>
+                            </li>
+                            <li>
+                                <label>年产值:</label>
+                                <input type="text" name="produceValue"/>
+                            </li>
+                            <li>
+                                <label>统计年份:</label>
+                                <input type="text" name="plantYear"/>
+                            </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:plant:add">-->
+<!--                    <i class="fa fa-plus"></i> 添加-->
+<!--                </a>-->
+<!--                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:plant:edit">-->
+<!--                    <i class="fa fa-edit"></i> 修改-->
+<!--                </a>-->
+<!--                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:plant:remove">-->
+<!--                    <i class="fa fa-remove"></i> 删除-->
+<!--                </a>-->
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:plant: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:plant:edit')}]];
+        var removeFlag = [[${@permission.hasPermi('system:plant:remove')}]];
+        var detailFlag = [[${@permission.hasPermi('system:industry:detail')}]];
+
+        var prefix = ctx + "system/medicine/plant";
+
+        $(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: '传感器编号',
+                    visible: false
+                },
+                {
+                    field: 'cdTime',
+                    title: '推送时间'
+                },
+                {
+                    field: 'cdBatch',
+                    title: '批次号'
+                },
+                {
+                    field: 'cdOperation',
+                    title: '操作状态'
+                },
+                {
+                    field: 'cdSource',
+                    title: '数据来源'
+                },
+                {
+                    field: 'plantName',
+                    title: '种植品种'
+                },
+                {
+                    field: 'plantAddress',
+                    title: '种植区域'
+                },
+                {
+                    field: 'plantHectare',
+                    title: '种植面积'
+                },
+                {
+                    field: 'produceTons',
+                    title: '年产量'
+                },
+                {
+                    field: 'produceValue',
+                    title: '年产值'
+                },
+                {
+                    field: 'plantYear',
+                    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>

+ 97 - 0
mybusiness/src/main/resources/templates/system/medicine/platform/detail.html

@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('修改平台采集')" />
+    <th:block th:include="include :: jsonview-css" />
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-platform-edit" th:object="${tGuijiMedicinePlatform}">
+            <input name="id" th:field="*{id}" type="hidden">
+            <div class="form-group">
+                <label class="col-sm-3 control-label">推送时间:</label>
+                <div class="col-sm-8">
+                    <input name="cdTime" th:field="*{cdTime}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">批次号:</label>
+                <div class="col-sm-8">
+                    <input name="cdBatch" th:field="*{cdBatch}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">操作状态:</label>
+                <div class="col-sm-8">
+                    <input name="cdOperation" th:field="*{cdOperation}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">数据来源:</label>
+                <div class="col-sm-8">
+                    <input name="cdSource" th:field="*{cdSource}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">平台名称:</label>
+                <div class="col-sm-8">
+                    <input name="platformName" th:field="*{platformName}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">建设单位:</label>
+                <div class="col-sm-8">
+                    <input name="constructingUnit" th:field="*{constructingUnit}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">建设时间:</label>
+                <div class="col-sm-8">
+                    <input name="constructingDate" th:field="*{constructingDate}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">平台地址:</label>
+                <div class="col-sm-8">
+                    <input name="platformAddress" th:field="*{platformAddress}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">平台地址Ext:</label>
+                <div class="col-sm-8">
+                    <input name="platformAddressExt" th:field="*{platformAddressExt}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">平台级别:</label>
+                <div class="col-sm-8">
+                    <input name="platformLevel" th:field="*{platformLevel}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">平台类型:</label>
+                <div class="col-sm-8">
+                    <select name="platformType" class="form-control m-b">
+                        <option value="">所有</option>
+                    </select>
+                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
+                </div>
+            </div>
+        </form>
+    </div>
+    <th:block th:include="include :: footer" />
+    <th:block th:include="include :: jsonview-js" />
+<!--    <script th:inline="javascript">-->
+<!--        var prefix = ctx + "system/platform";-->
+<!--        $("#form-platform-edit").validate({-->
+<!--            focusCleanup: true-->
+<!--        });-->
+
+<!--        function submitHandler() {-->
+<!--            if ($.validate.form()) {-->
+<!--                $.operate.save(prefix + "/edit", $('#form-platform-edit').serialize());-->
+<!--            }-->
+<!--        }-->
+<!--    </script>-->
+</body>
+</html>

+ 173 - 0
mybusiness/src/main/resources/templates/system/medicine/platform/platform.html

@@ -0,0 +1,173 @@
+<!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="cdTime"/>
+                            </li>
+                            <li>
+                                <label>批次号:</label>
+                                <input type="text" name="cdBatch"/>
+                            </li>
+                            <li>
+                                <label>操作状态:</label>
+                                <input type="text" name="cdOperation"/>
+                            </li>
+                            <li>
+                                <label>数据来源:</label>
+                                <input type="text" name="cdSource"/>
+                            </li>
+                            <li>
+                                <label>平台名称:</label>
+                                <input type="text" name="platformName"/>
+                            </li>
+                            <li>
+                                <label>建设单位:</label>
+                                <input type="text" name="constructingUnit"/>
+                            </li>
+                            <li>
+                                <label>建设时间:</label>
+                                <input type="text" name="constructingDate"/>
+                            </li>
+                            <li>
+                                <label>平台地址:</label>
+                                <input type="text" name="platformAddress"/>
+                            </li>
+                            <li>
+                                <label>平台地址Ext:</label>
+                                <input type="text" name="platformAddressExt"/>
+                            </li>
+                            <li>
+                                <label>平台级别:</label>
+                                <input type="text" name="platformLevel"/>
+                            </li>
+                            <li>
+                                <label>平台类型:</label>
+                                <select name="platformType">
+                                    <option value="">所有</option>
+                                    <option value="-1">代码生成请选择字典属性</option>
+                                </select>
+                            </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:platform:add">-->
+<!--                    <i class="fa fa-plus"></i> 添加-->
+<!--                </a>-->
+<!--                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:platform:edit">-->
+<!--                    <i class="fa fa-edit"></i> 修改-->
+<!--                </a>-->
+<!--                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:platform:remove">-->
+<!--                    <i class="fa fa-remove"></i> 删除-->
+<!--                </a>-->
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:platform: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:platform:edit')}]];
+        var removeFlag = [[${@permission.hasPermi('system:platform:remove')}]];
+        var detailFlag = [[${@permission.hasPermi('system:industry:detail')}]];
+        var prefix = ctx + "system/medicine/platform";
+
+        $(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: '传感器编号',
+                    visible: false
+                },
+                {
+                    field: 'cdTime',
+                    title: '推送时间'
+                },
+                {
+                    field: 'cdBatch',
+                    title: '批次号'
+                },
+                {
+                    field: 'cdOperation',
+                    title: '操作状态'
+                },
+                {
+                    field: 'cdSource',
+                    title: '数据来源'
+                },
+                {
+                    field: 'platformName',
+                    title: '平台名称'
+                },
+                {
+                    field: 'constructingUnit',
+                    title: '建设单位'
+                },
+                {
+                    field: 'constructingDate',
+                    title: '建设时间'
+                },
+                {
+                    field: 'platformAddress',
+                    title: '平台地址'
+                },
+                {
+                    field: 'platformAddressExt',
+                    title: '平台地址Ext'
+                },
+                {
+                    field: 'platformLevel',
+                    title: '平台级别'
+                },
+                {
+                    field: 'platformType',
+                    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>

+ 99 - 0
mybusiness/src/main/resources/templates/system/medicine/project/detail.html

@@ -0,0 +1,99 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('修改项目采集')" />
+    <th:block th:include="include :: jsonview-css" />
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-project-edit" th:object="${tGuijiMedicineProject}">
+            <input name="id" th:field="*{id}" type="hidden">
+            <div class="form-group">
+                <label class="col-sm-3 control-label">推送时间:</label>
+                <div class="col-sm-8">
+                    <input name="cdTime" th:field="*{cdTime}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">批次号:</label>
+                <div class="col-sm-8">
+                    <input name="cdBatch" th:field="*{cdBatch}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">操作状态:</label>
+                <div class="col-sm-8">
+                    <input name="cdOperation" th:field="*{cdOperation}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">数据来源:</label>
+                <div class="col-sm-8">
+                    <input name="cdSource" th:field="*{cdSource}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">项目名称:</label>
+                <div class="col-sm-8">
+                    <input name="projectName" th:field="*{projectName}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">项目机构:</label>
+                <div class="col-sm-8">
+                    <input name="projectOrgName" th:field="*{projectOrgName}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">项目地址:</label>
+                <div class="col-sm-8">
+                    <input name="projectAddress" th:field="*{projectAddress}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">建设阶段:</label>
+                <div class="col-sm-8">
+                    <div class="radio-box">
+                        <input type="radio" name="projectStatus" value="">
+                        <label th:for="projectStatus" th:text="未知"></label>
+                    </div>
+                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">项目总投资:</label>
+                <div class="col-sm-8">
+                    <input name="projectTotalInvestment" th:field="*{projectTotalInvestment}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">项目起年份:</label>
+                <div class="col-sm-8">
+                    <input name="projectStart" th:field="*{projectStart}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">项目止年份:</label>
+                <div class="col-sm-8">
+                    <input name="projectEnd" th:field="*{projectEnd}" class="form-control" type="text">
+                </div>
+            </div>
+        </form>
+    </div>
+    <th:block th:include="include :: footer" />
+    <th:block th:include="include :: jsonview-js" />
+<!--    <th:block th:include="include :: footer" />-->
+<!--    <script th:inline="javascript">-->
+<!--        var prefix = ctx + "system/project";-->
+<!--        $("#form-project-edit").validate({-->
+<!--            focusCleanup: true-->
+<!--        });-->
+
+<!--        function submitHandler() {-->
+<!--            if ($.validate.form()) {-->
+<!--                $.operate.save(prefix + "/edit", $('#form-project-edit').serialize());-->
+<!--            }-->
+<!--        }-->
+<!--    </script>-->
+</body>
+</html>

+ 173 - 0
mybusiness/src/main/resources/templates/system/medicine/project/project.html

@@ -0,0 +1,173 @@
+<!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="cdTime"/>
+                            </li>
+                            <li>
+                                <label>批次号:</label>
+                                <input type="text" name="cdBatch"/>
+                            </li>
+                            <li>
+                                <label>操作状态:</label>
+                                <input type="text" name="cdOperation"/>
+                            </li>
+                            <li>
+                                <label>数据来源:</label>
+                                <input type="text" name="cdSource"/>
+                            </li>
+                            <li>
+                                <label>项目名称:</label>
+                                <input type="text" name="projectName"/>
+                            </li>
+                            <li>
+                                <label>项目机构:</label>
+                                <input type="text" name="projectOrgName"/>
+                            </li>
+                            <li>
+                                <label>项目地址:</label>
+                                <input type="text" name="projectAddress"/>
+                            </li>
+                            <li>
+                                <label>建设阶段:</label>
+                                <select name="projectStatus">
+                                    <option value="">所有</option>
+                                    <option value="-1">代码生成请选择字典属性</option>
+                                </select>
+                            </li>
+                            <li>
+                                <label>项目总投资:</label>
+                                <input type="text" name="projectTotalInvestment"/>
+                            </li>
+                            <li>
+                                <label>项目起年份:</label>
+                                <input type="text" name="projectStart"/>
+                            </li>
+                            <li>
+                                <label>项目止年份:</label>
+                                <input type="text" name="projectEnd"/>
+                            </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:project:add">-->
+<!--                    <i class="fa fa-plus"></i> 添加-->
+<!--                </a>-->
+<!--                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:project:edit">-->
+<!--                    <i class="fa fa-edit"></i> 修改-->
+<!--                </a>-->
+<!--                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:project:remove">-->
+<!--                    <i class="fa fa-remove"></i> 删除-->
+<!--                </a>-->
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:project: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:project:edit')}]];
+        var removeFlag = [[${@permission.hasPermi('system:project:remove')}]];
+        var detailFlag = [[${@permission.hasPermi('system:industry:detail')}]];
+        var prefix = ctx + "system/medicine/project";
+
+        $(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: '传感器编号',
+                    visible: false
+                },
+                {
+                    field: 'cdTime',
+                    title: '推送时间'
+                },
+                {
+                    field: 'cdBatch',
+                    title: '批次号'
+                },
+                {
+                    field: 'cdOperation',
+                    title: '操作状态'
+                },
+                {
+                    field: 'cdSource',
+                    title: '数据来源'
+                },
+                {
+                    field: 'projectName',
+                    title: '项目名称'
+                },
+                {
+                    field: 'projectOrgName',
+                    title: '项目机构'
+                },
+                {
+                    field: 'projectAddress',
+                    title: '项目地址'
+                },
+                {
+                    field: 'projectStatus',
+                    title: '建设阶段'
+                },
+                {
+                    field: 'projectTotalInvestment',
+                    title: '项目总投资'
+                },
+                {
+                    field: 'projectStart',
+                    title: '项目起年份'
+                },
+                {
+                    field: 'projectEnd',
+                    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>