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