提交 2d457186 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码

上级 14dff681
......@@ -1301,4 +1301,12 @@ export interface Account {
* @memberof Account
*/
transactioncurrencyname?: any;
/**
* 相关客户数量
*
* @returns {*}
* @memberof Account
*/
childaccountcount?: any;
}
\ No newline at end of file
......@@ -163,6 +163,7 @@ export default {
preferredservicename: '首选服务',
primarycontactname: '主要联系人',
transactioncurrencyname: '货币',
childaccountcount: '相关客户数量',
},
views: {
summary: {
......
......@@ -162,6 +162,7 @@ export default {
preferredservicename: '首选服务',
primarycontactname: '主要联系人',
transactioncurrencyname: '货币',
childaccountcount: '相关客户数量',
},
views: {
summary: {
......
import { ViewBase } from './ViewBase';
import { PickupViewBase } from './PickupViewBase';
/**
* 多项数据选择视图基类
......@@ -7,7 +7,7 @@ import { ViewBase } from './ViewBase';
* @class MPickupViewBase
* @extends {ViewBase}
*/
export class MPickupViewBase extends ViewBase {
export class MPickupViewBase extends PickupViewBase {
/**
* 是否单选
......
......@@ -501,6 +501,9 @@ export default class GradationModel {
{
name: 'transactioncurrencyname',
},
{
name: 'childaccountcount',
},
]
}
......
......@@ -223,6 +223,13 @@ export default class GradationService extends ControlService {
Object.assign(treeNode, { id: strNodeId });
Object.assign(treeNode, { expanded: filter.isautoexpand });
Object.assign(treeNode, { leaf: false });
let objLeafFlag = entity.childaccountcount;
if (objLeafFlag != null ) {
let strLeafFlag: string = objLeafFlag.toString().toLowerCase();
if (Object.is(strLeafFlag, '1') || Object.is(strLeafFlag, 'true')){
Object.assign(treeNode, { leaf: true });
}
}
Object.assign(treeNode, { curData: entity });
Object.assign(treeNode, { nodeid: treeNode.srfkey });
Object.assign(treeNode, { nodeid2: filter.strRealNodeId });
......@@ -413,6 +420,10 @@ export default class GradationService extends ControlService {
Object.assign(searchFilter, { n_parentaccountid_eq: filter.nodeid });
}
if (Object.is(filter.strNodeType, this.TREENODE_CHILDACCOUNT)) {
Object.assign(searchFilter, { n_parentaccountid_eq: filter.nodeid });
}
Object.assign(searchFilter, { total: false });
let bFirst: boolean = true;
let records: any[] = [];
......@@ -436,7 +447,7 @@ export default class GradationService extends ControlService {
strNodeId += strId;
Object.assign(treeNode, { id: strNodeId });
Object.assign(treeNode, { expanded: filter.isautoexpand });
Object.assign(treeNode, { leaf: true });
Object.assign(treeNode, { leaf: false });
Object.assign(treeNode, { curData: entity });
Object.assign(treeNode, { nodeid: treeNode.srfkey });
Object.assign(treeNode, { nodeid2: filter.strRealNodeId });
......@@ -523,7 +534,17 @@ export default class GradationService extends ControlService {
@Errorlog
public async fillChildaccountNodeChilds(context:any={}, filter: any, list: any[]): Promise<any> {
if (filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")) {
// 填充ChildAccount
let ChildaccountRsNavContext:any = {};
let ChildaccountRsNavParams:any = {};
let ChildaccountRsParams:any = {};
await this.fillChildaccountNodes(context, filter, list ,ChildaccountRsNavContext,ChildaccountRsNavParams,ChildaccountRsParams);
} else {
// 填充ChildAccount
let ChildaccountRsNavContext:any = {};
let ChildaccountRsNavParams:any = {};
let ChildaccountRsParams:any = {};
await this.fillChildaccountNodes(context, filter, list ,ChildaccountRsNavContext,ChildaccountRsNavParams,ChildaccountRsParams);
}
}
......
......@@ -501,6 +501,9 @@ export default class GradationtreeexpbarModel {
{
name: 'transactioncurrencyname',
},
{
name: 'childaccountcount',
},
]
}
......
......@@ -501,6 +501,9 @@ export default class InfotabexppanelModel {
{
name: 'transactioncurrencyname',
},
{
name: 'childaccountcount',
},
]
}
......
......@@ -501,6 +501,9 @@ export default class InfotabviewpanelModel {
{
name: 'transactioncurrencyname',
},
{
name: 'childaccountcount',
},
]
}
......
......@@ -501,6 +501,9 @@ export default class Infotabviewpanel2Model {
{
name: 'transactioncurrencyname',
},
{
name: 'childaccountcount',
},
]
}
......
......@@ -501,6 +501,9 @@ export default class Infotabviewpanel3Model {
{
name: 'transactioncurrencyname',
},
{
name: 'childaccountcount',
},
]
}
......
......@@ -501,6 +501,9 @@ export default class Infotabviewpanel4Model {
{
name: 'transactioncurrencyname',
},
{
name: 'childaccountcount',
},
]
}
......
......@@ -501,6 +501,9 @@ export default class InnerPickupViewpickupviewpanelModel {
{
name: 'transactioncurrencyname',
},
{
name: 'childaccountcount',
},
]
}
......
......@@ -501,6 +501,9 @@ export default class PickupViewpickupviewpanelModel {
{
name: 'transactioncurrencyname',
},
{
name: 'childaccountcount',
},
]
}
......
......@@ -501,6 +501,9 @@ export default class SummaryModel {
{
name: 'transactioncurrencyname',
},
{
name: 'childaccountcount',
},
]
}
......
......@@ -501,6 +501,9 @@ export default class View_AccountInfoAllModel {
{
name: 'transactioncurrencyname',
},
{
name: 'childaccountcount',
},
]
}
......
......@@ -1259,6 +1259,13 @@ public class Account extends EntityMP implements Serializable {
@JSONField(name = "transactioncurrencyname")
@JsonProperty("transactioncurrencyname")
private String transactioncurrencyname;
/**
* 相关客户数量
*/
@TableField(value = "childaccountcount")
@JSONField(name = "childaccountcount")
@JsonProperty("childaccountcount")
private Integer childaccountcount;
/**
*
......@@ -2640,6 +2647,14 @@ public class Account extends EntityMP implements Serializable {
this.modify("transactioncurrencyname",transactioncurrencyname);
}
/**
* 设置 [相关客户数量]
*/
public void setChildaccountcount(Integer childaccountcount){
this.childaccountcount = childaccountcount ;
this.modify("childaccountcount",childaccountcount);
}
}
......
......@@ -4841,6 +4841,8 @@
</column>
<column name="TRANSACTIONCURRENCYNAME" remarks="" type="VARCHAR(100)">
</column>
<column name="CHILDACCOUNTCOUNT" remarks="" type="INT">
</column>
</createTable>
</changeSet>
......
......@@ -1326,6 +1326,14 @@ public class AccountDTO extends DTOBase implements Serializable {
@JsonProperty("transactioncurrencyname")
private String transactioncurrencyname;
/**
* 属性 [CHILDACCOUNTCOUNT]
*
*/
@JSONField(name = "childaccountcount")
@JsonProperty("childaccountcount")
private Integer childaccountcount;
/**
* 设置 [ADDRESS1_PRIMARYCONTACTNAME]
......@@ -2583,6 +2591,14 @@ public class AccountDTO extends DTOBase implements Serializable {
this.modify("transactioncurrencyname",transactioncurrencyname);
}
/**
* 设置 [CHILDACCOUNTCOUNT]
*/
public void setChildaccountcount(Integer childaccountcount){
this.childaccountcount = childaccountcount ;
this.modify("childaccountcount",childaccountcount);
}
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册