Commit 600f04ab1306312a67d5729f761c65fd93a7e359

Authored by shiyang
1 parent 307298037d
Exists in master

权限表新增-权限类型

Showing 2 changed files with 28 additions and 0 deletions

talkonlineweb/src/main/java/com/lyms/talkonlineweb/domain/LymsPermission.java View file @ 600f04a
... ... @@ -68,6 +68,12 @@
68 68 @TableField(value = "updated_time")
69 69 private Date updatedTime;
70 70  
  71 + /**
  72 + * 权限类型
  73 + */
  74 + @TableField(value = "pertype")
  75 + private Date pertype;
  76 +
71 77 @TableField(exist = false)
72 78 private static final long serialVersionUID = 1L;
73 79  
talkonlineweb/src/main/resources/mapper/AppgetdoctorlistInfoMapper.xml View file @ 600f04a
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE mapper
  3 + PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4 + "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5 +<mapper namespace="com.lyms.talkonlineweb.mapper.AppgetdoctorlistInfoMapper">
  6 +
  7 + <resultMap id="BaseResultMap" type="com.lyms.talkonlineweb.domain.AppgetdoctorlistInfo">
  8 + <result property="did" column="did" jdbcType="INTEGER"/>
  9 + <result property="hid" column="hid" jdbcType="INTEGER"/>
  10 + <result property="dname" column="dname" jdbcType="VARCHAR"/>
  11 + <result property="dpname" column="dpname" jdbcType="VARCHAR"/>
  12 + <result property="lvlname" column="lvlname" jdbcType="VARCHAR"/>
  13 + <result property="hname" column="hname" jdbcType="VARCHAR"/>
  14 + <result property="intro" column="intro" jdbcType="VARCHAR"/>
  15 + </resultMap>
  16 +
  17 + <sql id="Base_Column_List">
  18 + did,hid,dname,
  19 + dpname,lvlname,hname,
  20 + intro
  21 + </sql>
  22 +</mapper>