Pārlūkot izejas kodu

bug:新增保存之后继续保存,报重复主键问题

master
FLYPHT pirms 2 gadiem
vecāks
revīzija
d538f34a62
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. +3
    -0
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/dynPage/DynRetBean.java

+ 3
- 0
smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/dynPage/DynRetBean.java Parādīt failu

@@ -1,6 +1,7 @@
package cc.smtweb.system.bpm.web.engine.dynPage;

import cc.smtweb.framework.core.common.SwMap;
import cc.smtweb.framework.core.db.impl.DefaultEntity;
import cc.smtweb.framework.core.mvc.service.SwListData;
import lombok.Data;

@@ -18,6 +19,8 @@ public class DynRetBean {
public static DynRetBean createBean(SwMap form) {
DynRetBean bean = new DynRetBean();
bean.form = form;
bean.form.remove("_def_table_name");
bean.form.remove("_status");
return bean;
}



Notiek ielāde…
Atcelt
Saglabāt