소스 검색

生物防控人员2

523096025 1 년 전
부모
커밋
749cfda38e

+ 20 - 0
huimv-receive/src/main/java/com/huimv/receive/controller/BillCleanBeforeController.java

@@ -0,0 +1,20 @@
+package com.huimv.receive.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 洗消表 前端控制器
+ * </p>
+ *
+ * @author author
+ * @since 2024-03-11
+ */
+@RestController
+@RequestMapping("/bill-clean-before")
+public class BillCleanBeforeController {
+
+}

+ 20 - 0
huimv-receive/src/main/java/com/huimv/receive/controller/BillSamplingController.java

@@ -0,0 +1,20 @@
+package com.huimv.receive.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 洗消表 前端控制器
+ * </p>
+ *
+ * @author author
+ * @since 2024-03-11
+ */
+@RestController
+@RequestMapping("/bill-sampling")
+public class BillSamplingController {
+
+}

+ 126 - 0
huimv-receive/src/main/java/com/huimv/receive/entity/BillCleanBefore.java

@@ -0,0 +1,126 @@
+package com.huimv.receive.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-03-11
+ */
+@Data
+@EqualsAndHashCode(callSuper = false)
+@Accessors(chain = true)
+@TableName("bill_clean_before")
+public class BillCleanBefore implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 来访类型 0人员  1环保车 2拉猪车 3饲料车  4送猪车 5物资车  6送餐
+     */
+    private Integer vistitType;
+
+    /**
+     * 目的地
+     */
+    private String destName;
+
+    /**
+     * 目的地 id
+     */
+    private Integer destId;
+
+    /**
+     * 申请人
+     */
+    private String admissionUserName;
+
+    /**
+     * 申请人id
+     */
+    private Integer admissionUserId;
+
+    /**
+     * 来访时间
+     */
+    private LocalDateTime vistitDate;
+
+    /**
+     * 提交时间
+     */
+    private LocalDateTime subDate;
+
+    private String farmId;
+
+    /**
+     * 当前状态 0待审批 1合格  2异常
+     */
+    private Integer billStatus;
+
+    /**
+     * 处理时间
+     */
+    private LocalDateTime passDate;
+
+    /**
+     * 处理人
+     */
+    private String passUserName;
+
+    /**
+     * 处理人id
+     */
+    private Integer passUserId;
+
+    /**
+     * 进程id
+     */
+    private Integer processId;
+
+    /**
+     * 检测时间
+     */
+    private LocalDateTime checkDate;
+
+    /**
+     * 检测地点
+     */
+    private String testLocation;
+
+    private Integer testLocationId;
+
+    /**
+     * 手机号
+     */
+    private String phone;
+
+    /**
+     * 车牌号
+     */
+    private String carNum;
+
+    /**
+     * 视频地址
+     */
+    private String imgUrl;
+
+    /**
+     * 0待上传 1已上传
+     */
+    private Integer imgStatus;
+
+
+}

+ 126 - 0
huimv-receive/src/main/java/com/huimv/receive/entity/BillSampling.java

@@ -0,0 +1,126 @@
+package com.huimv.receive.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-03-11
+ */
+@Data
+@EqualsAndHashCode(callSuper = false)
+@Accessors(chain = true)
+@TableName("bill_sampling")
+public class BillSampling implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 来访类型 0人员  1环保车 2拉猪车 3饲料车  4送猪车 5物资车  6送餐
+     */
+    private Integer vistitType;
+
+    /**
+     * 目的地
+     */
+    private String destName;
+
+    /**
+     * 目的地 id
+     */
+    private Integer destId;
+
+    /**
+     * 申请人
+     */
+    private String admissionUserName;
+
+    /**
+     * 申请人id
+     */
+    private Integer admissionUserId;
+
+    /**
+     * 来访时间
+     */
+    private LocalDateTime vistitDate;
+
+    /**
+     * 提交时间
+     */
+    private LocalDateTime subDate;
+
+    private String farmId;
+
+    /**
+     * 当前状态 0待审批 1合格  2异常
+     */
+    private Integer billStatus;
+
+    /**
+     * 处理时间
+     */
+    private LocalDateTime passDate;
+
+    /**
+     * 处理人
+     */
+    private String passUserName;
+
+    /**
+     * 处理人id
+     */
+    private Integer passUserId;
+
+    /**
+     * 进程id
+     */
+    private Integer processId;
+
+    /**
+     * 检测时间
+     */
+    private LocalDateTime checkDate;
+
+    /**
+     * 检测地点
+     */
+    private String testLocation;
+
+    private Integer testLocationId;
+
+    /**
+     * 手机号
+     */
+    private String phone;
+
+    /**
+     * 车牌号
+     */
+    private String carNum;
+
+    /**
+     * 视频地址
+     */
+    private String imgUrl;
+
+    /**
+     * 0待上传 1已上传
+     */
+    private Integer imgStatus;
+
+
+}

+ 16 - 0
huimv-receive/src/main/java/com/huimv/receive/mapper/BillCleanBeforeMapper.java

@@ -0,0 +1,16 @@
+package com.huimv.receive.mapper;
+
+import com.huimv.receive.entity.BillCleanBefore;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 洗消表 Mapper 接口
+ * </p>
+ *
+ * @author author
+ * @since 2024-03-11
+ */
+public interface BillCleanBeforeMapper extends BaseMapper<BillCleanBefore> {
+
+}

+ 16 - 0
huimv-receive/src/main/java/com/huimv/receive/mapper/BillSamplingMapper.java

@@ -0,0 +1,16 @@
+package com.huimv.receive.mapper;
+
+import com.huimv.receive.entity.BillSampling;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 洗消表 Mapper 接口
+ * </p>
+ *
+ * @author author
+ * @since 2024-03-11
+ */
+public interface BillSamplingMapper extends BaseMapper<BillSampling> {
+
+}

+ 16 - 0
huimv-receive/src/main/java/com/huimv/receive/service/IBillCleanBeforeService.java

@@ -0,0 +1,16 @@
+package com.huimv.receive.service;
+
+import com.huimv.receive.entity.BillCleanBefore;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 洗消表 服务类
+ * </p>
+ *
+ * @author author
+ * @since 2024-03-11
+ */
+public interface IBillCleanBeforeService extends IService<BillCleanBefore> {
+
+}

+ 16 - 0
huimv-receive/src/main/java/com/huimv/receive/service/IBillSamplingService.java

@@ -0,0 +1,16 @@
+package com.huimv.receive.service;
+
+import com.huimv.receive.entity.BillSampling;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 洗消表 服务类
+ * </p>
+ *
+ * @author author
+ * @since 2024-03-11
+ */
+public interface IBillSamplingService extends IService<BillSampling> {
+
+}

+ 20 - 0
huimv-receive/src/main/java/com/huimv/receive/service/impl/BillCleanBeforeServiceImpl.java

@@ -0,0 +1,20 @@
+package com.huimv.receive.service.impl;
+
+import com.huimv.receive.entity.BillCleanBefore;
+import com.huimv.receive.mapper.BillCleanBeforeMapper;
+import com.huimv.receive.service.IBillCleanBeforeService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 洗消表 服务实现类
+ * </p>
+ *
+ * @author author
+ * @since 2024-03-11
+ */
+@Service
+public class BillCleanBeforeServiceImpl extends ServiceImpl<BillCleanBeforeMapper, BillCleanBefore> implements IBillCleanBeforeService {
+
+}

+ 20 - 0
huimv-receive/src/main/java/com/huimv/receive/service/impl/BillSamplingServiceImpl.java

@@ -0,0 +1,20 @@
+package com.huimv.receive.service.impl;
+
+import com.huimv.receive.entity.BillSampling;
+import com.huimv.receive.mapper.BillSamplingMapper;
+import com.huimv.receive.service.IBillSamplingService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 洗消表 服务实现类
+ * </p>
+ *
+ * @author author
+ * @since 2024-03-11
+ */
+@Service
+public class BillSamplingServiceImpl extends ServiceImpl<BillSamplingMapper, BillSampling> implements IBillSamplingService {
+
+}

+ 30 - 0
huimv-receive/src/main/resources/mapper/BillCleanBeforeMapper.xml

@@ -0,0 +1,30 @@
+<?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.receive.mapper.BillCleanBeforeMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="BaseResultMap" type="com.huimv.receive.entity.BillCleanBefore">
+        <id column="id" property="id" />
+        <result column="vistit_type" property="vistitType" />
+        <result column="dest_name" property="destName" />
+        <result column="dest_id" property="destId" />
+        <result column="admission_user_name" property="admissionUserName" />
+        <result column="admission_user_id" property="admissionUserId" />
+        <result column="vistit_date" property="vistitDate" />
+        <result column="sub_date" property="subDate" />
+        <result column="farm_id" property="farmId" />
+        <result column="bill_status" property="billStatus" />
+        <result column="pass_date" property="passDate" />
+        <result column="pass_user_name" property="passUserName" />
+        <result column="pass_user_id" property="passUserId" />
+        <result column="process_id" property="processId" />
+        <result column="check_date" property="checkDate" />
+        <result column="test_location" property="testLocation" />
+        <result column="test_location_id" property="testLocationId" />
+        <result column="phone" property="phone" />
+        <result column="car_num" property="carNum" />
+        <result column="img_url" property="imgUrl" />
+        <result column="img_status" property="imgStatus" />
+    </resultMap>
+
+</mapper>

+ 30 - 0
huimv-receive/src/main/resources/mapper/BillSamplingMapper.xml

@@ -0,0 +1,30 @@
+<?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.receive.mapper.BillSamplingMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="BaseResultMap" type="com.huimv.receive.entity.BillSampling">
+        <id column="id" property="id" />
+        <result column="vistit_type" property="vistitType" />
+        <result column="dest_name" property="destName" />
+        <result column="dest_id" property="destId" />
+        <result column="admission_user_name" property="admissionUserName" />
+        <result column="admission_user_id" property="admissionUserId" />
+        <result column="vistit_date" property="vistitDate" />
+        <result column="sub_date" property="subDate" />
+        <result column="farm_id" property="farmId" />
+        <result column="bill_status" property="billStatus" />
+        <result column="pass_date" property="passDate" />
+        <result column="pass_user_name" property="passUserName" />
+        <result column="pass_user_id" property="passUserId" />
+        <result column="process_id" property="processId" />
+        <result column="check_date" property="checkDate" />
+        <result column="test_location" property="testLocation" />
+        <result column="test_location_id" property="testLocationId" />
+        <result column="phone" property="phone" />
+        <result column="car_num" property="carNum" />
+        <result column="img_url" property="imgUrl" />
+        <result column="img_status" property="imgStatus" />
+    </resultMap>
+
+</mapper>