Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/commit/72de2d6e2bfc5e44b5942c84b97d544c6de0b1ee?style=unified&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
7 additions and
1 deletions
@ -40,6 +40,7 @@ public class SecretManager {
tdSecreting . setCreateBy ( ShiroUtils . getSysUser ( ) . getLoginName ( ) ) ;
tdSecreting . setCreateTime ( new Date ( ) ) ;
}
tdSecreting . setDeptId ( ShiroUtils . getSysUser ( ) . getDeptId ( ) ) ;
return secretingService . saveOrUpdate ( tdSecreting ) ;
}
@ -63,6 +63,8 @@ public class TdSecreting extends BaseEntity {
* /
private String keyPoint ;
private Long deptId ;
@TableField ( exist = false )
private static final long serialVersionUID = 1L ;
}
@ -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>