From 9050a0b1b9d3aa41429d4cd6d1d2c8cb48d52397 Mon Sep 17 00:00:00 2001
From: peter <peter.hormanns@jalin.de>
Date: Tue, 23 Apr 2013 22:30:06 +0200
Subject: [PATCH] init bank account

---
 hsarjcli/scripting/package_dump.js                 |    4 ++--
 hsarback/src/de/hsadmin/mods/cust/BankAccount.java |   16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/hsarback/src/de/hsadmin/mods/cust/BankAccount.java b/hsarback/src/de/hsadmin/mods/cust/BankAccount.java
index 02eeea5..725a286 100644
--- a/hsarback/src/de/hsadmin/mods/cust/BankAccount.java
+++ b/hsarback/src/de/hsadmin/mods/cust/BankAccount.java
@@ -41,17 +41,17 @@
 	@Column(name = "autodebit_op", columnDefinition = "boolean", nullable = false)
 	private Boolean autoDebitOP = Boolean.FALSE;
 
-	@Column(name = "bank_customer", columnDefinition = "character varying(50)", nullable = true)
-	private String bankCustomer;
+	@Column(name = "bank_customer", columnDefinition = "character varying(50)", nullable = false)
+	private String bankCustomer = "";
 
-	@Column(name = "bank_account", columnDefinition = "character varying(10)", nullable = true)
-	private String bankAccount;
+	@Column(name = "bank_account", columnDefinition = "character varying(10)", nullable = false)
+	private String bankAccount = "";
 
-	@Column(name = "bank_code", columnDefinition = "character varying(8)", nullable = true)
-	private String bankCode;
+	@Column(name = "bank_code", columnDefinition = "character varying(8)", nullable = false)
+	private String bankCode = "";
 
-	@Column(name = "bank_name", columnDefinition = "character varying(50)", nullable = true)
-	private String bankName;
+	@Column(name = "bank_name", columnDefinition = "character varying(50)", nullable = false)
+	private String bankName = "";
 
 	public static String createQueryFromStringKey(String humanKey) {
 		return "customer.name = " + humanKey;
diff --git a/hsarjcli/scripting/package_dump.js b/hsarjcli/scripting/package_dump.js
index 628747e..a0b2bb6 100644
--- a/hsarjcli/scripting/package_dump.js
+++ b/hsarjcli/scripting/package_dump.js
@@ -30,7 +30,7 @@
 	runbash(cmd);
 }
 function mysqlaclsdump(pac) {
-	var dump = "/home/pacs/" + pac + "/.bak/mysql_passwd.gz";
+	var dump = "/home/pacs/" + pac + "/.bak/mysql_passwd";
 	var cmd = "mysqldump --no-create-db --skip-opt --no-create-info --replace --where=\"user like '" + pac + "%'\" mysql --tables user > " + dump
 		+ " && mysqldump --no-create-db --skip-opt --no-create-info --replace --where=\"db like '" + pac + "%'\" mysql --tables db tables_priv proc >>" + dump;
 	runbash(cmd);
@@ -209,4 +209,4 @@
 	pgsqlpasswddump(pacname);
 } else {
     print('run as pac-owner!\n');
-}
\ No newline at end of file
+}

--
Gitblit v1.9.1