init bank account
This commit is contained in:
commit
9050a0b1b9
@ -41,17 +41,17 @@ public class BankAccount extends AbstractEntity implements Serializable {
|
||||
@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;
|
||||
|
@ -30,7 +30,7 @@ function shadowdump(pac) {
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user