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

xignzi006 发布系统代码

上级 14dff681
...@@ -1301,4 +1301,12 @@ export interface Account { ...@@ -1301,4 +1301,12 @@ export interface Account {
* @memberof Account * @memberof Account
*/ */
transactioncurrencyname?: any; transactioncurrencyname?: any;
/**
* 相关客户数量
*
* @returns {*}
* @memberof Account
*/
childaccountcount?: any;
} }
\ No newline at end of file
...@@ -163,6 +163,7 @@ export default { ...@@ -163,6 +163,7 @@ export default {
preferredservicename: '首选服务', preferredservicename: '首选服务',
primarycontactname: '主要联系人', primarycontactname: '主要联系人',
transactioncurrencyname: '货币', transactioncurrencyname: '货币',
childaccountcount: '相关客户数量',
}, },
views: { views: {
summary: { summary: {
......
...@@ -162,6 +162,7 @@ export default { ...@@ -162,6 +162,7 @@ export default {
preferredservicename: '首选服务', preferredservicename: '首选服务',
primarycontactname: '主要联系人', primarycontactname: '主要联系人',
transactioncurrencyname: '货币', transactioncurrencyname: '货币',
childaccountcount: '相关客户数量',
}, },
views: { views: {
summary: { summary: {
......
import { ViewBase } from './ViewBase'; import { PickupViewBase } from './PickupViewBase';
/** /**
* 多项数据选择视图基类 * 多项数据选择视图基类
...@@ -7,7 +7,7 @@ import { ViewBase } from './ViewBase'; ...@@ -7,7 +7,7 @@ import { ViewBase } from './ViewBase';
* @class MPickupViewBase * @class MPickupViewBase
* @extends {ViewBase} * @extends {ViewBase}
*/ */
export class MPickupViewBase extends ViewBase { export class MPickupViewBase extends PickupViewBase {
/** /**
* 是否单选 * 是否单选
......
...@@ -501,6 +501,9 @@ export default class GradationModel { ...@@ -501,6 +501,9 @@ export default class GradationModel {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'childaccountcount',
},
] ]
} }
......
...@@ -223,6 +223,13 @@ export default class GradationService extends ControlService { ...@@ -223,6 +223,13 @@ export default class GradationService extends ControlService {
Object.assign(treeNode, { id: strNodeId }); Object.assign(treeNode, { id: strNodeId });
Object.assign(treeNode, { expanded: filter.isautoexpand }); Object.assign(treeNode, { expanded: filter.isautoexpand });
Object.assign(treeNode, { leaf: false }); 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, { curData: entity });
Object.assign(treeNode, { nodeid: treeNode.srfkey }); Object.assign(treeNode, { nodeid: treeNode.srfkey });
Object.assign(treeNode, { nodeid2: filter.strRealNodeId }); Object.assign(treeNode, { nodeid2: filter.strRealNodeId });
...@@ -413,6 +420,10 @@ export default class GradationService extends ControlService { ...@@ -413,6 +420,10 @@ export default class GradationService extends ControlService {
Object.assign(searchFilter, { n_parentaccountid_eq: filter.nodeid }); 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 }); Object.assign(searchFilter, { total: false });
let bFirst: boolean = true; let bFirst: boolean = true;
let records: any[] = []; let records: any[] = [];
...@@ -436,7 +447,7 @@ export default class GradationService extends ControlService { ...@@ -436,7 +447,7 @@ export default class GradationService extends ControlService {
strNodeId += strId; strNodeId += strId;
Object.assign(treeNode, { id: strNodeId }); Object.assign(treeNode, { id: strNodeId });
Object.assign(treeNode, { expanded: filter.isautoexpand }); Object.assign(treeNode, { expanded: filter.isautoexpand });
Object.assign(treeNode, { leaf: true }); Object.assign(treeNode, { leaf: false });
Object.assign(treeNode, { curData: entity }); Object.assign(treeNode, { curData: entity });
Object.assign(treeNode, { nodeid: treeNode.srfkey }); Object.assign(treeNode, { nodeid: treeNode.srfkey });
Object.assign(treeNode, { nodeid2: filter.strRealNodeId }); Object.assign(treeNode, { nodeid2: filter.strRealNodeId });
...@@ -523,7 +534,17 @@ export default class GradationService extends ControlService { ...@@ -523,7 +534,17 @@ export default class GradationService extends ControlService {
@Errorlog @Errorlog
public async fillChildaccountNodeChilds(context:any={}, filter: any, list: any[]): Promise<any> { public async fillChildaccountNodeChilds(context:any={}, filter: any, list: any[]): Promise<any> {
if (filter.srfnodefilter && !Object.is(filter.srfnodefilter,"")) { 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 { } 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 { ...@@ -501,6 +501,9 @@ export default class GradationtreeexpbarModel {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'childaccountcount',
},
] ]
} }
......
...@@ -501,6 +501,9 @@ export default class InfotabexppanelModel { ...@@ -501,6 +501,9 @@ export default class InfotabexppanelModel {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'childaccountcount',
},
] ]
} }
......
...@@ -501,6 +501,9 @@ export default class InfotabviewpanelModel { ...@@ -501,6 +501,9 @@ export default class InfotabviewpanelModel {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'childaccountcount',
},
] ]
} }
......
...@@ -501,6 +501,9 @@ export default class Infotabviewpanel2Model { ...@@ -501,6 +501,9 @@ export default class Infotabviewpanel2Model {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'childaccountcount',
},
] ]
} }
......
...@@ -501,6 +501,9 @@ export default class Infotabviewpanel3Model { ...@@ -501,6 +501,9 @@ export default class Infotabviewpanel3Model {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'childaccountcount',
},
] ]
} }
......
...@@ -501,6 +501,9 @@ export default class Infotabviewpanel4Model { ...@@ -501,6 +501,9 @@ export default class Infotabviewpanel4Model {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'childaccountcount',
},
] ]
} }
......
...@@ -501,6 +501,9 @@ export default class InnerPickupViewpickupviewpanelModel { ...@@ -501,6 +501,9 @@ export default class InnerPickupViewpickupviewpanelModel {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'childaccountcount',
},
] ]
} }
......
...@@ -501,6 +501,9 @@ export default class PickupViewpickupviewpanelModel { ...@@ -501,6 +501,9 @@ export default class PickupViewpickupviewpanelModel {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'childaccountcount',
},
] ]
} }
......
...@@ -501,6 +501,9 @@ export default class SummaryModel { ...@@ -501,6 +501,9 @@ export default class SummaryModel {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'childaccountcount',
},
] ]
} }
......
...@@ -501,6 +501,9 @@ export default class View_AccountInfoAllModel { ...@@ -501,6 +501,9 @@ export default class View_AccountInfoAllModel {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'childaccountcount',
},
] ]
} }
......
...@@ -1259,6 +1259,13 @@ public class Account extends EntityMP implements Serializable { ...@@ -1259,6 +1259,13 @@ public class Account extends EntityMP implements Serializable {
@JSONField(name = "transactioncurrencyname") @JSONField(name = "transactioncurrencyname")
@JsonProperty("transactioncurrencyname") @JsonProperty("transactioncurrencyname")
private String 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 { ...@@ -2640,6 +2647,14 @@ public class Account extends EntityMP implements Serializable {
this.modify("transactioncurrencyname",transactioncurrencyname); this.modify("transactioncurrencyname",transactioncurrencyname);
} }
/**
* 设置 [相关客户数量]
*/
public void setChildaccountcount(Integer childaccountcount){
this.childaccountcount = childaccountcount ;
this.modify("childaccountcount",childaccountcount);
}
} }
......
...@@ -4841,6 +4841,8 @@ ...@@ -4841,6 +4841,8 @@
</column> </column>
<column name="TRANSACTIONCURRENCYNAME" remarks="" type="VARCHAR(100)"> <column name="TRANSACTIONCURRENCYNAME" remarks="" type="VARCHAR(100)">
</column> </column>
<column name="CHILDACCOUNTCOUNT" remarks="" type="INT">
</column>
</createTable> </createTable>
</changeSet> </changeSet>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="AccountResultMap" databaseId="mysql"> <select id="selectById" resultMap="AccountResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACCOUNTCATEGORYCODE`, t1.`ACCOUNTCLASSIFICATIONCODE`, t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`ACCOUNTNUMBER`, t1.`ACCOUNTRATINGCODE`, t1.`ADDRESS1_ADDRESSID`, t1.`ADDRESS1_ADDRESSTYPECODE`, t1.`ADDRESS1_CITY`, t1.`ADDRESS1_COMPOSITE`, t1.`ADDRESS1_COUNTRY`, t1.`ADDRESS1_COUNTY`, t1.`ADDRESS1_FAX`, t1.`ADDRESS1_FREIGHTTERMSCODE`, t1.`ADDRESS1_LATITUDE`, t1.`ADDRESS1_LINE1`, t1.`ADDRESS1_LINE2`, t1.`ADDRESS1_LINE3`, t1.`ADDRESS1_LONGITUDE`, t1.`ADDRESS1_NAME`, t1.`ADDRESS1_POSTALCODE`, t1.`ADDRESS1_POSTOFFICEBOX`, t1.`ADDRESS1_PRIMARYCONTACTNAME`, t1.`ADDRESS1_SHIPPINGMETHODCODE`, t1.`ADDRESS1_STATEORPROVINCE`, t1.`ADDRESS1_TELEPHONE1`, t1.`ADDRESS1_TELEPHONE2`, t1.`ADDRESS1_TELEPHONE3`, t1.`ADDRESS1_UPSZONE`, t1.`ADDRESS1_UTCOFFSET`, t1.`ADDRESS2_ADDRESSID`, t1.`ADDRESS2_ADDRESSTYPECODE`, t1.`ADDRESS2_CITY`, t1.`ADDRESS2_COMPOSITE`, t1.`ADDRESS2_COUNTRY`, t1.`ADDRESS2_COUNTY`, t1.`ADDRESS2_FAX`, t1.`ADDRESS2_FREIGHTTERMSCODE`, t1.`ADDRESS2_LATITUDE`, t1.`ADDRESS2_LINE1`, t1.`ADDRESS2_LINE2`, t1.`ADDRESS2_LINE3`, t1.`ADDRESS2_LONGITUDE`, t1.`ADDRESS2_NAME`, t1.`ADDRESS2_POSTALCODE`, t1.`ADDRESS2_POSTOFFICEBOX`, t1.`ADDRESS2_PRIMARYCONTACTNAME`, t1.`ADDRESS2_SHIPPINGMETHODCODE`, t1.`ADDRESS2_STATEORPROVINCE`, t1.`ADDRESS2_TELEPHONE1`, t1.`ADDRESS2_TELEPHONE2`, t1.`ADDRESS2_TELEPHONE3`, t1.`ADDRESS2_UPSZONE`, t1.`ADDRESS2_UTCOFFSET`, t1.`AGING30`, t1.`AGING30_BASE`, t1.`AGING60`, t1.`AGING60_BASE`, t1.`AGING90`, t1.`AGING90_BASE`, t1.`BUSINESSTYPECODE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CREDITLIMIT`, t1.`CREDITLIMIT_BASE`, t1.`CREDITONHOLD`, t1.`CUSTOMERSIZECODE`, t1.`CUSTOMERTYPECODE`, t1.`DEFAULTPRICELEVELID`, t1.`DEFAULTPRICELEVELNAME`, t1.`DESCRIPTION`, t1.`DONOTBULKEMAIL`, t1.`DONOTBULKPOSTALMAIL`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`DONOTSENDMM`, t1.`EMAILADDRESS1`, t1.`EMAILADDRESS2`, t1.`EMAILADDRESS3`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FOLLOWEMAIL`, t1.`FTPSITEURL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INDUSTRYCODE`, t1.`LASTONHOLDTIME`, t1.`LASTUSEDINCAMPAIGN`, t1.`MARKETCAP`, t1.`MARKETCAP_BASE`, t1.`MARKETINGONLY`, t1.`MASTERACCOUNTIDYOMINAME`, t1.`MERGED`, t1.`NUMBEROFEMPLOYEES`, t1.`ONHOLDTIME`, t1.`OPENDEALS`, t1.`OPENDEALS_DATE`, t1.`OPENDEALS_STATE`, t1.`OPENREVENUE`, t1.`OPENREVENUE_BASE`, t1.`OPENREVENUE_DATE`, t1.`OPENREVENUE_STATE`, t1.`ORIGINATINGLEADID`, t1.`ORIGINATINGLEADNAME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`OWNERSHIPCODE`, t1.`PARENTACCOUNTID`, t1.`PARENTACCOUNTNAME`, t1.`PARTICIPATESINWORKFLOW`, t1.`PAYMENTTERMSCODE`, t1.`PREFERREDAPPOINTMENTDAYCODE`, t1.`PREFERREDAPPOINTMENTTIMECODE`, t1.`PREFERREDCONTACTMETHODCODE`, t1.`PREFERREDEQUIPMENTID`, t1.`PREFERREDEQUIPMENTNAME`, t1.`PREFERREDSERVICEID`, t1.`PREFERREDSERVICENAME`, t1.`PREFERREDSYSTEMUSERID`, t1.`PREFERREDSYSTEMUSERIDYOMINAME`, t1.`PRIMARYCONTACTID`, t1.`PRIMARYCONTACTNAME`, t1.`PRIMARYSATORIID`, t1.`PRIMARYTWITTERID`, t1.`PRIVATE`, t1.`PROCESSID`, t1.`REVENUE`, t1.`REVENUE_BASE`, t1.`SHARESOUTSTANDING`, t1.`SHIPPINGMETHODCODE`, t1.`SIC`, t1.`SLAID`, t1.`SLANAME`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`STOCKEXCHANGE`, t1.`TEAMSFOLLOWED`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TERRITORYCODE`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TICKERSYMBOL`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WEBSITEURL`, t1.`YOMINAME` FROM `ACCOUNT` t1 ) t1 where accountid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.`ACCOUNTCATEGORYCODE`, t1.`ACCOUNTCLASSIFICATIONCODE`, t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`ACCOUNTNUMBER`, t1.`ACCOUNTRATINGCODE`, t1.`ADDRESS1_ADDRESSID`, t1.`ADDRESS1_ADDRESSTYPECODE`, t1.`ADDRESS1_CITY`, t1.`ADDRESS1_COMPOSITE`, t1.`ADDRESS1_COUNTRY`, t1.`ADDRESS1_COUNTY`, t1.`ADDRESS1_FAX`, t1.`ADDRESS1_FREIGHTTERMSCODE`, t1.`ADDRESS1_LATITUDE`, t1.`ADDRESS1_LINE1`, t1.`ADDRESS1_LINE2`, t1.`ADDRESS1_LINE3`, t1.`ADDRESS1_LONGITUDE`, t1.`ADDRESS1_NAME`, t1.`ADDRESS1_POSTALCODE`, t1.`ADDRESS1_POSTOFFICEBOX`, t1.`ADDRESS1_PRIMARYCONTACTNAME`, t1.`ADDRESS1_SHIPPINGMETHODCODE`, t1.`ADDRESS1_STATEORPROVINCE`, t1.`ADDRESS1_TELEPHONE1`, t1.`ADDRESS1_TELEPHONE2`, t1.`ADDRESS1_TELEPHONE3`, t1.`ADDRESS1_UPSZONE`, t1.`ADDRESS1_UTCOFFSET`, t1.`ADDRESS2_ADDRESSID`, t1.`ADDRESS2_ADDRESSTYPECODE`, t1.`ADDRESS2_CITY`, t1.`ADDRESS2_COMPOSITE`, t1.`ADDRESS2_COUNTRY`, t1.`ADDRESS2_COUNTY`, t1.`ADDRESS2_FAX`, t1.`ADDRESS2_FREIGHTTERMSCODE`, t1.`ADDRESS2_LATITUDE`, t1.`ADDRESS2_LINE1`, t1.`ADDRESS2_LINE2`, t1.`ADDRESS2_LINE3`, t1.`ADDRESS2_LONGITUDE`, t1.`ADDRESS2_NAME`, t1.`ADDRESS2_POSTALCODE`, t1.`ADDRESS2_POSTOFFICEBOX`, t1.`ADDRESS2_PRIMARYCONTACTNAME`, t1.`ADDRESS2_SHIPPINGMETHODCODE`, t1.`ADDRESS2_STATEORPROVINCE`, t1.`ADDRESS2_TELEPHONE1`, t1.`ADDRESS2_TELEPHONE2`, t1.`ADDRESS2_TELEPHONE3`, t1.`ADDRESS2_UPSZONE`, t1.`ADDRESS2_UTCOFFSET`, t1.`AGING30`, t1.`AGING30_BASE`, t1.`AGING60`, t1.`AGING60_BASE`, t1.`AGING90`, t1.`AGING90_BASE`, t1.`BUSINESSTYPECODE`, t1.`CHILDACCOUNTCOUNT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CREDITLIMIT`, t1.`CREDITLIMIT_BASE`, t1.`CREDITONHOLD`, t1.`CUSTOMERSIZECODE`, t1.`CUSTOMERTYPECODE`, t1.`DEFAULTPRICELEVELID`, t1.`DEFAULTPRICELEVELNAME`, t1.`DESCRIPTION`, t1.`DONOTBULKEMAIL`, t1.`DONOTBULKPOSTALMAIL`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`DONOTSENDMM`, t1.`EMAILADDRESS1`, t1.`EMAILADDRESS2`, t1.`EMAILADDRESS3`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FOLLOWEMAIL`, t1.`FTPSITEURL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INDUSTRYCODE`, t1.`LASTONHOLDTIME`, t1.`LASTUSEDINCAMPAIGN`, t1.`MARKETCAP`, t1.`MARKETCAP_BASE`, t1.`MARKETINGONLY`, t1.`MASTERACCOUNTIDYOMINAME`, t1.`MERGED`, t1.`NUMBEROFEMPLOYEES`, t1.`ONHOLDTIME`, t1.`OPENDEALS`, t1.`OPENDEALS_DATE`, t1.`OPENDEALS_STATE`, t1.`OPENREVENUE`, t1.`OPENREVENUE_BASE`, t1.`OPENREVENUE_DATE`, t1.`OPENREVENUE_STATE`, t1.`ORIGINATINGLEADID`, t1.`ORIGINATINGLEADNAME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`OWNERSHIPCODE`, t1.`PARENTACCOUNTID`, t1.`PARENTACCOUNTNAME`, t1.`PARTICIPATESINWORKFLOW`, t1.`PAYMENTTERMSCODE`, t1.`PREFERREDAPPOINTMENTDAYCODE`, t1.`PREFERREDAPPOINTMENTTIMECODE`, t1.`PREFERREDCONTACTMETHODCODE`, t1.`PREFERREDEQUIPMENTID`, t1.`PREFERREDEQUIPMENTNAME`, t1.`PREFERREDSERVICEID`, t1.`PREFERREDSERVICENAME`, t1.`PREFERREDSYSTEMUSERID`, t1.`PREFERREDSYSTEMUSERIDYOMINAME`, t1.`PRIMARYCONTACTID`, t1.`PRIMARYCONTACTNAME`, t1.`PRIMARYSATORIID`, t1.`PRIMARYTWITTERID`, t1.`PRIVATE`, t1.`PROCESSID`, t1.`REVENUE`, t1.`REVENUE_BASE`, t1.`SHARESOUTSTANDING`, t1.`SHIPPINGMETHODCODE`, t1.`SIC`, t1.`SLAID`, t1.`SLANAME`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`STOCKEXCHANGE`, t1.`TEAMSFOLLOWED`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TERRITORYCODE`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TICKERSYMBOL`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WEBSITEURL`, t1.`YOMINAME` FROM `ACCOUNT` t1 ) t1 where accountid=#{id}]]>
</select> </select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 --> <!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...@@ -188,18 +188,18 @@ ...@@ -188,18 +188,18 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACCOUNTCATEGORYCODE`, t1.`ACCOUNTCLASSIFICATIONCODE`, t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`ACCOUNTNUMBER`, t1.`ACCOUNTRATINGCODE`, t1.`ADDRESS1_ADDRESSID`, t1.`ADDRESS1_ADDRESSTYPECODE`, t1.`ADDRESS1_CITY`, t1.`ADDRESS1_COMPOSITE`, t1.`ADDRESS1_COUNTRY`, t1.`ADDRESS1_COUNTY`, t1.`ADDRESS1_FAX`, t1.`ADDRESS1_FREIGHTTERMSCODE`, t1.`ADDRESS1_LATITUDE`, t1.`ADDRESS1_LINE1`, t1.`ADDRESS1_LINE2`, t1.`ADDRESS1_LINE3`, t1.`ADDRESS1_LONGITUDE`, t1.`ADDRESS1_NAME`, t1.`ADDRESS1_POSTALCODE`, t1.`ADDRESS1_POSTOFFICEBOX`, t1.`ADDRESS1_PRIMARYCONTACTNAME`, t1.`ADDRESS1_SHIPPINGMETHODCODE`, t1.`ADDRESS1_STATEORPROVINCE`, t1.`ADDRESS1_TELEPHONE1`, t1.`ADDRESS1_TELEPHONE2`, t1.`ADDRESS1_TELEPHONE3`, t1.`ADDRESS1_UPSZONE`, t1.`ADDRESS1_UTCOFFSET`, t1.`ADDRESS2_ADDRESSID`, t1.`ADDRESS2_ADDRESSTYPECODE`, t1.`ADDRESS2_CITY`, t1.`ADDRESS2_COMPOSITE`, t1.`ADDRESS2_COUNTRY`, t1.`ADDRESS2_COUNTY`, t1.`ADDRESS2_FAX`, t1.`ADDRESS2_FREIGHTTERMSCODE`, t1.`ADDRESS2_LATITUDE`, t1.`ADDRESS2_LINE1`, t1.`ADDRESS2_LINE2`, t1.`ADDRESS2_LINE3`, t1.`ADDRESS2_LONGITUDE`, t1.`ADDRESS2_NAME`, t1.`ADDRESS2_POSTALCODE`, t1.`ADDRESS2_POSTOFFICEBOX`, t1.`ADDRESS2_PRIMARYCONTACTNAME`, t1.`ADDRESS2_SHIPPINGMETHODCODE`, t1.`ADDRESS2_STATEORPROVINCE`, t1.`ADDRESS2_TELEPHONE1`, t1.`ADDRESS2_TELEPHONE2`, t1.`ADDRESS2_TELEPHONE3`, t1.`ADDRESS2_UPSZONE`, t1.`ADDRESS2_UTCOFFSET`, t1.`AGING30`, t1.`AGING30_BASE`, t1.`AGING60`, t1.`AGING60_BASE`, t1.`AGING90`, t1.`AGING90_BASE`, t1.`BUSINESSTYPECODE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CREDITLIMIT`, t1.`CREDITLIMIT_BASE`, t1.`CREDITONHOLD`, t1.`CUSTOMERSIZECODE`, t1.`CUSTOMERTYPECODE`, t1.`DEFAULTPRICELEVELID`, t1.`DEFAULTPRICELEVELNAME`, t1.`DESCRIPTION`, t1.`DONOTBULKEMAIL`, t1.`DONOTBULKPOSTALMAIL`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`DONOTSENDMM`, t1.`EMAILADDRESS1`, t1.`EMAILADDRESS2`, t1.`EMAILADDRESS3`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FOLLOWEMAIL`, t1.`FTPSITEURL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INDUSTRYCODE`, t1.`LASTONHOLDTIME`, t1.`LASTUSEDINCAMPAIGN`, t1.`MARKETCAP`, t1.`MARKETCAP_BASE`, t1.`MARKETINGONLY`, t1.`MASTERACCOUNTIDYOMINAME`, t1.`MERGED`, t1.`NUMBEROFEMPLOYEES`, t1.`ONHOLDTIME`, t1.`OPENDEALS`, t1.`OPENDEALS_DATE`, t1.`OPENDEALS_STATE`, t1.`OPENREVENUE`, t1.`OPENREVENUE_BASE`, t1.`OPENREVENUE_DATE`, t1.`OPENREVENUE_STATE`, t1.`ORIGINATINGLEADID`, t1.`ORIGINATINGLEADNAME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`OWNERSHIPCODE`, t1.`PARENTACCOUNTID`, t1.`PARENTACCOUNTNAME`, t1.`PARTICIPATESINWORKFLOW`, t1.`PAYMENTTERMSCODE`, t1.`PREFERREDAPPOINTMENTDAYCODE`, t1.`PREFERREDAPPOINTMENTTIMECODE`, t1.`PREFERREDCONTACTMETHODCODE`, t1.`PREFERREDEQUIPMENTID`, t1.`PREFERREDEQUIPMENTNAME`, t1.`PREFERREDSERVICEID`, t1.`PREFERREDSERVICENAME`, t1.`PREFERREDSYSTEMUSERID`, t1.`PREFERREDSYSTEMUSERIDYOMINAME`, t1.`PRIMARYCONTACTID`, t1.`PRIMARYCONTACTNAME`, t1.`PRIMARYSATORIID`, t1.`PRIMARYTWITTERID`, t1.`PRIVATE`, t1.`PROCESSID`, t1.`REVENUE`, t1.`REVENUE_BASE`, t1.`SHARESOUTSTANDING`, t1.`SHIPPINGMETHODCODE`, t1.`SIC`, t1.`SLAID`, t1.`SLANAME`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`STOCKEXCHANGE`, t1.`TEAMSFOLLOWED`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TERRITORYCODE`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TICKERSYMBOL`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WEBSITEURL`, t1.`YOMINAME` FROM `ACCOUNT` t1 <![CDATA[ SELECT t1.`ACCOUNTCATEGORYCODE`, t1.`ACCOUNTCLASSIFICATIONCODE`, t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`ACCOUNTNUMBER`, t1.`ACCOUNTRATINGCODE`, t1.`ADDRESS1_ADDRESSID`, t1.`ADDRESS1_ADDRESSTYPECODE`, t1.`ADDRESS1_CITY`, t1.`ADDRESS1_COMPOSITE`, t1.`ADDRESS1_COUNTRY`, t1.`ADDRESS1_COUNTY`, t1.`ADDRESS1_FAX`, t1.`ADDRESS1_FREIGHTTERMSCODE`, t1.`ADDRESS1_LATITUDE`, t1.`ADDRESS1_LINE1`, t1.`ADDRESS1_LINE2`, t1.`ADDRESS1_LINE3`, t1.`ADDRESS1_LONGITUDE`, t1.`ADDRESS1_NAME`, t1.`ADDRESS1_POSTALCODE`, t1.`ADDRESS1_POSTOFFICEBOX`, t1.`ADDRESS1_PRIMARYCONTACTNAME`, t1.`ADDRESS1_SHIPPINGMETHODCODE`, t1.`ADDRESS1_STATEORPROVINCE`, t1.`ADDRESS1_TELEPHONE1`, t1.`ADDRESS1_TELEPHONE2`, t1.`ADDRESS1_TELEPHONE3`, t1.`ADDRESS1_UPSZONE`, t1.`ADDRESS1_UTCOFFSET`, t1.`ADDRESS2_ADDRESSID`, t1.`ADDRESS2_ADDRESSTYPECODE`, t1.`ADDRESS2_CITY`, t1.`ADDRESS2_COMPOSITE`, t1.`ADDRESS2_COUNTRY`, t1.`ADDRESS2_COUNTY`, t1.`ADDRESS2_FAX`, t1.`ADDRESS2_FREIGHTTERMSCODE`, t1.`ADDRESS2_LATITUDE`, t1.`ADDRESS2_LINE1`, t1.`ADDRESS2_LINE2`, t1.`ADDRESS2_LINE3`, t1.`ADDRESS2_LONGITUDE`, t1.`ADDRESS2_NAME`, t1.`ADDRESS2_POSTALCODE`, t1.`ADDRESS2_POSTOFFICEBOX`, t1.`ADDRESS2_PRIMARYCONTACTNAME`, t1.`ADDRESS2_SHIPPINGMETHODCODE`, t1.`ADDRESS2_STATEORPROVINCE`, t1.`ADDRESS2_TELEPHONE1`, t1.`ADDRESS2_TELEPHONE2`, t1.`ADDRESS2_TELEPHONE3`, t1.`ADDRESS2_UPSZONE`, t1.`ADDRESS2_UTCOFFSET`, t1.`AGING30`, t1.`AGING30_BASE`, t1.`AGING60`, t1.`AGING60_BASE`, t1.`AGING90`, t1.`AGING90_BASE`, t1.`BUSINESSTYPECODE`, t1.`CHILDACCOUNTCOUNT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CREDITLIMIT`, t1.`CREDITLIMIT_BASE`, t1.`CREDITONHOLD`, t1.`CUSTOMERSIZECODE`, t1.`CUSTOMERTYPECODE`, t1.`DEFAULTPRICELEVELID`, t1.`DEFAULTPRICELEVELNAME`, t1.`DESCRIPTION`, t1.`DONOTBULKEMAIL`, t1.`DONOTBULKPOSTALMAIL`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`DONOTSENDMM`, t1.`EMAILADDRESS1`, t1.`EMAILADDRESS2`, t1.`EMAILADDRESS3`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FOLLOWEMAIL`, t1.`FTPSITEURL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INDUSTRYCODE`, t1.`LASTONHOLDTIME`, t1.`LASTUSEDINCAMPAIGN`, t1.`MARKETCAP`, t1.`MARKETCAP_BASE`, t1.`MARKETINGONLY`, t1.`MASTERACCOUNTIDYOMINAME`, t1.`MERGED`, t1.`NUMBEROFEMPLOYEES`, t1.`ONHOLDTIME`, t1.`OPENDEALS`, t1.`OPENDEALS_DATE`, t1.`OPENDEALS_STATE`, t1.`OPENREVENUE`, t1.`OPENREVENUE_BASE`, t1.`OPENREVENUE_DATE`, t1.`OPENREVENUE_STATE`, t1.`ORIGINATINGLEADID`, t1.`ORIGINATINGLEADNAME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`OWNERSHIPCODE`, t1.`PARENTACCOUNTID`, t1.`PARENTACCOUNTNAME`, t1.`PARTICIPATESINWORKFLOW`, t1.`PAYMENTTERMSCODE`, t1.`PREFERREDAPPOINTMENTDAYCODE`, t1.`PREFERREDAPPOINTMENTTIMECODE`, t1.`PREFERREDCONTACTMETHODCODE`, t1.`PREFERREDEQUIPMENTID`, t1.`PREFERREDEQUIPMENTNAME`, t1.`PREFERREDSERVICEID`, t1.`PREFERREDSERVICENAME`, t1.`PREFERREDSYSTEMUSERID`, t1.`PREFERREDSYSTEMUSERIDYOMINAME`, t1.`PRIMARYCONTACTID`, t1.`PRIMARYCONTACTNAME`, t1.`PRIMARYSATORIID`, t1.`PRIMARYTWITTERID`, t1.`PRIVATE`, t1.`PROCESSID`, t1.`REVENUE`, t1.`REVENUE_BASE`, t1.`SHARESOUTSTANDING`, t1.`SHIPPINGMETHODCODE`, t1.`SIC`, t1.`SLAID`, t1.`SLANAME`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`STOCKEXCHANGE`, t1.`TEAMSFOLLOWED`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TERRITORYCODE`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TICKERSYMBOL`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WEBSITEURL`, t1.`YOMINAME` FROM `ACCOUNT` t1
]]> ]]>
</sql> </sql>
<!--数据查询[Root]--> <!--数据查询[Root]-->
<sql id="Root" databaseId="mysql"> <sql id="Root" databaseId="mysql">
<![CDATA[ SELECT t1.`ACCOUNTCATEGORYCODE`, t1.`ACCOUNTCLASSIFICATIONCODE`, t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`ACCOUNTNUMBER`, t1.`ACCOUNTRATINGCODE`, t1.`ADDRESS1_ADDRESSID`, t1.`ADDRESS1_ADDRESSTYPECODE`, t1.`ADDRESS1_CITY`, t1.`ADDRESS1_COMPOSITE`, t1.`ADDRESS1_COUNTRY`, t1.`ADDRESS1_COUNTY`, t1.`ADDRESS1_FAX`, t1.`ADDRESS1_FREIGHTTERMSCODE`, t1.`ADDRESS1_LATITUDE`, t1.`ADDRESS1_LINE1`, t1.`ADDRESS1_LINE2`, t1.`ADDRESS1_LINE3`, t1.`ADDRESS1_LONGITUDE`, t1.`ADDRESS1_NAME`, t1.`ADDRESS1_POSTALCODE`, t1.`ADDRESS1_POSTOFFICEBOX`, t1.`ADDRESS1_PRIMARYCONTACTNAME`, t1.`ADDRESS1_SHIPPINGMETHODCODE`, t1.`ADDRESS1_STATEORPROVINCE`, t1.`ADDRESS1_TELEPHONE1`, t1.`ADDRESS1_TELEPHONE2`, t1.`ADDRESS1_TELEPHONE3`, t1.`ADDRESS1_UPSZONE`, t1.`ADDRESS1_UTCOFFSET`, t1.`ADDRESS2_ADDRESSID`, t1.`ADDRESS2_ADDRESSTYPECODE`, t1.`ADDRESS2_CITY`, t1.`ADDRESS2_COMPOSITE`, t1.`ADDRESS2_COUNTRY`, t1.`ADDRESS2_COUNTY`, t1.`ADDRESS2_FAX`, t1.`ADDRESS2_FREIGHTTERMSCODE`, t1.`ADDRESS2_LATITUDE`, t1.`ADDRESS2_LINE1`, t1.`ADDRESS2_LINE2`, t1.`ADDRESS2_LINE3`, t1.`ADDRESS2_LONGITUDE`, t1.`ADDRESS2_NAME`, t1.`ADDRESS2_POSTALCODE`, t1.`ADDRESS2_POSTOFFICEBOX`, t1.`ADDRESS2_PRIMARYCONTACTNAME`, t1.`ADDRESS2_SHIPPINGMETHODCODE`, t1.`ADDRESS2_STATEORPROVINCE`, t1.`ADDRESS2_TELEPHONE1`, t1.`ADDRESS2_TELEPHONE2`, t1.`ADDRESS2_TELEPHONE3`, t1.`ADDRESS2_UPSZONE`, t1.`ADDRESS2_UTCOFFSET`, t1.`AGING30`, t1.`AGING30_BASE`, t1.`AGING60`, t1.`AGING60_BASE`, t1.`AGING90`, t1.`AGING90_BASE`, t1.`BUSINESSTYPECODE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CREDITLIMIT`, t1.`CREDITLIMIT_BASE`, t1.`CREDITONHOLD`, t1.`CUSTOMERSIZECODE`, t1.`CUSTOMERTYPECODE`, t1.`DEFAULTPRICELEVELID`, t1.`DEFAULTPRICELEVELNAME`, t1.`DESCRIPTION`, t1.`DONOTBULKEMAIL`, t1.`DONOTBULKPOSTALMAIL`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`DONOTSENDMM`, t1.`EMAILADDRESS1`, t1.`EMAILADDRESS2`, t1.`EMAILADDRESS3`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FOLLOWEMAIL`, t1.`FTPSITEURL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INDUSTRYCODE`, t1.`LASTONHOLDTIME`, t1.`LASTUSEDINCAMPAIGN`, t1.`MARKETCAP`, t1.`MARKETCAP_BASE`, t1.`MARKETINGONLY`, t1.`MASTERACCOUNTIDYOMINAME`, t1.`MERGED`, t1.`NUMBEROFEMPLOYEES`, t1.`ONHOLDTIME`, t1.`OPENDEALS`, t1.`OPENDEALS_DATE`, t1.`OPENDEALS_STATE`, t1.`OPENREVENUE`, t1.`OPENREVENUE_BASE`, t1.`OPENREVENUE_DATE`, t1.`OPENREVENUE_STATE`, t1.`ORIGINATINGLEADID`, t1.`ORIGINATINGLEADNAME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`OWNERSHIPCODE`, t1.`PARENTACCOUNTID`, t1.`PARENTACCOUNTNAME`, t1.`PARTICIPATESINWORKFLOW`, t1.`PAYMENTTERMSCODE`, t1.`PREFERREDAPPOINTMENTDAYCODE`, t1.`PREFERREDAPPOINTMENTTIMECODE`, t1.`PREFERREDCONTACTMETHODCODE`, t1.`PREFERREDEQUIPMENTID`, t1.`PREFERREDEQUIPMENTNAME`, t1.`PREFERREDSERVICEID`, t1.`PREFERREDSERVICENAME`, t1.`PREFERREDSYSTEMUSERID`, t1.`PREFERREDSYSTEMUSERIDYOMINAME`, t1.`PRIMARYCONTACTID`, t1.`PRIMARYCONTACTNAME`, t1.`PRIMARYSATORIID`, t1.`PRIMARYTWITTERID`, t1.`PRIVATE`, t1.`PROCESSID`, t1.`REVENUE`, t1.`REVENUE_BASE`, t1.`SHARESOUTSTANDING`, t1.`SHIPPINGMETHODCODE`, t1.`SIC`, t1.`SLAID`, t1.`SLANAME`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`STOCKEXCHANGE`, t1.`TEAMSFOLLOWED`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TERRITORYCODE`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TICKERSYMBOL`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WEBSITEURL`, t1.`YOMINAME` FROM `ACCOUNT` t1 <![CDATA[ SELECT t1.`ACCOUNTCATEGORYCODE`, t1.`ACCOUNTCLASSIFICATIONCODE`, t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`ACCOUNTNUMBER`, t1.`ACCOUNTRATINGCODE`, t1.`ADDRESS1_ADDRESSID`, t1.`ADDRESS1_ADDRESSTYPECODE`, t1.`ADDRESS1_CITY`, t1.`ADDRESS1_COMPOSITE`, t1.`ADDRESS1_COUNTRY`, t1.`ADDRESS1_COUNTY`, t1.`ADDRESS1_FAX`, t1.`ADDRESS1_FREIGHTTERMSCODE`, t1.`ADDRESS1_LATITUDE`, t1.`ADDRESS1_LINE1`, t1.`ADDRESS1_LINE2`, t1.`ADDRESS1_LINE3`, t1.`ADDRESS1_LONGITUDE`, t1.`ADDRESS1_NAME`, t1.`ADDRESS1_POSTALCODE`, t1.`ADDRESS1_POSTOFFICEBOX`, t1.`ADDRESS1_PRIMARYCONTACTNAME`, t1.`ADDRESS1_SHIPPINGMETHODCODE`, t1.`ADDRESS1_STATEORPROVINCE`, t1.`ADDRESS1_TELEPHONE1`, t1.`ADDRESS1_TELEPHONE2`, t1.`ADDRESS1_TELEPHONE3`, t1.`ADDRESS1_UPSZONE`, t1.`ADDRESS1_UTCOFFSET`, t1.`ADDRESS2_ADDRESSID`, t1.`ADDRESS2_ADDRESSTYPECODE`, t1.`ADDRESS2_CITY`, t1.`ADDRESS2_COMPOSITE`, t1.`ADDRESS2_COUNTRY`, t1.`ADDRESS2_COUNTY`, t1.`ADDRESS2_FAX`, t1.`ADDRESS2_FREIGHTTERMSCODE`, t1.`ADDRESS2_LATITUDE`, t1.`ADDRESS2_LINE1`, t1.`ADDRESS2_LINE2`, t1.`ADDRESS2_LINE3`, t1.`ADDRESS2_LONGITUDE`, t1.`ADDRESS2_NAME`, t1.`ADDRESS2_POSTALCODE`, t1.`ADDRESS2_POSTOFFICEBOX`, t1.`ADDRESS2_PRIMARYCONTACTNAME`, t1.`ADDRESS2_SHIPPINGMETHODCODE`, t1.`ADDRESS2_STATEORPROVINCE`, t1.`ADDRESS2_TELEPHONE1`, t1.`ADDRESS2_TELEPHONE2`, t1.`ADDRESS2_TELEPHONE3`, t1.`ADDRESS2_UPSZONE`, t1.`ADDRESS2_UTCOFFSET`, t1.`AGING30`, t1.`AGING30_BASE`, t1.`AGING60`, t1.`AGING60_BASE`, t1.`AGING90`, t1.`AGING90_BASE`, t1.`BUSINESSTYPECODE`, t1.`CHILDACCOUNTCOUNT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CREDITLIMIT`, t1.`CREDITLIMIT_BASE`, t1.`CREDITONHOLD`, t1.`CUSTOMERSIZECODE`, t1.`CUSTOMERTYPECODE`, t1.`DEFAULTPRICELEVELID`, t1.`DEFAULTPRICELEVELNAME`, t1.`DESCRIPTION`, t1.`DONOTBULKEMAIL`, t1.`DONOTBULKPOSTALMAIL`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`DONOTSENDMM`, t1.`EMAILADDRESS1`, t1.`EMAILADDRESS2`, t1.`EMAILADDRESS3`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FOLLOWEMAIL`, t1.`FTPSITEURL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INDUSTRYCODE`, t1.`LASTONHOLDTIME`, t1.`LASTUSEDINCAMPAIGN`, t1.`MARKETCAP`, t1.`MARKETCAP_BASE`, t1.`MARKETINGONLY`, t1.`MASTERACCOUNTIDYOMINAME`, t1.`MERGED`, t1.`NUMBEROFEMPLOYEES`, t1.`ONHOLDTIME`, t1.`OPENDEALS`, t1.`OPENDEALS_DATE`, t1.`OPENDEALS_STATE`, t1.`OPENREVENUE`, t1.`OPENREVENUE_BASE`, t1.`OPENREVENUE_DATE`, t1.`OPENREVENUE_STATE`, t1.`ORIGINATINGLEADID`, t1.`ORIGINATINGLEADNAME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`OWNERSHIPCODE`, t1.`PARENTACCOUNTID`, t1.`PARENTACCOUNTNAME`, t1.`PARTICIPATESINWORKFLOW`, t1.`PAYMENTTERMSCODE`, t1.`PREFERREDAPPOINTMENTDAYCODE`, t1.`PREFERREDAPPOINTMENTTIMECODE`, t1.`PREFERREDCONTACTMETHODCODE`, t1.`PREFERREDEQUIPMENTID`, t1.`PREFERREDEQUIPMENTNAME`, t1.`PREFERREDSERVICEID`, t1.`PREFERREDSERVICENAME`, t1.`PREFERREDSYSTEMUSERID`, t1.`PREFERREDSYSTEMUSERIDYOMINAME`, t1.`PRIMARYCONTACTID`, t1.`PRIMARYCONTACTNAME`, t1.`PRIMARYSATORIID`, t1.`PRIMARYTWITTERID`, t1.`PRIVATE`, t1.`PROCESSID`, t1.`REVENUE`, t1.`REVENUE_BASE`, t1.`SHARESOUTSTANDING`, t1.`SHIPPINGMETHODCODE`, t1.`SIC`, t1.`SLAID`, t1.`SLANAME`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`STOCKEXCHANGE`, t1.`TEAMSFOLLOWED`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TERRITORYCODE`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TICKERSYMBOL`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WEBSITEURL`, t1.`YOMINAME` FROM `ACCOUNT` t1
WHERE ( t1.`PARENTACCOUNTID` IS NULL ) WHERE ( t1.`PARENTACCOUNTID` IS NULL )
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="mysql"> <sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACCOUNTCATEGORYCODE`, t1.`ACCOUNTCLASSIFICATIONCODE`, t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`ACCOUNTNUMBER`, t1.`ACCOUNTRATINGCODE`, t1.`ADDRESS1_ADDRESSID`, t1.`ADDRESS1_ADDRESSTYPECODE`, t1.`ADDRESS1_CITY`, t1.`ADDRESS1_COMPOSITE`, t1.`ADDRESS1_COUNTRY`, t1.`ADDRESS1_COUNTY`, t1.`ADDRESS1_FAX`, t1.`ADDRESS1_FREIGHTTERMSCODE`, t1.`ADDRESS1_LATITUDE`, t1.`ADDRESS1_LINE1`, t1.`ADDRESS1_LINE2`, t1.`ADDRESS1_LINE3`, t1.`ADDRESS1_LONGITUDE`, t1.`ADDRESS1_NAME`, t1.`ADDRESS1_POSTALCODE`, t1.`ADDRESS1_POSTOFFICEBOX`, t1.`ADDRESS1_PRIMARYCONTACTNAME`, t1.`ADDRESS1_SHIPPINGMETHODCODE`, t1.`ADDRESS1_STATEORPROVINCE`, t1.`ADDRESS1_TELEPHONE1`, t1.`ADDRESS1_TELEPHONE2`, t1.`ADDRESS1_TELEPHONE3`, t1.`ADDRESS1_UPSZONE`, t1.`ADDRESS1_UTCOFFSET`, t1.`ADDRESS2_ADDRESSID`, t1.`ADDRESS2_ADDRESSTYPECODE`, t1.`ADDRESS2_CITY`, t1.`ADDRESS2_COMPOSITE`, t1.`ADDRESS2_COUNTRY`, t1.`ADDRESS2_COUNTY`, t1.`ADDRESS2_FAX`, t1.`ADDRESS2_FREIGHTTERMSCODE`, t1.`ADDRESS2_LATITUDE`, t1.`ADDRESS2_LINE1`, t1.`ADDRESS2_LINE2`, t1.`ADDRESS2_LINE3`, t1.`ADDRESS2_LONGITUDE`, t1.`ADDRESS2_NAME`, t1.`ADDRESS2_POSTALCODE`, t1.`ADDRESS2_POSTOFFICEBOX`, t1.`ADDRESS2_PRIMARYCONTACTNAME`, t1.`ADDRESS2_SHIPPINGMETHODCODE`, t1.`ADDRESS2_STATEORPROVINCE`, t1.`ADDRESS2_TELEPHONE1`, t1.`ADDRESS2_TELEPHONE2`, t1.`ADDRESS2_TELEPHONE3`, t1.`ADDRESS2_UPSZONE`, t1.`ADDRESS2_UTCOFFSET`, t1.`AGING30`, t1.`AGING30_BASE`, t1.`AGING60`, t1.`AGING60_BASE`, t1.`AGING90`, t1.`AGING90_BASE`, t1.`BUSINESSTYPECODE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CREDITLIMIT`, t1.`CREDITLIMIT_BASE`, t1.`CREDITONHOLD`, t1.`CUSTOMERSIZECODE`, t1.`CUSTOMERTYPECODE`, t1.`DEFAULTPRICELEVELID`, t1.`DEFAULTPRICELEVELNAME`, t1.`DESCRIPTION`, t1.`DONOTBULKEMAIL`, t1.`DONOTBULKPOSTALMAIL`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`DONOTSENDMM`, t1.`EMAILADDRESS1`, t1.`EMAILADDRESS2`, t1.`EMAILADDRESS3`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FOLLOWEMAIL`, t1.`FTPSITEURL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INDUSTRYCODE`, t1.`LASTONHOLDTIME`, t1.`LASTUSEDINCAMPAIGN`, t1.`MARKETCAP`, t1.`MARKETCAP_BASE`, t1.`MARKETINGONLY`, t1.`MASTERACCOUNTIDYOMINAME`, t1.`MERGED`, t1.`NUMBEROFEMPLOYEES`, t1.`ONHOLDTIME`, t1.`OPENDEALS`, t1.`OPENDEALS_DATE`, t1.`OPENDEALS_STATE`, t1.`OPENREVENUE`, t1.`OPENREVENUE_BASE`, t1.`OPENREVENUE_DATE`, t1.`OPENREVENUE_STATE`, t1.`ORIGINATINGLEADID`, t1.`ORIGINATINGLEADNAME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`OWNERSHIPCODE`, t1.`PARENTACCOUNTID`, t1.`PARENTACCOUNTNAME`, t1.`PARTICIPATESINWORKFLOW`, t1.`PAYMENTTERMSCODE`, t1.`PREFERREDAPPOINTMENTDAYCODE`, t1.`PREFERREDAPPOINTMENTTIMECODE`, t1.`PREFERREDCONTACTMETHODCODE`, t1.`PREFERREDEQUIPMENTID`, t1.`PREFERREDEQUIPMENTNAME`, t1.`PREFERREDSERVICEID`, t1.`PREFERREDSERVICENAME`, t1.`PREFERREDSYSTEMUSERID`, t1.`PREFERREDSYSTEMUSERIDYOMINAME`, t1.`PRIMARYCONTACTID`, t1.`PRIMARYCONTACTNAME`, t1.`PRIMARYSATORIID`, t1.`PRIMARYTWITTERID`, t1.`PRIVATE`, t1.`PROCESSID`, t1.`REVENUE`, t1.`REVENUE_BASE`, t1.`SHARESOUTSTANDING`, t1.`SHIPPINGMETHODCODE`, t1.`SIC`, t1.`SLAID`, t1.`SLANAME`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`STOCKEXCHANGE`, t1.`TEAMSFOLLOWED`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TERRITORYCODE`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TICKERSYMBOL`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WEBSITEURL`, t1.`YOMINAME` FROM `ACCOUNT` t1 <![CDATA[ SELECT t1.`ACCOUNTCATEGORYCODE`, t1.`ACCOUNTCLASSIFICATIONCODE`, t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`ACCOUNTNUMBER`, t1.`ACCOUNTRATINGCODE`, t1.`ADDRESS1_ADDRESSID`, t1.`ADDRESS1_ADDRESSTYPECODE`, t1.`ADDRESS1_CITY`, t1.`ADDRESS1_COMPOSITE`, t1.`ADDRESS1_COUNTRY`, t1.`ADDRESS1_COUNTY`, t1.`ADDRESS1_FAX`, t1.`ADDRESS1_FREIGHTTERMSCODE`, t1.`ADDRESS1_LATITUDE`, t1.`ADDRESS1_LINE1`, t1.`ADDRESS1_LINE2`, t1.`ADDRESS1_LINE3`, t1.`ADDRESS1_LONGITUDE`, t1.`ADDRESS1_NAME`, t1.`ADDRESS1_POSTALCODE`, t1.`ADDRESS1_POSTOFFICEBOX`, t1.`ADDRESS1_PRIMARYCONTACTNAME`, t1.`ADDRESS1_SHIPPINGMETHODCODE`, t1.`ADDRESS1_STATEORPROVINCE`, t1.`ADDRESS1_TELEPHONE1`, t1.`ADDRESS1_TELEPHONE2`, t1.`ADDRESS1_TELEPHONE3`, t1.`ADDRESS1_UPSZONE`, t1.`ADDRESS1_UTCOFFSET`, t1.`ADDRESS2_ADDRESSID`, t1.`ADDRESS2_ADDRESSTYPECODE`, t1.`ADDRESS2_CITY`, t1.`ADDRESS2_COMPOSITE`, t1.`ADDRESS2_COUNTRY`, t1.`ADDRESS2_COUNTY`, t1.`ADDRESS2_FAX`, t1.`ADDRESS2_FREIGHTTERMSCODE`, t1.`ADDRESS2_LATITUDE`, t1.`ADDRESS2_LINE1`, t1.`ADDRESS2_LINE2`, t1.`ADDRESS2_LINE3`, t1.`ADDRESS2_LONGITUDE`, t1.`ADDRESS2_NAME`, t1.`ADDRESS2_POSTALCODE`, t1.`ADDRESS2_POSTOFFICEBOX`, t1.`ADDRESS2_PRIMARYCONTACTNAME`, t1.`ADDRESS2_SHIPPINGMETHODCODE`, t1.`ADDRESS2_STATEORPROVINCE`, t1.`ADDRESS2_TELEPHONE1`, t1.`ADDRESS2_TELEPHONE2`, t1.`ADDRESS2_TELEPHONE3`, t1.`ADDRESS2_UPSZONE`, t1.`ADDRESS2_UTCOFFSET`, t1.`AGING30`, t1.`AGING30_BASE`, t1.`AGING60`, t1.`AGING60_BASE`, t1.`AGING90`, t1.`AGING90_BASE`, t1.`BUSINESSTYPECODE`, t1.`CHILDACCOUNTCOUNT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CREDITLIMIT`, t1.`CREDITLIMIT_BASE`, t1.`CREDITONHOLD`, t1.`CUSTOMERSIZECODE`, t1.`CUSTOMERTYPECODE`, t1.`DEFAULTPRICELEVELID`, t1.`DEFAULTPRICELEVELNAME`, t1.`DESCRIPTION`, t1.`DONOTBULKEMAIL`, t1.`DONOTBULKPOSTALMAIL`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`DONOTSENDMM`, t1.`EMAILADDRESS1`, t1.`EMAILADDRESS2`, t1.`EMAILADDRESS3`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FOLLOWEMAIL`, t1.`FTPSITEURL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INDUSTRYCODE`, t1.`LASTONHOLDTIME`, t1.`LASTUSEDINCAMPAIGN`, t1.`MARKETCAP`, t1.`MARKETCAP_BASE`, t1.`MARKETINGONLY`, t1.`MASTERACCOUNTIDYOMINAME`, t1.`MERGED`, t1.`NUMBEROFEMPLOYEES`, t1.`ONHOLDTIME`, t1.`OPENDEALS`, t1.`OPENDEALS_DATE`, t1.`OPENDEALS_STATE`, t1.`OPENREVENUE`, t1.`OPENREVENUE_BASE`, t1.`OPENREVENUE_DATE`, t1.`OPENREVENUE_STATE`, t1.`ORIGINATINGLEADID`, t1.`ORIGINATINGLEADNAME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERIDYOMINAME`, t1.`OWNERSHIPCODE`, t1.`PARENTACCOUNTID`, t1.`PARENTACCOUNTNAME`, t1.`PARTICIPATESINWORKFLOW`, t1.`PAYMENTTERMSCODE`, t1.`PREFERREDAPPOINTMENTDAYCODE`, t1.`PREFERREDAPPOINTMENTTIMECODE`, t1.`PREFERREDCONTACTMETHODCODE`, t1.`PREFERREDEQUIPMENTID`, t1.`PREFERREDEQUIPMENTNAME`, t1.`PREFERREDSERVICEID`, t1.`PREFERREDSERVICENAME`, t1.`PREFERREDSYSTEMUSERID`, t1.`PREFERREDSYSTEMUSERIDYOMINAME`, t1.`PRIMARYCONTACTID`, t1.`PRIMARYCONTACTNAME`, t1.`PRIMARYSATORIID`, t1.`PRIMARYTWITTERID`, t1.`PRIVATE`, t1.`PROCESSID`, t1.`REVENUE`, t1.`REVENUE_BASE`, t1.`SHARESOUTSTANDING`, t1.`SHIPPINGMETHODCODE`, t1.`SIC`, t1.`SLAID`, t1.`SLANAME`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`STOCKEXCHANGE`, t1.`TEAMSFOLLOWED`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TERRITORYCODE`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TICKERSYMBOL`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WEBSITEURL`, t1.`YOMINAME` FROM `ACCOUNT` t1
]]> ]]>
</sql> </sql>
</mapper> </mapper>
......
...@@ -1326,6 +1326,14 @@ public class AccountDTO extends DTOBase implements Serializable { ...@@ -1326,6 +1326,14 @@ public class AccountDTO extends DTOBase implements Serializable {
@JsonProperty("transactioncurrencyname") @JsonProperty("transactioncurrencyname")
private String transactioncurrencyname; private String transactioncurrencyname;
/**
* 属性 [CHILDACCOUNTCOUNT]
*
*/
@JSONField(name = "childaccountcount")
@JsonProperty("childaccountcount")
private Integer childaccountcount;
/** /**
* 设置 [ADDRESS1_PRIMARYCONTACTNAME] * 设置 [ADDRESS1_PRIMARYCONTACTNAME]
...@@ -2583,6 +2591,14 @@ public class AccountDTO extends DTOBase implements Serializable { ...@@ -2583,6 +2591,14 @@ public class AccountDTO extends DTOBase implements Serializable {
this.modify("transactioncurrencyname",transactioncurrencyname); this.modify("transactioncurrencyname",transactioncurrencyname);
} }
/**
* 设置 [CHILDACCOUNTCOUNT]
*/
public void setChildaccountcount(Integer childaccountcount){
this.childaccountcount = childaccountcount ;
this.modify("childaccountcount",childaccountcount);
}
} }
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册