Authored by zhengyouwei

cName _>cname

... ... @@ -36,7 +36,7 @@ public class RedisMonitService {
private long updateTime;
@Scheduled(fixedRate = 15 * 1000)
@Scheduled(cron = "${cron_task_redis_monitor}")
public void dispathTask() {
updateTime = System.currentTimeMillis();
... ...
... ... @@ -28,7 +28,7 @@ public class User {
/**
* 中文名
*/
private String cName;
private String cname;
/**
* 有权限的模块组
... ...
... ... @@ -8,7 +8,7 @@
<result column="level" property="level" jdbcType="INTEGER" />
<result column="email" property="email" jdbcType="VARCHAR" />
<result column="mobile" property="mobile" jdbcType="VARCHAR" />
<result column="c_name" property="cName" jdbcType="VARCHAR" />
<result column="c_name" property="cname" jdbcType="VARCHAR" />
<result column="role" property="role" jdbcType="VARCHAR" />
<result column="modules" property="modules" jdbcType="VARCHAR" />
<result column="module_groups" property="moduleGroups" jdbcType="VARCHAR" />
... ... @@ -69,7 +69,7 @@
(name,pwd,level,email,mobile,c_name,role,modules,module_groups, create_time, update_time)
values
(#{name,jdbcType=VARCHAR},#{pwd,jdbcType=VARCHAR},#{level,jdbcType=INTEGER},
#{email,jdbcType=VARCHAR},#{mobile,jdbcType=VARCHAR},#{cName,jdbcType=VARCHAR},#{role,jdbcType=VARCHAR},
#{email,jdbcType=VARCHAR},#{mobile,jdbcType=VARCHAR},#{cname,jdbcType=VARCHAR},#{role,jdbcType=VARCHAR},
#{modules,jdbcType=VARCHAR},#{moduleGroups,jdbcType=VARCHAR},
now(),now())
</insert>
... ... @@ -80,7 +80,7 @@
email = #{email,jdbcType=VARCHAR},
mobile = #{mobile,jdbcType=VARCHAR},
role= #{role,jdbcType=VARCHAR},
c_name= #{cName,jdbcType=VARCHAR},
c_name= #{cname,jdbcType=VARCHAR},
modules= #{modules,jdbcType=VARCHAR},
module_groups= #{moduleGroups,jdbcType=VARCHAR},
update_time = now()
... ...
cron_task_zookeeper_monitor=0 0/2 * * * ?
cron_task_redis_monitor=0/10 * * * * ?
cron_task_redis_monitor=0/15 * * * * ?
cron_task_nginx_scan=0 0/1 * * * ?
... ...