@@ -105,7 +105,7 @@ public class MySQLExec {
string = string.replaceAll("\\#\\{dynamicFields\\}", stringJoiner.toString());
IOUtils.write(string.getBytes(StandardCharsets.UTF_8), new FileOutputStream(file));
- String cmdarray[] = {"mysql -h" + this.host + " -P" + this.port + " -u" + this.username + " -p" + this.password + " " + this.databaseName, "source " + file.getPath()};
+ String cmdarray[] = {"mysql -h" + this.host + " -P" + this.port + " -u" + this.username + " -p" + this.password + " " + this.databaseName, "source " + file.getAbsolutePath()};
Runtime runtime = Runtime.getRuntime();
Process process = null;
try {
@@ -1136,4 +1136,8 @@ SET name='新增违规 ', url='AddViolation', `type`='LINK', parent_id=42, `sequ
WHERE id=186;
ALTER TABLE t_d_form_widget CHANGE COLUMN handle_time handle TINYINT DEFAULT 0
- COMMENT '处理时限,0:不处理,1:可处理' NOT NULL;
+ COMMENT '处理时限,0:不处理,1:可处理' NOT NULL;
+
+UPDATE sys_privilege
+SET name='重启', url='Restart', `type`='LINK', parent_id=47, `sequence`=3, property='AUTH', related='1016', enable=1, default_auth=0, front_display=1
+WHERE id=202;