|
@@ -11,6 +11,7 @@
|
|
|
<result property="status" column="status"/>
|
|
|
<result property="secretKey" column="secret_key"/>
|
|
|
<result property="isSwitch" column="is_switch"/>
|
|
|
+ <result property="authorityType" column="authority_type"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="SysSecretProjectDTO" id="getSysSecretProjectList">
|
|
@@ -22,10 +23,11 @@
|
|
|
<result property="secretKey" column="secret_key"/>
|
|
|
<result property="statusText" column="statusText"/>
|
|
|
<result property="isSwitch" column="is_switch"/>
|
|
|
+ <result property="authorityType" column="authority_type"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectSysSecretProjectVo">
|
|
|
- select id, project_id, overdue_date, status, secret_key,is_switch
|
|
|
+ select id, project_id, overdue_date, status, secret_key,is_switch,authority_type
|
|
|
from sys_secret_project
|
|
|
</sql>
|
|
|
|
|
@@ -75,6 +77,7 @@
|
|
|
<if test="status != null">status,</if>
|
|
|
<if test="overdueDate != null">overdue_date,</if>
|
|
|
<if test="isSwitch != null">is_switch,</if>
|
|
|
+ <if test="authorityType != null">authority_type,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="projectId != null">#{projectId},</if>
|
|
@@ -82,6 +85,7 @@
|
|
|
<if test="status != null">#{status},</if>
|
|
|
<if test="overdueDate != null">#{overdueDate},</if>
|
|
|
<if test="isSwitch != null">#{isSwitch},</if>
|
|
|
+ <if test="authorityType != null">#{authorityType},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -93,6 +97,7 @@
|
|
|
<if test="status != null">status = #{status},</if>
|
|
|
<if test="overdueDate != null">overdue_date = #{overdueDate},</if>
|
|
|
<if test="isSwitch != null">is_switch = #{isSwitch},</if>
|
|
|
+ <if test="authorityType != null">authority_type = #{authorityType},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|