Browse Source

科室支持bedcount,doctorcount

wu 3 months ago
parent
commit
f8ce109581
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/custom/restcontroller/prsx/hospitaldep/hospitaldep.java

+ 4 - 0
src/custom/restcontroller/prsx/hospitaldep/hospitaldep.java

@@ -53,6 +53,8 @@ public class hospitaldep extends Controller {
             insertSQL.setValue("sa_customersid", sa_customersid);
             insertSQL.setValue("type", content.getStringValue("type"));
             insertSQL.setValue("remarks", content.getStringValue("remarks"));
+            insertSQL.setValue("bedcount", content.getIntValue("bedcount"));
+            insertSQL.setValue("doctorcount", content.getIntValue("doctorcount"));
             insertSQL.setValue("stagename", stagenameRows.isNotEmpty() ? stagenameRows.get(0).getString("stagename") : "");
             sqlList.add(insertSQL.getSQL());
             sqlList.add(DataContrlLog.createLog(this, "sa_hospitaldep", sa_hospitaldepid, "新建", "新建成功").getSQL());
@@ -66,6 +68,8 @@ public class hospitaldep extends Controller {
             updateSQL.setValue("sa_customersid", sa_customersid);
             updateSQL.setValue("type", content.getStringValue("type"));
             updateSQL.setValue("remarks", content.getStringValue("remarks"));
+            updateSQL.setValue("bedcount", content.getIntValue("bedcount"));
+            updateSQL.setValue("doctorcount", content.getIntValue("doctorcount"));
             sqlList.add(updateSQL.getSQL());
             sqlList.add(DataContrlLog.createLog(this, "sa_hospitaldep", sa_hospitaldepid, "编辑", "编辑成功").getSQL());
         }