yq 3 gadi atpakaļ
vecāks
revīzija
8c30a106aa

+ 0 - 21
mhfire-controller/src/main/java/com/bizmatics/mhfire/controller/web/DutyController.java

@@ -1,21 +0,0 @@
-package com.bizmatics.mhfire.controller.web;
-
-
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import org.springframework.stereotype.Controller;
-
-/**
- * <p>
- *  前端控制器
- * </p>
- *
- * @author ya
- * @since 2021-11-04
- */
-@Controller
-@RequestMapping("/duty")
-public class DutyController {
-
-}
-

+ 0 - 17
mhfire-mapping/src/main/java/com/bizmatics/mhfire/persistence/mapper/DutyMapper.java

@@ -1,17 +0,0 @@
-package com.bizmatics.mhfire.persistence.mapper;
-
-
-import com.bizmatics.common.mvc.base.CrudMapper;
-import com.bizmatics.mhfire.model.Duty;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author ya
- * @since 2021-11-04
- */
-public interface DutyMapper extends CrudMapper<Duty> {
-
-}

+ 0 - 18
mhfire-mapping/src/main/resources/mapper/mysql/DutyMapper.xml

@@ -1,18 +0,0 @@
-<?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.bizmatics.mhfire.persistence.mapper.DutyMapper">
-
-    <!-- 通用查询映射结果 -->
-    <resultMap id="BaseResultMap" type="com.bizmatics.mhfire.model.Duty">
-        <result column="orga_desc" property="orgaDesc" />
-        <result column="DTHH" property="dthh" />
-        <result column="LXDH" property="lxdh" />
-        <result column="car_status" property="carStatus" />
-        <result column="YS" property="ys" />
-        <result column="ID" property="id" />
-        <result column="CLJC" property="cljc" />
-        <result column="CPHM" property="cphm" />
-        <result column="ssxfjgid" property="ssxfjgid" />
-    </resultMap>
-
-</mapper>

+ 0 - 50
mhfire-model/src/main/java/com/bizmatics/mhfire/model/Duty.java

@@ -1,50 +0,0 @@
-package com.bizmatics.mhfire.model;
-
-import com.baomidou.mybatisplus.annotation.TableField;
-import lombok.Data;
-import lombok.EqualsAndHashCode;
-import lombok.experimental.Accessors;
-
-import java.io.Serializable;
-
-/**
- * <p>
- * 
- * </p>
- *
- * @author ya
- * @since 2021-11-04
- */
-@Data
-@EqualsAndHashCode(callSuper = false)
-@Accessors(chain = true)
-public class Duty implements Serializable {
-
-    private static final long serialVersionUID=1L;
-
-    private String orgaDesc;
-
-    @TableField("DTHH")
-    private String dthh;
-
-    @TableField("LXDH")
-    private String lxdh;
-
-    private String carStatus;
-
-    @TableField("YS")
-    private String ys;
-
-    @TableField("ID")
-    private String id;
-
-    @TableField("CLJC")
-    private String cljc;
-
-    @TableField("CPHM")
-    private String cphm;
-
-    private String ssxfjgid;
-
-
-}

+ 0 - 17
mhfire-service/src/main/java/com/bizmatics/mhfire/service/DutyService.java

@@ -1,17 +0,0 @@
-package com.bizmatics.mhfire.service;
-
-
-import com.bizmatics.common.mvc.base.CrudService;
-import com.bizmatics.mhfire.model.Duty;
-
-/**
- * <p>
- *  服务类
- * </p>
- *
- * @author ya
- * @since 2021-11-04
- */
-public interface DutyService extends CrudService<Duty> {
-
-}

+ 0 - 21
mhfire-service/src/main/java/com/bizmatics/mhfire/service/impl/DutyServiceImpl.java

@@ -1,21 +0,0 @@
-package com.bizmatics.mhfire.service.impl;
-
-
-import com.bizmatics.mhfire.model.Duty;
-import com.bizmatics.mhfire.persistence.mapper.DutyMapper;
-import com.bizmatics.mhfire.service.DutyService;
-import com.bizmatics.common.mvc.base.AbstractCrudService;
-import org.springframework.stereotype.Service;
-
-/**
- * <p>
- *  服务实现类
- * </p>
- *
- * @author ya
- * @since 2021-11-04
- */
-@Service
-public class DutyServiceImpl extends AbstractCrudService<DutyMapper, Duty> implements DutyService {
-
-}

+ 0 - 50
mhfire-service/src/main/java/com/bizmatics/mhfire/service/vo/FireSiteDutyVO.java

@@ -1,50 +0,0 @@
-package com.bizmatics.mhfire.service.vo;
-
-import lombok.Data;
-
-import java.sql.SQLTransactionRollbackException;
-
-/**
- * @author yq
- * @date 2021/5/28 16:11
- * 消防站点执勤实力
- */
-@Data
-public class FireSiteDutyVO {
-
-
-    /**
-     * 类型(备训,跨训,救助,抢险,联动)
-     */
-    private Integer type;
-    /**
-     * 车辆信息
-     */
-    private Integer carNumber;
-
-    /**
-     * 人员信息
-     */
-    private Integer personNumber;
-
-
-    //TODO 以后新建SitePerson信息里面有type和数量两个字段
-    /**
-     * 指挥员
-     */
-    private String commander;
-
-    /**
-     * 通讯员
-     */
-    private String correspondent;
-    /**
-     * 消防员
-      */
-    private String firemen;
-
-    /**
-     * 驾驶员
-     */
-    private String driver;
-}