新增器械公告模块

master
anthonywj 1 year ago
parent 09ac2ac65a
commit 61f363a5a1

@ -0,0 +1,9 @@
package com.glxp.api.dao.anno;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.glxp.api.entity.anno.AnncmntDevEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface AnncmntDevMapper extends BaseMapper<AnncmntDevEntity> {
}

@ -0,0 +1,198 @@
package com.glxp.api.entity.anno;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "anncmnt_dev")
public class AnncmntDevEntity implements Serializable {
@TableId(value = "id", type = IdType.INPUT)
private Integer id;
/**
* DI
*/
@TableField(value = "nameCode")
private String nameCode;
/**
*
*/
@TableField(value = "productName")
private String productName;
/**
*
*/
@TableField(value = "enProductName")
private String enProductName;
/**
* /
*/
@TableField(value = "regCertCode")
private String regCertCode;
/**
*
*/
@TableField(value = "modelSpec")
private String modelSpec;
/**
*
*/
@TableField(value = "batchNo")
private String batchNo;
/**
*
*/
@TableField(value = "productionDate")
private String productionDate;
/**
*
*/
@TableField(value = "expireDate")
private String expireDate;
/**
*
*/
@TableField(value = "manuName")
private String manuName;
/**
*
*/
@TableField(value = "manuCertCoe")
private String manuCertCoe;
/**
*
*/
@TableField(value = "enManuName")
private String enManuName;
/**
*
*/
@TableField(value = "agentName")
private String agentName;
/**
*
*/
@TableField(value = "agentCertCode")
private String agentCertCode;
/**
* 12使3/4.5
*/
@TableField(value = "annType")
private Byte annType;
/**
*
*/
@TableField(value = "annContent")
private String annContent;
/**
*
*/
@TableField(value = "errContent")
private String errContent;
/**
* 123
*/
@TableField(value = "checkType")
private Byte checkType;
/**
*
*/
@TableField(value = "sourceName")
private String sourceName;
/**
*
*/
@TableField(value = "sourceUrl")
private String sourceUrl;
/**
*
*/
@TableField(value = "publicCode")
private String publicCode;
/**
*
*/
@TableField(value = "publicTitle")
private String publicTitle;
/**
*
*/
@TableField(value = "publicSubject")
private String publicSubject;
/**
* ex:)
*/
@TableField(value = "publicName")
private String publicName;
/**
*
*/
@TableField(value = "publicTime")
private String publicTime;
/**
*
*/
@TableField(value = "`createUser`")
private String createUser;
/**
*
*/
@TableField(value = "createTime")
private Date createTime;
/**
*
*/
@TableField(value = "updateUser")
private String updateUser;
/**
*
*/
@TableField(value = "updateTime")
private Date updateTime;
/**
*
*/
@TableField(value = "remark")
private String remark;
private static final long serialVersionUID = 1L;
}

@ -0,0 +1,10 @@
package com.glxp.api.service.anno;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.glxp.api.entity.anno.AnncmntDevEntity;
import com.glxp.api.dao.anno.AnncmntDevMapper;
@Service
public class AnncmntDevService extends ServiceImpl<AnncmntDevMapper, AnncmntDevEntity> {
}

@ -0,0 +1,46 @@
<?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.glxp.api.dao.anno.AnncmntDevMapper">
<resultMap id="BaseResultMap" type="com.glxp.api.entity.anno.AnncmntDevEntity">
<!--@mbg.generated-->
<!--@Table anncmnt_dev-->
<id column="id" jdbcType="INTEGER" property="id" />
<result column="nameCode" jdbcType="VARCHAR" property="nameCode" />
<result column="productName" jdbcType="VARCHAR" property="productName" />
<result column="enProductName" jdbcType="VARCHAR" property="enProductName" />
<result column="regCertCode" jdbcType="VARCHAR" property="regCertCode" />
<result column="modelSpec" jdbcType="VARCHAR" property="modelSpec" />
<result column="batchNo" jdbcType="VARCHAR" property="batchNo" />
<result column="productionDate" jdbcType="VARCHAR" property="productionDate" />
<result column="expireDate" jdbcType="VARCHAR" property="expireDate" />
<result column="manuName" jdbcType="VARCHAR" property="manuName" />
<result column="manuCertCoe" jdbcType="VARCHAR" property="manuCertCoe" />
<result column="enManuName" jdbcType="VARCHAR" property="enManuName" />
<result column="agentName" jdbcType="VARCHAR" property="agentName" />
<result column="agentCertCode" jdbcType="VARCHAR" property="agentCertCode" />
<result column="annType" jdbcType="TINYINT" property="annType" />
<result column="annContent" jdbcType="VARCHAR" property="annContent" />
<result column="errContent" jdbcType="VARCHAR" property="errContent" />
<result column="checkType" jdbcType="TINYINT" property="checkType" />
<result column="sourceName" jdbcType="VARCHAR" property="sourceName" />
<result column="sourceUrl" jdbcType="VARCHAR" property="sourceUrl" />
<result column="publicCode" jdbcType="VARCHAR" property="publicCode" />
<result column="publicTitle" jdbcType="VARCHAR" property="publicTitle" />
<result column="publicSubject" jdbcType="VARCHAR" property="publicSubject" />
<result column="publicName" jdbcType="VARCHAR" property="publicName" />
<result column="publicTime" jdbcType="VARCHAR" property="publicTime" />
<result column="createUser" jdbcType="VARCHAR" property="createUser" />
<result column="createTime" jdbcType="TIMESTAMP" property="createTime" />
<result column="updateUser" jdbcType="VARCHAR" property="updateUser" />
<result column="updateTime" jdbcType="TIMESTAMP" property="updateTime" />
<result column="remark" jdbcType="VARCHAR" property="remark" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
id, nameCode, productName, enProductName, regCertCode, modelSpec, batchNo, productionDate,
expireDate, manuName, manuCertCoe, enManuName, agentName, agentCertCode, annType,
annContent, errContent, checkType, sourceName, sourceUrl, publicCode, publicTitle,
publicSubject, publicName, publicTime, `createUser`, createTime, updateUser, updateTime,
remark
</sql>
</mapper>
Loading…
Cancel
Save