|
|
|
@ -19,6 +19,7 @@
|
|
|
|
|
<result property="secretDegree" column="secret_degree" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="term" column="term" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="keyPoint" column="key_point" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="deptId" column="dept_id" jdbcType="BIGINT"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
@ -30,7 +31,7 @@
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectSecretList" resultType="com.ruoyi.system.domain.secreting.TdSecreting">
|
|
|
|
|
select <include refid="Base_Column_List"/> from td_secreting
|
|
|
|
|
select <include refid="Base_Column_List"/> from td_secreting d
|
|
|
|
|
<trim prefix="where" prefixOverrides="and|or">
|
|
|
|
|
<if test="secretDegree!=null and secretDegree!=''">
|
|
|
|
|
AND secret_degree = #{secretDegree}
|
|
|
|
@ -38,6 +39,8 @@
|
|
|
|
|
<if test="responsible!=null and responsible!=''">
|
|
|
|
|
AND responsible = #{responsible}
|
|
|
|
|
</if>
|
|
|
|
|
<!-- 数据范围过滤 -->
|
|
|
|
|
${params.dataScope}
|
|
|
|
|
</trim>
|
|
|
|
|
</select>
|
|
|
|
|
</mapper>
|
|
|
|
|