Browse Source

change delete action to physical deletion

pull/2/head
baoliang 6 years ago
parent
commit
9d53ad9827
  1. 3
      escheduler-dao/src/main/java/cn/escheduler/dao/mapper/ProjectMapperProvider.java

3
escheduler-dao/src/main/java/cn/escheduler/dao/mapper/ProjectMapperProvider.java

@ -55,8 +55,7 @@ public class ProjectMapperProvider {
public String delete(Map<String, Object> parameter) {
return new SQL() {
{
UPDATE(TABLE_NAME);
SET("flag=0");
DELETE_FROM(TABLE_NAME);
WHERE("`id`=#{projectId}");
}
}.toString();

Loading…
Cancel
Save