Browse Source

健康管理

wwh 10 months ago
parent
commit
c6a0e27b9f
29 changed files with 652 additions and 2 deletions
  1. 40 0
      musk/src/main/java/com/huimv/farm/musk/breed/controller/MuskEarmarkController.java
  2. 1 1
      musk/src/main/java/com/huimv/farm/musk/breed/entity/BreedMedicine.java
  3. 1 1
      musk/src/main/java/com/huimv/farm/musk/breed/entity/BreedMuskStock.java
  4. 55 0
      musk/src/main/java/com/huimv/farm/musk/breed/entity/MuskEarmark.java
  5. 16 0
      musk/src/main/java/com/huimv/farm/musk/breed/mapper/MuskEarmarkMapper.java
  6. 16 0
      musk/src/main/java/com/huimv/farm/musk/breed/service/IMuskEarmarkService.java
  7. 20 0
      musk/src/main/java/com/huimv/farm/musk/breed/service/impl/MuskEarmarkServiceImpl.java
  8. 20 0
      musk/src/main/java/com/huimv/farm/musk/health/controller/HealthDataController.java
  9. 23 0
      musk/src/main/java/com/huimv/farm/musk/health/controller/HealthThresholdController.java
  10. 20 0
      musk/src/main/java/com/huimv/farm/musk/health/controller/HealthWarningController.java
  11. 57 0
      musk/src/main/java/com/huimv/farm/musk/health/entity/HealthData.java
  12. 71 0
      musk/src/main/java/com/huimv/farm/musk/health/entity/HealthThreshold.java
  13. 57 0
      musk/src/main/java/com/huimv/farm/musk/health/entity/HealthWarning.java
  14. 16 0
      musk/src/main/java/com/huimv/farm/musk/health/mapper/HealthDataMapper.java
  15. 19 0
      musk/src/main/java/com/huimv/farm/musk/health/mapper/HealthThresholdMapper.java
  16. 16 0
      musk/src/main/java/com/huimv/farm/musk/health/mapper/HealthWarningMapper.java
  17. 16 0
      musk/src/main/java/com/huimv/farm/musk/health/service/IHealthDataService.java
  18. 23 0
      musk/src/main/java/com/huimv/farm/musk/health/service/IHealthThresholdService.java
  19. 16 0
      musk/src/main/java/com/huimv/farm/musk/health/service/IHealthWarningService.java
  20. 20 0
      musk/src/main/java/com/huimv/farm/musk/health/service/impl/HealthDataServiceImpl.java
  21. 51 0
      musk/src/main/java/com/huimv/farm/musk/health/service/impl/HealthThresholdServiceImpl.java
  22. 20 0
      musk/src/main/java/com/huimv/farm/musk/health/service/impl/HealthWarningServiceImpl.java
  23. 28 0
      musk/src/main/java/com/huimv/farm/musk/timer/HealthTimer.java
  24. 5 0
      musk/src/main/resources/mapper/HealthActMapper.xml
  25. 5 0
      musk/src/main/resources/mapper/HealthDataMapper.xml
  26. 5 0
      musk/src/main/resources/mapper/HealthTempMapper.xml
  27. 5 0
      musk/src/main/resources/mapper/HealthThresholdMapper.xml
  28. 5 0
      musk/src/main/resources/mapper/HealthWarningMapper.xml
  29. 5 0
      musk/src/main/resources/mapper/MuskEarmarkMapper.xml

+ 40 - 0
musk/src/main/java/com/huimv/farm/musk/breed/controller/MuskEarmarkController.java

@@ -0,0 +1,40 @@
+package com.huimv.farm.musk.breed.controller;
+
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.huimv.farm.musk.breed.entity.MuskEarmark;
+import com.huimv.farm.musk.breed.service.IMuskEarmarkService;
+import com.huimv.farm.musk.common.utils.Result;
+import com.huimv.farm.musk.common.utils.ResultCode;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.CrossOrigin;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * <p>
+ * 保存耳标平台的耳标 前端控制器
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+@RestController
+@RequestMapping("/musk-earmark")
+@CrossOrigin
+public class MuskEarmarkController {
+    @Autowired
+    private IMuskEarmarkService earmarkService;
+
+    @RequestMapping("/list")
+    public Result list(@RequestBody Map<String, String> paramsMap) {
+        String farmId = paramsMap.get("farmId");
+        List<MuskEarmark> earmarks = earmarkService.list(new QueryWrapper<MuskEarmark>().eq("farm_id", farmId));
+        return new Result(ResultCode.SUCCESS,earmarks);
+    }
+}

+ 1 - 1
musk/src/main/java/com/huimv/farm/musk/breed/entity/BreedMedicine.java

@@ -39,7 +39,7 @@ public class BreedMedicine implements Serializable {
     /**
     /**
      * 阶段
      * 阶段
      */
      */
-    private Integer stage;
+    private String stage;
 
 
     /**
     /**
      * 剂量
      * 剂量

+ 1 - 1
musk/src/main/java/com/huimv/farm/musk/breed/entity/BreedMuskStock.java

@@ -44,7 +44,7 @@ public class BreedMuskStock implements Serializable {
     /**
     /**
      * 养殖阶段
      * 养殖阶段
      */
      */
-    private Integer stage;
+    private String stage;
 
 
     /**
     /**
      * 栋舍名称
      * 栋舍名称

+ 55 - 0
musk/src/main/java/com/huimv/farm/musk/breed/entity/MuskEarmark.java

@@ -0,0 +1,55 @@
+package com.huimv.farm.musk.breed.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import java.io.Serializable;
+import java.util.Date;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * <p>
+ * 保存耳标平台的耳标
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+@Data
+@EqualsAndHashCode(callSuper = false)
+@Accessors(chain = true)
+@TableName("musk_earmark")
+public class MuskEarmark implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 耳标编码
+     */
+    private String earmark;
+
+    /**
+     * 是否绑定 0未绑定 1以绑定
+     */
+    private Integer isUse;
+
+    private Integer farmId;
+
+    private String temp;
+
+    private String act;
+
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date updateTime;
+
+    private Integer status;
+
+
+}

+ 16 - 0
musk/src/main/java/com/huimv/farm/musk/breed/mapper/MuskEarmarkMapper.java

@@ -0,0 +1,16 @@
+package com.huimv.farm.musk.breed.mapper;
+
+import com.huimv.farm.musk.breed.entity.MuskEarmark;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 保存耳标平台的耳标 Mapper 接口
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+public interface MuskEarmarkMapper extends BaseMapper<MuskEarmark> {
+
+}

+ 16 - 0
musk/src/main/java/com/huimv/farm/musk/breed/service/IMuskEarmarkService.java

@@ -0,0 +1,16 @@
+package com.huimv.farm.musk.breed.service;
+
+import com.huimv.farm.musk.breed.entity.MuskEarmark;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 保存耳标平台的耳标 服务类
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+public interface IMuskEarmarkService extends IService<MuskEarmark> {
+
+}

+ 20 - 0
musk/src/main/java/com/huimv/farm/musk/breed/service/impl/MuskEarmarkServiceImpl.java

@@ -0,0 +1,20 @@
+package com.huimv.farm.musk.breed.service.impl;
+
+import com.huimv.farm.musk.breed.entity.MuskEarmark;
+import com.huimv.farm.musk.breed.mapper.MuskEarmarkMapper;
+import com.huimv.farm.musk.breed.service.IMuskEarmarkService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 保存耳标平台的耳标 服务实现类
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+@Service
+public class MuskEarmarkServiceImpl extends ServiceImpl<MuskEarmarkMapper, MuskEarmark> implements IMuskEarmarkService {
+
+}

+ 20 - 0
musk/src/main/java/com/huimv/farm/musk/health/controller/HealthDataController.java

@@ -0,0 +1,20 @@
+package com.huimv.farm.musk.health.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 体温输入 前端控制器
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+@RestController
+@RequestMapping("/health-data")
+public class HealthDataController {
+
+}

+ 23 - 0
musk/src/main/java/com/huimv/farm/musk/health/controller/HealthThresholdController.java

@@ -0,0 +1,23 @@
+package com.huimv.farm.musk.health.controller;
+
+
+import org.springframework.web.bind.annotation.CrossOrigin;
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 健康阈值设置 前端控制器
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+@RestController
+@RequestMapping("/health-threshold")
+@CrossOrigin
+public class HealthThresholdController {
+
+
+}

+ 20 - 0
musk/src/main/java/com/huimv/farm/musk/health/controller/HealthWarningController.java

@@ -0,0 +1,20 @@
+package com.huimv.farm.musk.health.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 健康监测预警 前端控制器
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+@RestController
+@RequestMapping("/health-warning")
+public class HealthWarningController {
+
+}

+ 57 - 0
musk/src/main/java/com/huimv/farm/musk/health/entity/HealthData.java

@@ -0,0 +1,57 @@
+package com.huimv.farm.musk.health.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import java.time.LocalDateTime;
+import java.io.Serializable;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * <p>
+ * 体温输入
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+@Data
+@EqualsAndHashCode(callSuper = false)
+@Accessors(chain = true)
+@TableName("health_data")
+public class HealthData implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 耳标号
+     */
+    private String earmark;
+
+    /**
+     * 温度
+     */
+    private String temp;
+
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createTime;
+
+    /**
+     * 牧场编码
+     */
+    private Integer farmId;
+
+    /**
+     * 运动量
+     */
+    private String act;
+
+
+}

+ 71 - 0
musk/src/main/java/com/huimv/farm/musk/health/entity/HealthThreshold.java

@@ -0,0 +1,71 @@
+package com.huimv.farm.musk.health.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import java.io.Serializable;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * <p>
+ * 健康阈值设置
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+@Data
+@EqualsAndHashCode(callSuper = false)
+@Accessors(chain = true)
+@TableName("health_threshold")
+public class HealthThreshold implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 体温上限
+     */
+    private String tempUpper;
+
+    /**
+     * 体温下限
+     */
+    private String tempDown;
+
+    /**
+     * 运动量上限
+     */
+    private String actUpper;
+
+    /**
+     * 运动量下限
+     */
+    private String actDown;
+
+    /**
+     * 1春2夏3秋4冬
+     */
+    private Integer season;
+
+    /**
+     * 日龄
+     */
+    private Integer dayNum;
+
+    /**
+     * 牧场编码
+     */
+    private Integer farmId;
+
+    /**
+     * 负责人
+     */
+    private String user;
+
+
+}

+ 57 - 0
musk/src/main/java/com/huimv/farm/musk/health/entity/HealthWarning.java

@@ -0,0 +1,57 @@
+package com.huimv.farm.musk.health.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import java.time.LocalDateTime;
+import java.io.Serializable;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+/**
+ * <p>
+ * 健康监测预警
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+@Data
+@EqualsAndHashCode(callSuper = false)
+@Accessors(chain = true)
+@TableName("health_warning")
+public class HealthWarning implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 预警内容
+     */
+    private String content;
+
+    /**
+     * 林麝id
+     */
+    private String muskId;
+
+    /**
+     * 预警类型 1体温高 2体温低 3运动量少 4运动量高
+     */
+    private Integer warningType;
+
+    /**
+     * 创建时间
+     */
+    private LocalDateTime createTime;
+
+    /**
+     * 牧场编码
+     */
+    private Integer farmId;
+
+
+}

+ 16 - 0
musk/src/main/java/com/huimv/farm/musk/health/mapper/HealthDataMapper.java

@@ -0,0 +1,16 @@
+package com.huimv.farm.musk.health.mapper;
+
+import com.huimv.farm.musk.health.entity.HealthData;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 体温输入 Mapper 接口
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+public interface HealthDataMapper extends BaseMapper<HealthData> {
+
+}

+ 19 - 0
musk/src/main/java/com/huimv/farm/musk/health/mapper/HealthThresholdMapper.java

@@ -0,0 +1,19 @@
+package com.huimv.farm.musk.health.mapper;
+
+import com.huimv.farm.musk.common.utils.Result;
+import com.huimv.farm.musk.health.entity.HealthThreshold;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+import java.util.Map;
+
+/**
+ * <p>
+ * 健康阈值设置 Mapper 接口
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+public interface HealthThresholdMapper extends BaseMapper<HealthThreshold> {
+
+}

+ 16 - 0
musk/src/main/java/com/huimv/farm/musk/health/mapper/HealthWarningMapper.java

@@ -0,0 +1,16 @@
+package com.huimv.farm.musk.health.mapper;
+
+import com.huimv.farm.musk.health.entity.HealthWarning;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 健康监测预警 Mapper 接口
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+public interface HealthWarningMapper extends BaseMapper<HealthWarning> {
+
+}

+ 16 - 0
musk/src/main/java/com/huimv/farm/musk/health/service/IHealthDataService.java

@@ -0,0 +1,16 @@
+package com.huimv.farm.musk.health.service;
+
+import com.huimv.farm.musk.health.entity.HealthData;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 体温输入 服务类
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+public interface IHealthDataService extends IService<HealthData> {
+
+}

+ 23 - 0
musk/src/main/java/com/huimv/farm/musk/health/service/IHealthThresholdService.java

@@ -0,0 +1,23 @@
+package com.huimv.farm.musk.health.service;
+
+import com.huimv.farm.musk.common.utils.Result;
+import com.huimv.farm.musk.health.entity.HealthThreshold;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+import java.util.Map;
+
+/**
+ * <p>
+ * 健康阈值设置 服务类
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+public interface IHealthThresholdService extends IService<HealthThreshold> {
+
+    Result listThreshold(Map<String, String> paramsMap);
+
+    Result addOrEdit(HealthThreshold healthThreshold);
+
+}

+ 16 - 0
musk/src/main/java/com/huimv/farm/musk/health/service/IHealthWarningService.java

@@ -0,0 +1,16 @@
+package com.huimv.farm.musk.health.service;
+
+import com.huimv.farm.musk.health.entity.HealthWarning;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 健康监测预警 服务类
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+public interface IHealthWarningService extends IService<HealthWarning> {
+
+}

+ 20 - 0
musk/src/main/java/com/huimv/farm/musk/health/service/impl/HealthDataServiceImpl.java

@@ -0,0 +1,20 @@
+package com.huimv.farm.musk.health.service.impl;
+
+import com.huimv.farm.musk.health.entity.HealthData;
+import com.huimv.farm.musk.health.mapper.HealthDataMapper;
+import com.huimv.farm.musk.health.service.IHealthDataService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 体温输入 服务实现类
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+@Service
+public class HealthDataServiceImpl extends ServiceImpl<HealthDataMapper, HealthData> implements IHealthDataService {
+
+}

+ 51 - 0
musk/src/main/java/com/huimv/farm/musk/health/service/impl/HealthThresholdServiceImpl.java

@@ -0,0 +1,51 @@
+package com.huimv.farm.musk.health.service.impl;
+
+import cn.hutool.core.bean.BeanUtil;
+import cn.hutool.core.util.ObjectUtil;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.huimv.farm.musk.common.utils.Result;
+import com.huimv.farm.musk.common.utils.ResultCode;
+import com.huimv.farm.musk.health.entity.HealthThreshold;
+import com.huimv.farm.musk.health.mapper.HealthThresholdMapper;
+import com.huimv.farm.musk.health.service.IHealthThresholdService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.Map;
+
+/**
+ * <p>
+ * 健康阈值设置 服务实现类
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+@Service
+public class HealthThresholdServiceImpl extends ServiceImpl<HealthThresholdMapper, HealthThreshold> implements IHealthThresholdService {
+
+    @Autowired
+    private HealthThresholdMapper thresholdMapper;
+
+    @Override
+    public Result listThreshold(Map<String, String> paramsMap) {
+        String farmId = paramsMap.get("farmId");
+        HealthThreshold threshold = thresholdMapper.selectOne(new QueryWrapper<HealthThreshold>().eq("farm_id", farmId));
+        return new Result(ResultCode.SUCCESS, threshold);
+    }
+
+    @Override
+    public Result addOrEdit(HealthThreshold healthThreshold) {
+        Integer farmId = healthThreshold.getFarmId();
+        HealthThreshold threshold = thresholdMapper.selectOne(new QueryWrapper<HealthThreshold>().eq("farm_id", farmId));
+        if (ObjectUtil.isNotEmpty(threshold)) {
+            BeanUtil.copyProperties(healthThreshold, threshold);
+            thresholdMapper.updateById(threshold);
+            return new Result(10000, "修改成功", true);
+        } else {
+            thresholdMapper.insert(healthThreshold);
+            return new Result(10000, "添加成功", true);
+        }
+    }
+}

+ 20 - 0
musk/src/main/java/com/huimv/farm/musk/health/service/impl/HealthWarningServiceImpl.java

@@ -0,0 +1,20 @@
+package com.huimv.farm.musk.health.service.impl;
+
+import com.huimv.farm.musk.health.entity.HealthWarning;
+import com.huimv.farm.musk.health.mapper.HealthWarningMapper;
+import com.huimv.farm.musk.health.service.IHealthWarningService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 健康监测预警 服务实现类
+ * </p>
+ *
+ * @author author
+ * @since 2024-09-03
+ */
+@Service
+public class HealthWarningServiceImpl extends ServiceImpl<HealthWarningMapper, HealthWarning> implements IHealthWarningService {
+
+}

+ 28 - 0
musk/src/main/java/com/huimv/farm/musk/timer/HealthTimer.java

@@ -0,0 +1,28 @@
+package com.huimv.farm.musk.timer;
+
+
+import com.huimv.farm.musk.breed.service.IMuskEarmarkService;
+import com.huimv.farm.musk.health.service.IHealthDataService;
+import com.huimv.farm.musk.health.service.IHealthThresholdService;
+import com.huimv.farm.musk.health.service.IHealthWarningService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.scheduling.annotation.EnableScheduling;
+import org.springframework.stereotype.Component;
+
+@Component
+@EnableScheduling
+public class HealthTimer {
+
+    @Autowired
+    private IHealthDataService dataService;
+    @Autowired
+    private IHealthThresholdService thresholdService;
+    @Autowired
+    private IHealthWarningService warningService;
+    @Autowired
+    private IMuskEarmarkService muskEarmarkService;
+
+    public void healthTimer() {
+
+    }
+}

+ 5 - 0
musk/src/main/resources/mapper/HealthActMapper.xml

@@ -0,0 +1,5 @@
+<?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.huimv.farm.musk.health.mapper.HealthActMapper">
+
+</mapper>

+ 5 - 0
musk/src/main/resources/mapper/HealthDataMapper.xml

@@ -0,0 +1,5 @@
+<?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.huimv.farm.musk.health.mapper.HealthDataMapper">
+
+</mapper>

+ 5 - 0
musk/src/main/resources/mapper/HealthTempMapper.xml

@@ -0,0 +1,5 @@
+<?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.huimv.farm.musk.health.mapper.HealthTempMapper">
+
+</mapper>

+ 5 - 0
musk/src/main/resources/mapper/HealthThresholdMapper.xml

@@ -0,0 +1,5 @@
+<?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.huimv.farm.musk.health.mapper.HealthThresholdMapper">
+
+</mapper>

+ 5 - 0
musk/src/main/resources/mapper/HealthWarningMapper.xml

@@ -0,0 +1,5 @@
+<?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.huimv.farm.musk.health.mapper.HealthWarningMapper">
+
+</mapper>

+ 5 - 0
musk/src/main/resources/mapper/MuskEarmarkMapper.xml

@@ -0,0 +1,5 @@
+<?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.huimv.farm.musk.breed.mapper.MuskEarmarkMapper">
+
+</mapper>