parent
852b1e8f81
commit
0185778b1b
|
@ -38,6 +38,7 @@ public class AccountbankSaveOPPlugin extends AbstractOperationServicePlugIn {
|
||||||
@Override
|
@Override
|
||||||
public void beforeExecuteOperationTransaction(BeforeOperationArgs e) {
|
public void beforeExecuteOperationTransaction(BeforeOperationArgs e) {
|
||||||
super.beforeExecuteOperationTransaction(e);
|
super.beforeExecuteOperationTransaction(e);
|
||||||
|
logger.info("进入方法");
|
||||||
DynamicObject[] dataEntities = e.getDataEntities();
|
DynamicObject[] dataEntities = e.getDataEntities();
|
||||||
for (DynamicObject dataEntity : dataEntities) {
|
for (DynamicObject dataEntity : dataEntities) {
|
||||||
try {
|
try {
|
||||||
|
@ -100,6 +101,7 @@ public class AccountbankSaveOPPlugin extends AbstractOperationServicePlugIn {
|
||||||
if (issetbankinterface&&shkd_direct_time1==null){
|
if (issetbankinterface&&shkd_direct_time1==null){
|
||||||
dataEntity.set("shkd_direct_time1",dataEntity.getDate("opendate"));//
|
dataEntity.set("shkd_direct_time1",dataEntity.getDate("opendate"));//
|
||||||
}
|
}
|
||||||
|
logger.info(dataEntity.getString("number")+"保存成功");
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
logger.info(dataEntity.getString("number")+"保存报错原因:"+ex.getMessage());
|
logger.info(dataEntity.getString("number")+"保存报错原因:"+ex.getMessage());
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -37,13 +37,16 @@ public class AccountbankReportPlugin extends AbstractReportListDataPlugin {
|
||||||
dateList.add(sdf.format(filter.getValue()));
|
dateList.add(sdf.format(filter.getValue()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
String selectFields="id,openorg.shkd_comcode as shkd_ssjtbm,openorg.shkd_comname as shkd_ssjtmc," +
|
String selectFields="id,openorg.shkd_comcode as shkd_ssjtbm,openorg.shkd_comname as shkd_ssjtmc," +
|
||||||
"openorg.uniformsocialcreditcode as shkd_khdwbm,openorg.name as shkd_khdwmc," +
|
"openorg.uniformsocialcreditcode as shkd_khdwbm,openorg.name as shkd_khdwmc," +
|
||||||
"openorg.shkd_comlevel as shkd_khdwqyjc,acctname as shkd_zhmc,bankaccountnumber as shkd_yhzh," +
|
"openorg.shkd_comlevel as shkd_khdwqyjc,acctname as shkd_zhmc,bankaccountnumber as shkd_yhzh," +
|
||||||
"shkd_subcompany as shkd_sfwnbdwzh,bank.name as shkd_khhmc,bank.number as shkd_khhbm," +
|
"shkd_subcompany as shkd_sfwnbdwzh,bank.name as shkd_khhmc,bank.number as shkd_khhbm," +
|
||||||
"bank.country.name as shkd_khhszgj,shkd_bank_head_office as shkd_khhzh,currency," +
|
"bank.country.name as shkd_khhszgj,shkd_bank_head_office as shkd_khhzh,currency," +
|
||||||
"shkd_accounttype as shkd_zhytbm,case when issetbankinterface=1 then '是' else '否' end as shkd_ktyqjk,shkd_direct_time1 as shkd_ktyqsj," +
|
"shkd_accounttype as shkd_zhytbm,case when issetbankinterface=1 then '是' else '否' end as shkd_ktyqjk,shkd_direct_time1 as shkd_ktyqsj," +
|
||||||
"shkd_accounttype as shkd_zhytmc,fundaccflag as shkd_jzjzzhbs,case when closedate IS NULL then acctstatus else (case when closedate>'"+dateList.get(0)+"' then 'normal' else 'closed' end) end as shkd_zhzt,closedate as shkd_xhrq," +
|
"shkd_accounttype as shkd_zhytmc,fundaccflag as shkd_jzjzzhbs,case when closedate IS NULL then acctstatus else (case when closedate>'"+dateList.get(0)+"' then 'normal' else 'closed' end) end as shkd_zhzt," +
|
||||||
|
"case when closedate IS NULL then '9999-12-31' else to_char(closedate,'YYYY-MM-DD') end as shkd_xhrq," +
|
||||||
|
// "closedate as shkd_xhrq," +
|
||||||
"opendate as shkd_khrq,'"+dateList.get(0)+"' as shkd_sjrq,case when ismoneypool=1 then '是' else '否' end as shkd_sfzjczh";
|
"opendate as shkd_khrq,'"+dateList.get(0)+"' as shkd_sjrq,case when ismoneypool=1 then '是' else '否' end as shkd_sfzjczh";
|
||||||
//银行账户数据集
|
//银行账户数据集
|
||||||
DataSet accountbankDataSet = QueryServiceHelper.queryDataSet(this.getClass().getSimpleName(),"am_accountbank",
|
DataSet accountbankDataSet = QueryServiceHelper.queryDataSet(this.getClass().getSimpleName(),"am_accountbank",
|
||||||
|
|
Loading…
Reference in New Issue