parent
							
								
									3eb20a6b6a
								
							
						
					
					
						commit
						3ffada8113
					
				| @ -0,0 +1,9 @@ | ||||
| package com.glxp.api.dao.basic; | ||||
| 
 | ||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
| import com.glxp.api.entity.basic.YbNotCode; | ||||
| import org.apache.ibatis.annotations.Mapper; | ||||
| 
 | ||||
| @Mapper | ||||
| public interface YbNotCodeMapper extends BaseMapper<YbNotCode> { | ||||
| } | ||||
| @ -0,0 +1,32 @@ | ||||
| package com.glxp.api.entity.basic; | ||||
| 
 | ||||
| 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 lombok.Data; | ||||
| 
 | ||||
| /** | ||||
|  * 医保无码信息表 | ||||
|  */ | ||||
| @Data | ||||
| @TableName(value = "yb_not_code") | ||||
| public class YbNotCode { | ||||
|     /** | ||||
|      * 国家医保目录编码 | ||||
|      */ | ||||
|     @TableId(value = "ybbm", type = IdType.INPUT) | ||||
|     private String ybbm; | ||||
| 
 | ||||
|     /** | ||||
|      * 机构编码 | ||||
|      */ | ||||
|     @TableField(value = "organizationCode") | ||||
|     private String organizationcode; | ||||
| 
 | ||||
|     /** | ||||
|      * 无码类型 1、部分早期未赋予追溯码 5、最小包装无追溯码 6、无追溯码 7、其他原因 0、默认不是无码类型 | ||||
|      */ | ||||
|     @TableField(value = "notCodeType") | ||||
|     private Integer notcodetype; | ||||
| } | ||||
| @ -0,0 +1,8 @@ | ||||
| package com.glxp.api.service.basic; | ||||
| 
 | ||||
| import com.glxp.api.entity.basic.YbNotCode; | ||||
| import com.baomidou.mybatisplus.extension.service.IService; | ||||
| public interface YbNotCodeService extends IService<YbNotCode>{ | ||||
| 
 | ||||
| 
 | ||||
| } | ||||
| @ -0,0 +1,12 @@ | ||||
| package com.glxp.api.service.basic.impl; | ||||
| 
 | ||||
| import com.glxp.api.service.basic.YbNotCodeService; | ||||
| import org.springframework.stereotype.Service; | ||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||
| import com.glxp.api.entity.basic.YbNotCode; | ||||
| import com.glxp.api.dao.basic.YbNotCodeMapper; | ||||
| 
 | ||||
| @Service | ||||
| public class YbNotCodeServiceImpl extends ServiceImpl<YbNotCodeMapper, YbNotCode> implements YbNotCodeService { | ||||
| 
 | ||||
| } | ||||
| @ -0,0 +1,15 @@ | ||||
| <?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.basic.YbNotCodeMapper"> | ||||
|   <resultMap id="BaseResultMap" type="com.glxp.api.entity.basic.YbNotCode"> | ||||
|     <!--@mbg.generated--> | ||||
|     <!--@Table yb_not_code--> | ||||
|     <id column="ybbm" jdbcType="VARCHAR" property="ybbm" /> | ||||
|     <result column="organizationCode" jdbcType="VARCHAR" property="organizationcode" /> | ||||
|     <result column="notCodeType" jdbcType="TINYINT" property="notcodetype" /> | ||||
|   </resultMap> | ||||
|   <sql id="Base_Column_List"> | ||||
|     <!--@mbg.generated--> | ||||
|     ybbm, organizationCode, notCodeType | ||||
|   </sql> | ||||
| </mapper> | ||||
					Loading…
					
					
				
		Reference in New Issue