|
|
|
@ -7,6 +7,7 @@
|
|
|
|
|
<result column="show_record" property="showRecord" jdbcType="SMALLINT" />
|
|
|
|
|
<result column="downLoad_record" property="downloadRecord" jdbcType="SMALLINT" />
|
|
|
|
|
<result column="show_print" property="showPrint" jdbcType="SMALLINT" />
|
|
|
|
|
<result column="show_water" property="showWater" jdbcType="SMALLINT" />
|
|
|
|
|
<result column="remark" property="remark" jdbcType="VARCHAR" />
|
|
|
|
|
<result column="effective" property="effective" jdbcType="INTEGER" />
|
|
|
|
|
<result column="create_date" property="createDate" jdbcType="CHAR" />
|
|
|
|
@ -15,7 +16,7 @@
|
|
|
|
|
<result column="updater" property="updater" jdbcType="VARCHAR" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
<sql id="Base_Column_List" >
|
|
|
|
|
role_id, role_name, show_record, downLoad_record, show_print, remark, effective,
|
|
|
|
|
role_id, role_name, show_record, downLoad_record, show_print,show_water, remark, effective,
|
|
|
|
|
create_date, creater, update_date, updater
|
|
|
|
|
</sql>
|
|
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
|
|
|
@ -56,6 +57,9 @@
|
|
|
|
|
<if test="showPrint != null" >
|
|
|
|
|
show_print,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="showWater != null" >
|
|
|
|
|
show_water,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="remark != null" >
|
|
|
|
|
remark,
|
|
|
|
|
</if>
|
|
|
|
@ -126,6 +130,9 @@
|
|
|
|
|
<if test="showPrint != null" >
|
|
|
|
|
show_print = #{showPrint,jdbcType=SMALLINT},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="showWater != null" >
|
|
|
|
|
show_water = #{showWater,jdbcType=SMALLINT},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="remark != null" >
|
|
|
|
|
remark = #{remark,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|