催收金额
This commit is contained in:
parent
36a429b9a0
commit
a22477de19
82
src_tenwa/com/tenwa/apzl/comm/As_saveForCuiJin.java
Normal file
82
src_tenwa/com/tenwa/apzl/comm/As_saveForCuiJin.java
Normal file
@ -0,0 +1,82 @@
|
||||
package com.tenwa.apzl.comm;
|
||||
|
||||
import jbo.com.tenwa.lease.comm.DAY_DISTRIBUTE;
|
||||
|
||||
import com.amarsoft.are.jbo.BizObjectManager;
|
||||
import com.amarsoft.are.jbo.BizObjectQuery;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.are.jbo.JBOTransaction;
|
||||
|
||||
public class As_saveForCuiJin {
|
||||
|
||||
private String a;
|
||||
private String b;
|
||||
private String c;
|
||||
private String d;
|
||||
private String e;
|
||||
|
||||
|
||||
public String getA() {
|
||||
return a;
|
||||
}
|
||||
|
||||
|
||||
public void setA(String a) {
|
||||
this.a = a;
|
||||
}
|
||||
|
||||
|
||||
public String getB() {
|
||||
return b;
|
||||
}
|
||||
|
||||
|
||||
public void setB(String b) {
|
||||
this.b = b;
|
||||
}
|
||||
|
||||
|
||||
public String getC() {
|
||||
return c;
|
||||
}
|
||||
|
||||
|
||||
public void setC(String c) {
|
||||
this.c = c;
|
||||
}
|
||||
|
||||
|
||||
public String getD() {
|
||||
return d;
|
||||
}
|
||||
|
||||
|
||||
public void setD(String d) {
|
||||
this.d = d;
|
||||
}
|
||||
|
||||
|
||||
public String getE() {
|
||||
return e;
|
||||
}
|
||||
|
||||
|
||||
public void setE(String e) {
|
||||
this.e = e;
|
||||
}
|
||||
|
||||
|
||||
public String As_save(JBOTransaction tx)throws Exception{
|
||||
|
||||
BizObjectManager bo=JBOFactory.getBizObjectManager(DAY_DISTRIBUTE.CLASS_NAME);
|
||||
tx.join(bo);
|
||||
|
||||
BizObjectQuery bq=bo.createQuery("update O set begin_day='"+this.getA()+"',end_day='"+this.getB()+"' where role='Çá´ß×é'");
|
||||
bq.executeUpdate();
|
||||
BizObjectQuery bq2=bo.createQuery("update O set begin_day='"+this.getC()+"',end_day='"+this.getD()+"' where role='Öдß×é'");
|
||||
bq2.executeUpdate();
|
||||
BizObjectQuery bq3=bo.createQuery("update O set begin_day='"+this.getE()+"',end_day='0' where role='ÖØ´ß×é'");
|
||||
bq3.executeUpdate();
|
||||
return "success";
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user