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

lab_gzf 发布系统代码

上级 811dab06
......@@ -271,57 +271,6 @@ export default {
title: "客户编辑视图",
},
},
edit_accountinfo_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "客户",
srfmajortext: "客户名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
accountname: "客户名称",
telephone1: "主要电话",
fax: "传真",
websiteurl: "网站",
parentaccountname: "上级客户",
tickersymbol: "股票代号",
customertypecode: "关系类型",
defaultpricelevelname: "价目表",
defaultpricelevelid: "价目表",
parentaccountid: "上级单位",
accountid: "客户",
},
uiactions: {
},
},
edit_address_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "客户",
srfmajortext: "客户名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
address1_addressid: "地址 1: ID",
address1_name: "地址 1: 名称",
address1_addresstypecode: "地址 1: 地址类型",
address1_country: "地址 1: 国家/地区",
address1_stateorprovince: "地址 1: 省/市/自治区",
address1_city: "地址 1: 市/县",
address1_county: "地址 1: 县",
accountid: "客户",
},
uiactions: {
},
},
info_all_form: {
details: {
group1: "账户信息",
......@@ -373,10 +322,6 @@ export default {
accountid: "客户",
},
uiactions: {
account_edit_accountinfo: "编辑",
account_edit_address: "编辑",
contact_quickcreate: "新建",
contact_openinfoview: "打开主信息界面",
},
},
quickcreate_form: {
......@@ -532,6 +477,33 @@ export default {
uiactions: {
},
},
edit_accountinfo_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "客户",
srfmajortext: "客户名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
accountname: "客户名称",
telephone1: "主要电话",
fax: "传真",
websiteurl: "网站",
parentaccountname: "上级客户",
tickersymbol: "股票代号",
customertypecode: "关系类型",
defaultpricelevelname: "价目表",
defaultpricelevelid: "价目表",
parentaccountid: "上级单位",
accountid: "客户",
},
uiactions: {
},
},
introduction_form: {
details: {
group1: "客户基本信息",
......@@ -640,6 +612,30 @@ export default {
uiactions: {
},
},
edit_address_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "客户",
srfmajortext: "客户名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
address1_addressid: "地址 1: ID",
address1_name: "地址 1: 名称",
address1_addresstypecode: "地址 1: 地址类型",
address1_country: "地址 1: 国家/地区",
address1_stateorprovince: "地址 1: 省/市/自治区",
address1_city: "地址 1: 市/县",
address1_county: "地址 1: 县",
accountid: "客户",
},
uiactions: {
},
},
info_majorcontact_form: {
details: {
druipart1: "",
......
......@@ -270,57 +270,6 @@ export default {
title: "客户编辑视图",
},
},
edit_accountinfo_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "客户",
srfmajortext: "客户名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
accountname: "客户名称",
telephone1: "主要电话",
fax: "传真",
websiteurl: "网站",
parentaccountname: "上级客户",
tickersymbol: "股票代号",
customertypecode: "关系类型",
defaultpricelevelname: "价目表",
defaultpricelevelid: "价目表",
parentaccountid: "上级单位",
accountid: "客户",
},
uiactions: {
},
},
edit_address_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "客户",
srfmajortext: "客户名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
address1_addressid: "地址 1: ID",
address1_name: "地址 1: 名称",
address1_addresstypecode: "地址 1: 地址类型",
address1_country: "地址 1: 国家/地区",
address1_stateorprovince: "地址 1: 省/市/自治区",
address1_city: "地址 1: 市/县",
address1_county: "地址 1: 县",
accountid: "客户",
},
uiactions: {
},
},
info_all_form: {
details: {
group1: "账户信息",
......@@ -372,10 +321,6 @@ export default {
accountid: "客户",
},
uiactions: {
account_edit_accountinfo: "编辑",
account_edit_address: "编辑",
contact_quickcreate: "新建",
contact_openinfoview: "打开主信息界面",
},
},
quickcreate_form: {
......@@ -531,6 +476,33 @@ export default {
uiactions: {
},
},
edit_accountinfo_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "客户",
srfmajortext: "客户名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
accountname: "客户名称",
telephone1: "主要电话",
fax: "传真",
websiteurl: "网站",
parentaccountname: "上级客户",
tickersymbol: "股票代号",
customertypecode: "关系类型",
defaultpricelevelname: "价目表",
defaultpricelevelid: "价目表",
parentaccountid: "上级单位",
accountid: "客户",
},
uiactions: {
},
},
introduction_form: {
details: {
group1: "客户基本信息",
......@@ -639,6 +611,30 @@ export default {
uiactions: {
},
},
edit_address_form: {
details: {
group1: "客户基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "客户",
srfmajortext: "客户名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
address1_addressid: "地址 1: ID",
address1_name: "地址 1: 名称",
address1_addresstypecode: "地址 1: 地址类型",
address1_country: "地址 1: 国家/地区",
address1_stateorprovince: "地址 1: 省/市/自治区",
address1_city: "地址 1: 市/县",
address1_county: "地址 1: 县",
accountid: "客户",
},
uiactions: {
},
},
info_majorcontact_form: {
details: {
druipart1: "",
......
......@@ -733,7 +733,11 @@ export default {
},
},
editviewtoolbar_toolbar: {
tbitem12: {
tbitem1: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem2: {
caption: "关闭",
tip: "关闭",
},
......
......@@ -732,7 +732,11 @@ export default {
},
},
editviewtoolbar_toolbar: {
tbitem12: {
tbitem1: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem2: {
caption: "关闭",
tip: "关闭",
},
......
......@@ -8842,20 +8842,6 @@ const router = new Router({
},
component: () => import('@pages/sales/competitor-edit-view/competitor-edit-view.vue'),
},
{
path: 'accounts/:account?/edit_address/:edit_address?',
meta: {
caption: 'entities.account.views.edit_address.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'edit_address', parameterName: 'edit_address' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-edit-address/account-edit-address.vue'),
},
{
path: 'accounts/:account?/contacts/:contact?/opportunities/:opportunity?/quotes/:quote?/gridview/:gridview?',
meta: {
......@@ -11013,20 +10999,6 @@ const router = new Router({
},
component: () => import('@pages/base/account-stop-grid-view/account-stop-grid-view.vue'),
},
{
path: 'accounts/:account?/edit_accountinfo/:edit_accountinfo?',
meta: {
caption: 'entities.account.views.edit_accountinfo.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'edit_accountinfo', parameterName: 'edit_accountinfo' },
],
requireAuth: true,
},
component: () => import('@pages/base/account-edit-account-info/account-edit-account-info.vue'),
},
{
path: 'incidents/:incident?/effectivegridview/:effectivegridview?',
meta: {
......
......@@ -99,7 +99,9 @@ export class ContactEditViewBase extends EditViewBase {
* @memberof ContactEditView
*/
public toolBarModels: any = {
tbitem12: { name: 'tbitem12', caption: '关闭', 'isShowCaption': true, 'isShowIcon': true, tooltip: '关闭', iconcls: 'fa fa-sign-out', icon: '', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Exit', target: '', class: '' } },
tbitem1: { name: 'tbitem1', caption: '保存并关闭', 'isShowCaption': true, 'isShowIcon': true, tooltip: '保存并关闭', iconcls: 'fa fa-power-off', icon: '', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndExit', target: '', class: '' } },
tbitem2: { name: 'tbitem2', caption: '关闭', 'isShowCaption': true, 'isShowIcon': true, tooltip: '关闭', iconcls: 'fa fa-sign-out', icon: '', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Exit', target: '', class: '' } },
};
......@@ -149,8 +151,11 @@ export class ContactEditViewBase extends EditViewBase {
* @memberof ContactEditViewBase
*/
public toolbar_click($event: any, $event2?: any): void {
if (Object.is($event.tag, 'tbitem12')) {
this.toolbar_tbitem12_click(null, '', $event2);
if (Object.is($event.tag, 'tbitem1')) {
this.toolbar_tbitem1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem2')) {
this.toolbar_tbitem2_click(null, '', $event2);
}
}
......@@ -195,7 +200,35 @@ export class ContactEditViewBase extends EditViewBase {
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem12_click(params: any = {}, tag?: any, $event?: any) {
public toolbar_tbitem1_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.form;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.SaveAndExit(datas, contextJO,paramJO, $event, xData,this,"Contact");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem2_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -215,6 +248,39 @@ export class ContactEditViewBase extends EditViewBase {
this.Exit(datas, contextJO,paramJO, $event, xData,this,"Contact");
}
/**
* 保存并关闭
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ContactEditViewBase
*/
public SaveAndExit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (xData && xData.saveAndExit instanceof Function) {
xData.saveAndExit().then((response: any) => {
if (!response || response.status !== 200) {
return;
}
if(window.parent){
window.parent.postMessage([{ ...response.data }],'*');
}
});
} else if (_this.saveAndExit && _this.saveAndExit instanceof Function) {
_this.saveAndExit().then((response: any) => {
if (!response || response.status !== 200) {
return;
}
if(window.parent){
window.parent.postMessage([{ ...response.data }],'*');
}
});
}
}
/**
* 关闭
*
......
......@@ -846,9 +846,6 @@ export const viewstate: any = {
refviews: [
'9224b0b14d2d99014e051f8035ba5cbf',
'2e9c7792c3a728896ca8902634f71983',
'e404dc93e70d6284d4e1a083017625ed',
'e4335da0a7c14a65376eecaabb771fd7',
'688201ee5642d41628dbf4deba002d17',
'fcdb236b65d78c4a8ae64e74f9483a63',
],
},
......
......@@ -268,72 +268,6 @@ export default class AccountUIServiceBase extends UIService {
backend();
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public async Account_Edit_Address(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
let data: any = {};
let parentContext:any = {};
let parentViewParam:any = {};
const _this: any = actionContext;
const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'SINGLEKEY';
Object.assign(context, { account: '%account%' });
Object.assign(params, { accountid: '%account%' });
Object.assign(params, { accountname: '%accountname%' });
if(_this.context){
parentContext = _this.context;
}
if(_this.viewparams){
parentViewParam = _this.viewparams;
}
context = UIActionTool.handleContextParam(actionTarget,_args,parentContext,parentViewParam,context);
data = UIActionTool.handleActionParam(actionTarget,_args,parentContext,parentViewParam,params);
context = Object.assign({},actionContext.context,context);
let parentObj:any = {srfparentdename:srfParentDeName?srfParentDeName:null,srfparentkey:srfParentDeName?context[srfParentDeName.toLowerCase()]:null};
Object.assign(data,parentObj);
Object.assign(context,parentObj);
let deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'accounts', parameterName: 'account' },
];
const openDrawer = (view: any, data: any) => {
let container: Subject<any> = actionContext.$appdrawer.openDrawer(view, context,data);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
const _this: any = actionContext;
if (xData && xData.refresh && xData.refresh instanceof Function) {
xData.refresh(args);
}
if(window.opener){
window.opener.postMessage({status:'OK',identification:'WF'},Environment.uniteAddress);
window.close();
}
return result.datas;
});
}
const view: any = {
viewname: 'account-edit-address',
height: 0,
width: 450,
title: actionContext.$t('entities.account.views.edit_address.title'),
placement: 'DRAWER_RIGHT',
};
openDrawer(view, data);
}
/**
* 头部信息编辑
*
......@@ -597,72 +531,6 @@ export default class AccountUIServiceBase extends UIService {
backend();
}
/**
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public async Account_Edit_AccountInfo(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
let data: any = {};
let parentContext:any = {};
let parentViewParam:any = {};
const _this: any = actionContext;
const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'SINGLEKEY';
Object.assign(context, { account: '%account%' });
Object.assign(params, { accountid: '%account%' });
Object.assign(params, { accountname: '%accountname%' });
if(_this.context){
parentContext = _this.context;
}
if(_this.viewparams){
parentViewParam = _this.viewparams;
}
context = UIActionTool.handleContextParam(actionTarget,_args,parentContext,parentViewParam,context);
data = UIActionTool.handleActionParam(actionTarget,_args,parentContext,parentViewParam,params);
context = Object.assign({},actionContext.context,context);
let parentObj:any = {srfparentdename:srfParentDeName?srfParentDeName:null,srfparentkey:srfParentDeName?context[srfParentDeName.toLowerCase()]:null};
Object.assign(data,parentObj);
Object.assign(context,parentObj);
let deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'accounts', parameterName: 'account' },
];
const openDrawer = (view: any, data: any) => {
let container: Subject<any> = actionContext.$appdrawer.openDrawer(view, context,data);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
const _this: any = actionContext;
if (xData && xData.refresh && xData.refresh instanceof Function) {
xData.refresh(args);
}
if(window.opener){
window.opener.postMessage({status:'OK',identification:'WF'},Environment.uniteAddress);
window.close();
}
return result.datas;
});
}
const view: any = {
viewname: 'account-edit-account-info',
height: 0,
width: 450,
title: actionContext.$t('entities.account.views.edit_accountinfo.title'),
placement: 'DRAWER_RIGHT',
};
openDrawer(view, data);
}
/**
* 打开主信息界面
*
......
......@@ -4,7 +4,6 @@ import { Watch, EditFormControlBase } from '@/studio-core';
import AccountService from '@/service/account/account-service';
import Info_AllService from './info-all-form-service';
import AccountUIService from '@/uiservice/account/account-ui-service';
import ContactUIService from '@/uiservice/contact/contact-ui-service';
import { FormButtonModel, FormPageModel, FormItemModel, FormDRUIPartModel, FormPartModel, FormGroupPanelModel, FormIFrameModel, FormRowItemModel, FormTabPageModel, FormTabPanelModel, FormUserControlModel } from '@/model/form-detail';
......@@ -51,90 +50,6 @@ export class Info_AllEditFormBase extends EditFormControlBase {
*/
protected appDeName: string = 'account';
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public form_group1_uc040f39_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:AccountUIService = new AccountUIService();
curUIService.Account_Edit_AccountInfo(datas,contextJO, paramJO, $event, xData,this,"Account");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public form_grouppanel1_u2ccbfc9_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:AccountUIService = new AccountUIService();
curUIService.Account_Edit_Address(datas,contextJO, paramJO, $event, xData,this,"Account");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public form_grouppanel4_u5a905ee_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this;
if (_this.getDatas && _this.getDatas instanceof Function) {
datas = [..._this.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:ContactUIService = new ContactUIService();
curUIService.Contact_QuickCreate(datas,contextJO, paramJO, $event, xData,this,"Account");
}
/**
* 界面UI服务对象
*
......@@ -228,7 +143,7 @@ export class Info_AllEditFormBase extends EditFormControlBase {
'tickersymbol',
'ownershipcode',
'defaultpricelevelname',
], uiActionGroup: { caption: '编辑_账户信息', langbase: 'entities.account.info_all_form', extractMode: 'ITEM', details: [{ name: 'group1_uc040f39', caption: '编辑', uiactiontag: 'account_edit_accountinfo', icon: 'fa fa-pencil',isShowCaption:false,isShowIcon:true }] } }),
], uiActionGroup: { caption: '', langbase: 'entities.account.info_all_form', extractMode: 'ITEM', details: [] } }),
grouppanel1: new FormGroupPanelModel({ caption: '地址信息', detailType: 'GROUPPANEL', name: 'grouppanel1', visible: true, isShowCaption: true, form: this, showMoreMode: 2, anchorPoints: ['address1_country', ], controlledItems: [
'address1_addressid',
......@@ -237,11 +152,11 @@ export class Info_AllEditFormBase extends EditFormControlBase {
'address1_county',
'address1_fax',
'address1_freighttermscode',
], uiActionGroup: { caption: '编辑_地址信息', langbase: 'entities.account.info_all_form', extractMode: 'ITEM', details: [{ name: 'grouppanel1_u2ccbfc9', caption: '编辑', uiactiontag: 'account_edit_address', icon: 'fa fa-pencil',isShowCaption:false,isShowIcon:true }] } }),
], uiActionGroup: { caption: '', langbase: 'entities.account.info_all_form', extractMode: 'ITEM', details: [] } }),
druipart1: new FormDRUIPartModel({ caption: '', detailType: 'DRUIPART', name: 'druipart1', visible: true, isShowCaption: true, form: this, showMoreMode: 0 }),
grouppanel4: new FormGroupPanelModel({ caption: '联系人', detailType: 'GROUPPANEL', name: 'grouppanel4', visible: true, isShowCaption: true, form: this, showMoreMode: 0, uiActionGroup: { caption: '添加联系人', langbase: 'entities.account.info_all_form', extractMode: 'ITEM', details: [{ name: 'grouppanel4_u5a905ee', caption: '新建', uiactiontag: 'contact_quickcreate', icon: 'fa fa-user-plus',isShowCaption:false,isShowIcon:true }] } }),
grouppanel4: new FormGroupPanelModel({ caption: '联系人', detailType: 'GROUPPANEL', name: 'grouppanel4', visible: true, isShowCaption: true, form: this, showMoreMode: 0, uiActionGroup: { caption: '', langbase: 'entities.account.info_all_form', extractMode: 'ITEM', details: [] } }),
grouppanel2: new FormGroupPanelModel({ caption: '联系人首选项', detailType: 'GROUPPANEL', name: 'grouppanel2', visible: true, isShowCaption: true, form: this, showMoreMode: 0, uiActionGroup: { caption: '', langbase: 'entities.account.info_all_form', extractMode: 'ITEM', details: [] } }),
......@@ -330,26 +245,4 @@ export class Info_AllEditFormBase extends EditFormControlBase {
accountid: new FormItemModel({ caption: '客户', detailType: 'FORMITEM', name: 'accountid', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
};
/**
* 分组界面行为事件
*
* @param {*} $event
* @memberof Info_AllEditFormBase
*/
public groupUIActionClick($event: any): void {
if (!$event) {
return;
}
const item: any = $event.item;
if (Object.is(item.name, 'group1_uc040f39')) {
this.form_group1_uc040f39_click(null, null, $event.event);
}
if (Object.is(item.name, 'grouppanel1_u2ccbfc9')) {
this.form_grouppanel1_u2ccbfc9_click(null, null, $event.event);
}
if (Object.is(item.name, 'grouppanel4_u5a905ee')) {
this.form_grouppanel4_u5a905ee_click(null, null, $event.event);
}
}
}
\ No newline at end of file
......@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-businesscentral.jar
EXPOSE 10320
EXPOSE 8080
ADD businesscentral-app-businesscentral.jar /businesscentral-app-businesscentral.jar
......@@ -3,23 +3,9 @@ services:
businesscentral-app-businesscentral:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-businesscentral:latest
ports:
- "10320:10320"
- "8080:8080"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=10320
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
- SPRING_DATASOURCE_PASSWORD=b1@@@772
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
- CAS=https://passport.ibizlab.cn
- NACOS=172.16.240.110:8848
deploy:
resources:
limits:
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="ActivityMimeatTachmentResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYID`, t1.`ACTIVITYMIMEATTACHMENTID`, t1.`ACTIVITYMIMEATTACHMENTIDUNIQUE`, t1.`ACTIVITYSUBJECT`, t1.`ANONYMOUSLINK`, t1.`ATTACHMENTCONTENTID`, t1.`ATTACHMENTID`, t1.`ATTACHMENTNUMBER`, t1.`BODY`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FILENAME`, t1.`FILESIZE`, t1.`FOLLOWED`, t1.`MANAGED`, t1.`MIMETYPE`, t1.`OBJECTID`, t1.`OBJECTTYPECODE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`SOLUTIONID`, t1.`SUBJECT`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `ACTIVITYMIMEATTACHMENT` t1 ) t1 where activitymimeattachmentid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYID`, t1.`ACTIVITYMIMEATTACHMENTID`, t1.`ACTIVITYMIMEATTACHMENTIDUNIQUE`, t1.`ACTIVITYSUBJECT`, t1.`ANONYMOUSLINK`, t1.`ATTACHMENTCONTENTID`, t1.`ATTACHMENTID`, t1.`ATTACHMENTNUMBER`, t1.`BODY`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FILENAME`, t1.`FILESIZE`, t1.`FOLLOWED`, t1.`MANAGED`, t1.`MIMETYPE`, t1.`OBJECTID`, t1.`OBJECTTYPECODE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`SOLUTIONID`, t1.`SUBJECT`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `ACTIVITYMIMEATTACHMENT` t1 ) t1 where activitymimeattachmentid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYMIMEATTACHMENTID`, t1.`ACTIVITYMIMEATTACHMENTIDUNIQUE`, t1.`ACTIVITYSUBJECT`, t1.`ANONYMOUSLINK`, t1.`ATTACHMENTCONTENTID`, t1.`ATTACHMENTID`, t1.`ATTACHMENTNUMBER`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FILENAME`, t1.`FILESIZE`, t1.`FOLLOWED`, t1.`MANAGED`, t1.`MIMETYPE`, t1.`OBJECTID`, t1.`OBJECTTYPECODE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`SOLUTIONID`, t1.`SUBJECT`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `ACTIVITYMIMEATTACHMENT` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYMIMEATTACHMENTID`, t1.`ACTIVITYMIMEATTACHMENTIDUNIQUE`, t1.`ACTIVITYSUBJECT`, t1.`ANONYMOUSLINK`, t1.`ATTACHMENTCONTENTID`, t1.`ATTACHMENTID`, t1.`ATTACHMENTNUMBER`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FILENAME`, t1.`FILESIZE`, t1.`FOLLOWED`, t1.`MANAGED`, t1.`MIMETYPE`, t1.`OBJECTID`, t1.`OBJECTTYPECODE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`SOLUTIONID`, t1.`SUBJECT`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `ACTIVITYMIMEATTACHMENT` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYMIMEATTACHMENTID`, t1.`ACTIVITYMIMEATTACHMENTIDUNIQUE`, t1.`ACTIVITYSUBJECT`, t1.`ANONYMOUSLINK`, t1.`ATTACHMENTCONTENTID`, t1.`ATTACHMENTID`, t1.`ATTACHMENTNUMBER`, t1.`BODY`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FILENAME`, t1.`FILESIZE`, t1.`FOLLOWED`, t1.`MANAGED`, t1.`MIMETYPE`, t1.`OBJECTID`, t1.`OBJECTTYPECODE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`SOLUTIONID`, t1.`SUBJECT`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `ACTIVITYMIMEATTACHMENT` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYMIMEATTACHMENTID`, t1.`ACTIVITYMIMEATTACHMENTIDUNIQUE`, t1.`ACTIVITYSUBJECT`, t1.`ANONYMOUSLINK`, t1.`ATTACHMENTCONTENTID`, t1.`ATTACHMENTID`, t1.`ATTACHMENTNUMBER`, t1.`BODY`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FILENAME`, t1.`FILESIZE`, t1.`FOLLOWED`, t1.`MANAGED`, t1.`MIMETYPE`, t1.`OBJECTID`, t1.`OBJECTTYPECODE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`SOLUTIONID`, t1.`SUBJECT`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `ACTIVITYMIMEATTACHMENT` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="ActivityPartyResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYID`, t1.`ACTIVITYPARTYID`, t1.`ADDRESSUSED`, t1.`ADDRESSUSEDEMAILCOLUMNNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`EFFORT`, t1.`EXCHANGEENTRYID`, t1.`INSTANCETYPECODE`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`PARTICIPATIONTYPEMASK`, t1.`PARTYDELETED`, t1.`PARTYID`, t1.`PARTYIDNAME`, t1.`PARTYOBJECTTYPECODE`, t1.`RESOURCESPECID`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `ACTIVITYPARTY` t1 ) t1 where activitypartyid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYID`, t1.`ACTIVITYPARTYID`, t1.`ADDRESSUSED`, t1.`ADDRESSUSEDEMAILCOLUMNNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`EFFORT`, t1.`EXCHANGEENTRYID`, t1.`INSTANCETYPECODE`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`PARTICIPATIONTYPEMASK`, t1.`PARTYDELETED`, t1.`PARTYID`, t1.`PARTYIDNAME`, t1.`PARTYOBJECTTYPECODE`, t1.`RESOURCESPECID`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `ACTIVITYPARTY` t1 ) t1 where activitypartyid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -47,12 +47,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYPARTYID`, t1.`ADDRESSUSED`, t1.`ADDRESSUSEDEMAILCOLUMNNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`EFFORT`, t1.`EXCHANGEENTRYID`, t1.`INSTANCETYPECODE`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`PARTICIPATIONTYPEMASK`, t1.`PARTYDELETED`, t1.`PARTYID`, t1.`PARTYIDNAME`, t1.`PARTYOBJECTTYPECODE`, t1.`RESOURCESPECID`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `ACTIVITYPARTY` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYPARTYID`, t1.`ADDRESSUSED`, t1.`ADDRESSUSEDEMAILCOLUMNNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`EFFORT`, t1.`EXCHANGEENTRYID`, t1.`INSTANCETYPECODE`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`PARTICIPATIONTYPEMASK`, t1.`PARTYDELETED`, t1.`PARTYID`, t1.`PARTYIDNAME`, t1.`PARTYOBJECTTYPECODE`, t1.`RESOURCESPECID`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `ACTIVITYPARTY` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYPARTYID`, t1.`ADDRESSUSED`, t1.`ADDRESSUSEDEMAILCOLUMNNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`EFFORT`, t1.`EXCHANGEENTRYID`, t1.`INSTANCETYPECODE`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`PARTICIPATIONTYPEMASK`, t1.`PARTYDELETED`, t1.`PARTYID`, t1.`PARTYIDNAME`, t1.`PARTYOBJECTTYPECODE`, t1.`RESOURCESPECID`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `ACTIVITYPARTY` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYPARTYID`, t1.`ADDRESSUSED`, t1.`ADDRESSUSEDEMAILCOLUMNNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DONOTEMAIL`, t1.`DONOTFAX`, t1.`DONOTPHONE`, t1.`DONOTPOSTALMAIL`, t1.`EFFORT`, t1.`EXCHANGEENTRYID`, t1.`INSTANCETYPECODE`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`PARTICIPATIONTYPEMASK`, t1.`PARTYDELETED`, t1.`PARTYID`, t1.`PARTYIDNAME`, t1.`PARTYOBJECTTYPECODE`, t1.`RESOURCESPECID`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `ACTIVITYPARTY` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="AppointmentResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ALLDAYEVENT`, t1.`ATTACHMENTCOUNT`, t1.`ATTACHMENTERRORS`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DRAFT`, t1.`EXCHANGERATE`, t1.`GLOBALOBJECTID`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LOCATION`, t1.`MAPIPRIVATE`, t1.`MODIFIEDFIELDSMASK`, t1.`ONHOLDTIME`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`ORIGINALSTARTDATE`, t1.`OUTLOOKOWNERAPPTID`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`SAFEDESCRIPTION`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UNSAFE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `APPOINTMENT` t1 ) t1 where activityid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ALLDAYEVENT`, t1.`ATTACHMENTCOUNT`, t1.`ATTACHMENTERRORS`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DRAFT`, t1.`EXCHANGERATE`, t1.`GLOBALOBJECTID`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LOCATION`, t1.`MAPIPRIVATE`, t1.`MODIFIEDFIELDSMASK`, t1.`ONHOLDTIME`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`ORIGINALSTARTDATE`, t1.`OUTLOOKOWNERAPPTID`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`SAFEDESCRIPTION`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UNSAFE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `APPOINTMENT` t1 ) t1 where activityid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -57,12 +57,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ALLDAYEVENT`, t1.`ATTACHMENTCOUNT`, t1.`ATTACHMENTERRORS`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DRAFT`, t1.`EXCHANGERATE`, t1.`GLOBALOBJECTID`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LOCATION`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`ORIGINALSTARTDATE`, t1.`OUTLOOKOWNERAPPTID`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UNSAFE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `APPOINTMENT` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ALLDAYEVENT`, t1.`ATTACHMENTCOUNT`, t1.`ATTACHMENTERRORS`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DRAFT`, t1.`EXCHANGERATE`, t1.`GLOBALOBJECTID`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LOCATION`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`ORIGINALSTARTDATE`, t1.`OUTLOOKOWNERAPPTID`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UNSAFE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `APPOINTMENT` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ALLDAYEVENT`, t1.`ATTACHMENTCOUNT`, t1.`ATTACHMENTERRORS`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DRAFT`, t1.`EXCHANGERATE`, t1.`GLOBALOBJECTID`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LOCATION`, t1.`MAPIPRIVATE`, t1.`MODIFIEDFIELDSMASK`, t1.`ONHOLDTIME`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`ORIGINALSTARTDATE`, t1.`OUTLOOKOWNERAPPTID`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`SAFEDESCRIPTION`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UNSAFE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `APPOINTMENT` t1
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ALLDAYEVENT`, t1.`ATTACHMENTCOUNT`, t1.`ATTACHMENTERRORS`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DRAFT`, t1.`EXCHANGERATE`, t1.`GLOBALOBJECTID`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LOCATION`, t1.`MAPIPRIVATE`, t1.`MODIFIEDFIELDSMASK`, t1.`ONHOLDTIME`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`ORIGINALSTARTDATE`, t1.`OUTLOOKOWNERAPPTID`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`SAFEDESCRIPTION`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UNSAFE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `APPOINTMENT` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="CategoryResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CATEGORYID`, t1.`CATEGORYNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`PARENTCATEGORYID`, t1.`SEQUENCENUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CATEGORY` t1 ) t1 where categoryid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CATEGORYID`, t1.`CATEGORYNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`PARENTCATEGORYID`, t1.`SEQUENCENUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CATEGORY` t1 ) t1 where categoryid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -47,12 +47,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CATEGORYID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`PARENTCATEGORYID`, t1.`SEQUENCENUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CATEGORY` t1
<![CDATA[ SELECT t1.`CATEGORYID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`PARENTCATEGORYID`, t1.`SEQUENCENUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CATEGORY` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CATEGORYID`, t1.`CATEGORYNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`PARENTCATEGORYID`, t1.`SEQUENCENUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CATEGORY` t1
<![CDATA[ SELECT t1.`CATEGORYID`, t1.`CATEGORYNUMBER`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`PARENTCATEGORYID`, t1.`SEQUENCENUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `CATEGORY` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="CustomerAddressResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ADDRESSNUMBER`, t1.`ADDRESSTYPECODE`, t1.`CITY`, t1.`COMPOSITE`, t1.`COUNTRY`, t1.`COUNTY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERADDRESSID`, t1.`CUSTOMERADDRESSNAME`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FREIGHTTERMSCODE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LATITUDE`, t1.`LINE1`, t1.`LINE2`, t1.`LINE3`, t1.`LONGITUDE`, t1.`OBJECTTYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`PARENTID`, t1.`PARENTIDTYPECODE`, t1.`POSTALCODE`, t1.`POSTOFFICEBOX`, t1.`PRIMARYCONTACTNAME`, t1.`SHIPPINGMETHODCODE`, t1.`STATEORPROVINCE`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UPSZONE`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`UTCOFFSET`, t1.`VERSIONNUMBER` FROM `CUSTOMERADDRESS` t1 ) t1 where customeraddressid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ADDRESSNUMBER`, t1.`ADDRESSTYPECODE`, t1.`CITY`, t1.`COMPOSITE`, t1.`COUNTRY`, t1.`COUNTY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERADDRESSID`, t1.`CUSTOMERADDRESSNAME`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FREIGHTTERMSCODE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LATITUDE`, t1.`LINE1`, t1.`LINE2`, t1.`LINE3`, t1.`LONGITUDE`, t1.`OBJECTTYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`PARENTID`, t1.`PARENTTYPECODE`, t1.`POSTALCODE`, t1.`POSTOFFICEBOX`, t1.`PRIMARYCONTACTNAME`, t1.`SHIPPINGMETHODCODE`, t1.`STATEORPROVINCE`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UPSZONE`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`UTCOFFSET`, t1.`VERSIONNUMBER` FROM `CUSTOMERADDRESS` t1 ) t1 where customeraddressid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -37,12 +37,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ADDRESSNUMBER`, t1.`ADDRESSTYPECODE`, t1.`CITY`, t1.`COMPOSITE`, t1.`COUNTRY`, t1.`COUNTY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERADDRESSID`, t1.`CUSTOMERADDRESSNAME`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FREIGHTTERMSCODE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LATITUDE`, t1.`LINE1`, t1.`LINE2`, t1.`LINE3`, t1.`LONGITUDE`, t1.`OBJECTTYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`PARENTID`, t1.`PARENTIDTYPECODE`, t1.`POSTALCODE`, t1.`POSTOFFICEBOX`, t1.`PRIMARYCONTACTNAME`, t1.`SHIPPINGMETHODCODE`, t1.`STATEORPROVINCE`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UPSZONE`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`UTCOFFSET`, t1.`VERSIONNUMBER` FROM `CUSTOMERADDRESS` t1
<![CDATA[ SELECT t1.`ADDRESSNUMBER`, t1.`ADDRESSTYPECODE`, t1.`CITY`, t1.`COMPOSITE`, t1.`COUNTRY`, t1.`COUNTY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERADDRESSID`, t1.`CUSTOMERADDRESSNAME`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FREIGHTTERMSCODE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LATITUDE`, t1.`LINE1`, t1.`LINE2`, t1.`LINE3`, t1.`LONGITUDE`, t1.`OBJECTTYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`PARENTID`, t1.`PARENTTYPECODE`, t1.`POSTALCODE`, t1.`POSTOFFICEBOX`, t1.`PRIMARYCONTACTNAME`, t1.`SHIPPINGMETHODCODE`, t1.`STATEORPROVINCE`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UPSZONE`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`UTCOFFSET`, t1.`VERSIONNUMBER` FROM `CUSTOMERADDRESS` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ADDRESSNUMBER`, t1.`ADDRESSTYPECODE`, t1.`CITY`, t1.`COMPOSITE`, t1.`COUNTRY`, t1.`COUNTY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERADDRESSID`, t1.`CUSTOMERADDRESSNAME`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FREIGHTTERMSCODE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LATITUDE`, t1.`LINE1`, t1.`LINE2`, t1.`LINE3`, t1.`LONGITUDE`, t1.`OBJECTTYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`PARENTID`, t1.`PARENTIDTYPECODE`, t1.`POSTALCODE`, t1.`POSTOFFICEBOX`, t1.`PRIMARYCONTACTNAME`, t1.`SHIPPINGMETHODCODE`, t1.`STATEORPROVINCE`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UPSZONE`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`UTCOFFSET`, t1.`VERSIONNUMBER` FROM `CUSTOMERADDRESS` t1
<![CDATA[ SELECT t1.`ADDRESSNUMBER`, t1.`ADDRESSTYPECODE`, t1.`CITY`, t1.`COMPOSITE`, t1.`COUNTRY`, t1.`COUNTY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERADDRESSID`, t1.`CUSTOMERADDRESSNAME`, t1.`EXCHANGERATE`, t1.`FAX`, t1.`FREIGHTTERMSCODE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LATITUDE`, t1.`LINE1`, t1.`LINE2`, t1.`LINE3`, t1.`LONGITUDE`, t1.`OBJECTTYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`PARENTID`, t1.`PARENTTYPECODE`, t1.`POSTALCODE`, t1.`POSTOFFICEBOX`, t1.`PRIMARYCONTACTNAME`, t1.`SHIPPINGMETHODCODE`, t1.`STATEORPROVINCE`, t1.`TELEPHONE1`, t1.`TELEPHONE2`, t1.`TELEPHONE3`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UPSZONE`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`UTCOFFSET`, t1.`VERSIONNUMBER` FROM `CUSTOMERADDRESS` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="FaxResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`BILLINGCODE`, t1.`CATEGORY`, t1.`COVERPAGENAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FAXNUMBER`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`NUMBEROFPAGES`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`TSID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `FAX` t1 ) t1 where activityid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`BILLINGCODE`, t1.`CATEGORY`, t1.`COVERPAGENAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FAXNUMBER`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`NUMBEROFPAGES`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`TSID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `FAX` t1 ) t1 where activityid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -57,12 +57,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`BILLINGCODE`, t1.`CATEGORY`, t1.`COVERPAGENAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FAXNUMBER`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`NUMBEROFPAGES`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`TSID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `FAX` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`BILLINGCODE`, t1.`CATEGORY`, t1.`COVERPAGENAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FAXNUMBER`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`NUMBEROFPAGES`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`TSID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `FAX` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`BILLINGCODE`, t1.`CATEGORY`, t1.`COVERPAGENAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FAXNUMBER`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`NUMBEROFPAGES`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`TSID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `FAX` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`BILLINGCODE`, t1.`CATEGORY`, t1.`COVERPAGENAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FAXNUMBER`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`NUMBEROFPAGES`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`TSID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `FAX` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="FeedbackResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CLOSEDBYNAME`, t1.`CLOSEDON`, t1.`COMMENTS`, t1.`CREATEDATE`, t1.`CREATEDBYCONTACT`, t1.`CREATEDBYCONTACTNAME`, t1.`CREATEDONBEHALFBYCONTACT`, t1.`CREATEDONBEHALFBYCONTACTNAME`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`FEEDBACKID`, t1.`IMPORTSEQUENCENUMBER`, t1.`MAXRATING`, t1.`MINRATING`, t1.`NORMALIZEDRATING`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`RATING`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SOURCE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `FEEDBACK` t1 ) t1 where feedbackid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CLOSEDBYNAME`, t1.`CLOSEDON`, t1.`COMMENTS`, t1.`CREATEDATE`, t1.`CREATEDBYCONTACT`, t1.`CREATEDBYCONTACTNAME`, t1.`CREATEDONBEHALFBYCONTACT`, t1.`CREATEDONBEHALFBYCONTACTNAME`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`FEEDBACKID`, t1.`IMPORTSEQUENCENUMBER`, t1.`MAXRATING`, t1.`MINRATING`, t1.`NORMALIZEDRATING`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`RATING`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SOURCE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `FEEDBACK` t1 ) t1 where feedbackid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -57,12 +57,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CLOSEDBYNAME`, t1.`CLOSEDON`, t1.`COMMENTS`, t1.`CREATEDATE`, t1.`CREATEDBYCONTACT`, t1.`CREATEDBYCONTACTNAME`, t1.`CREATEDONBEHALFBYCONTACT`, t1.`CREATEDONBEHALFBYCONTACTNAME`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`FEEDBACKID`, t1.`IMPORTSEQUENCENUMBER`, t1.`MAXRATING`, t1.`MINRATING`, t1.`NORMALIZEDRATING`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`RATING`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SOURCE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `FEEDBACK` t1
<![CDATA[ SELECT t1.`CLOSEDBYNAME`, t1.`CLOSEDON`, t1.`COMMENTS`, t1.`CREATEDATE`, t1.`CREATEDBYCONTACT`, t1.`CREATEDBYCONTACTNAME`, t1.`CREATEDONBEHALFBYCONTACT`, t1.`CREATEDONBEHALFBYCONTACTNAME`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`FEEDBACKID`, t1.`IMPORTSEQUENCENUMBER`, t1.`MAXRATING`, t1.`MINRATING`, t1.`NORMALIZEDRATING`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`RATING`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SOURCE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `FEEDBACK` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CLOSEDBYNAME`, t1.`CLOSEDON`, t1.`COMMENTS`, t1.`CREATEDATE`, t1.`CREATEDBYCONTACT`, t1.`CREATEDBYCONTACTNAME`, t1.`CREATEDONBEHALFBYCONTACT`, t1.`CREATEDONBEHALFBYCONTACTNAME`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`FEEDBACKID`, t1.`IMPORTSEQUENCENUMBER`, t1.`MAXRATING`, t1.`MINRATING`, t1.`NORMALIZEDRATING`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`RATING`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SOURCE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `FEEDBACK` t1
<![CDATA[ SELECT t1.`CLOSEDBYNAME`, t1.`CLOSEDON`, t1.`COMMENTS`, t1.`CREATEDATE`, t1.`CREATEDBYCONTACT`, t1.`CREATEDBYCONTACTNAME`, t1.`CREATEDONBEHALFBYCONTACT`, t1.`CREATEDONBEHALFBYCONTACTNAME`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`FEEDBACKID`, t1.`IMPORTSEQUENCENUMBER`, t1.`MAXRATING`, t1.`MINRATING`, t1.`NORMALIZEDRATING`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`RATING`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SOURCE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `FEEDBACK` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="KnowledgeArticleResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ARTICLEPUBLICNUMBER`, t1.`CONTENT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`EXPIRATIONSTATEID`, t1.`EXPIRATIONSTATUSID`, t1.`EXPIREDREVIEWOPTIONS`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTERNAL`, t1.`ISPRIMARY`, t1.`KEYWORDS`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEWS`, t1.`KNOWLEDGEARTICLEVIEWS_DATE`, t1.`KNOWLEDGEARTICLEVIEWS_STATE`, t1.`LANGUAGELOCALEID`, t1.`LANGUAGELOCALEIDLOCALEID`, t1.`LANGUAGELOCALENAME`, t1.`LATESTVERSION`, t1.`MAJORVERSIONNUMBER`, t1.`MINORVERSIONNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTARTICLECONTENTID`, t1.`PARENTARTICLECONTENTNAME`, t1.`PREVIOUSARTICLECONTENTID`, t1.`PREVIOUSARTICLECONTENTNAME`, t1.`PRIMARYAUTHORID`, t1.`PRIMARYAUTHORIDNAME`, t1.`PROCESSID`, t1.`PUBLISHON`, t1.`PUBLISHSTATUSID`, t1.`RATING`, t1.`RATING_COUNT`, t1.`RATING_DATE`, t1.`RATING_STATE`, t1.`RATING_SUM`, t1.`READYFORREVIEW`, t1.`REVIEW`, t1.`ROOTARTICLE`, t1.`ROOTARTICLEID`, t1.`ROOTARTICLENAME`, t1.`SCHEDULEDSTATUSID`, t1.`SETCATEGORYASSOCIATIONS`, t1.`SETPRODUCTASSOCIATIONS`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECTID`, t1.`SUBJECTIDDSC`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATECONTENT`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `KNOWLEDGEARTICLE` t1 ) t1 where knowledgearticleid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ARTICLEPUBLICNUMBER`, t1.`CONTENT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CURRENCYNAME`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`EXPIRATIONSTATEID`, t1.`EXPIRATIONSTATUSID`, t1.`EXPIREDREVIEWOPTIONS`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTERNAL`, t1.`ISPRIMARY`, t1.`KEYWORDS`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEWS`, t1.`KNOWLEDGEARTICLEVIEWS_DATE`, t1.`KNOWLEDGEARTICLEVIEWS_STATE`, t1.`LANGUAGELOCALEID`, t1.`LANGUAGELOCALEIDLOCALEID`, t1.`LANGUAGELOCALENAME`, t1.`LATESTVERSION`, t1.`MAJORVERSIONNUMBER`, t1.`MINORVERSIONNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTARTICLECONTENTID`, t1.`PARENTARTICLECONTENTNAME`, t1.`PREVIOUSARTICLECONTENTID`, t1.`PREVIOUSARTICLECONTENTNAME`, t1.`PRIMARYAUTHORID`, t1.`PRIMARYAUTHORIDNAME`, t1.`PROCESSID`, t1.`PUBLISHON`, t1.`PUBLISHSTATUSID`, t1.`RATING`, t1.`RATING_COUNT`, t1.`RATING_DATE`, t1.`RATING_STATE`, t1.`RATING_SUM`, t1.`READYFORREVIEW`, t1.`REVIEW`, t1.`ROOTARTICLE`, t1.`ROOTARTICLEID`, t1.`ROOTARTICLENAME`, t1.`SCHEDULEDSTATUSID`, t1.`SETCATEGORYASSOCIATIONS`, t1.`SETPRODUCTASSOCIATIONS`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECTID`, t1.`SUBJECTIDDSC`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATECONTENT`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `KNOWLEDGEARTICLE` t1 ) t1 where knowledgearticleid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -94,12 +94,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`EXPIRATIONSTATEID`, t1.`EXPIRATIONSTATUSID`, t1.`EXPIREDREVIEWOPTIONS`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTERNAL`, t1.`ISPRIMARY`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEWS`, t1.`KNOWLEDGEARTICLEVIEWS_DATE`, t1.`KNOWLEDGEARTICLEVIEWS_STATE`, t1.`LANGUAGELOCALEID`, t1.`LANGUAGELOCALEIDLOCALEID`, t1.`LANGUAGELOCALENAME`, t1.`LATESTVERSION`, t1.`MAJORVERSIONNUMBER`, t1.`MINORVERSIONNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTARTICLECONTENTID`, t1.`PARENTARTICLECONTENTNAME`, t1.`PREVIOUSARTICLECONTENTID`, t1.`PREVIOUSARTICLECONTENTNAME`, t1.`PRIMARYAUTHORID`, t1.`PRIMARYAUTHORIDNAME`, t1.`PROCESSID`, t1.`PUBLISHON`, t1.`PUBLISHSTATUSID`, t1.`RATING`, t1.`RATING_COUNT`, t1.`RATING_DATE`, t1.`RATING_STATE`, t1.`RATING_SUM`, t1.`READYFORREVIEW`, t1.`REVIEW`, t1.`ROOTARTICLE`, t1.`ROOTARTICLEID`, t1.`ROOTARTICLENAME`, t1.`SCHEDULEDSTATUSID`, t1.`SETCATEGORYASSOCIATIONS`, t1.`SETPRODUCTASSOCIATIONS`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECTID`, t1.`SUBJECTIDDSC`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATECONTENT`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `KNOWLEDGEARTICLE` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CURRENCYNAME`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`EXPIRATIONSTATEID`, t1.`EXPIRATIONSTATUSID`, t1.`EXPIREDREVIEWOPTIONS`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTERNAL`, t1.`ISPRIMARY`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEWS`, t1.`KNOWLEDGEARTICLEVIEWS_DATE`, t1.`KNOWLEDGEARTICLEVIEWS_STATE`, t1.`LANGUAGELOCALEID`, t1.`LANGUAGELOCALEIDLOCALEID`, t1.`LANGUAGELOCALENAME`, t1.`LATESTVERSION`, t1.`MAJORVERSIONNUMBER`, t1.`MINORVERSIONNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTARTICLECONTENTID`, t1.`PARENTARTICLECONTENTNAME`, t1.`PREVIOUSARTICLECONTENTID`, t1.`PREVIOUSARTICLECONTENTNAME`, t1.`PRIMARYAUTHORID`, t1.`PRIMARYAUTHORIDNAME`, t1.`PROCESSID`, t1.`PUBLISHON`, t1.`PUBLISHSTATUSID`, t1.`RATING`, t1.`RATING_COUNT`, t1.`RATING_DATE`, t1.`RATING_STATE`, t1.`RATING_SUM`, t1.`READYFORREVIEW`, t1.`REVIEW`, t1.`ROOTARTICLE`, t1.`ROOTARTICLEID`, t1.`ROOTARTICLENAME`, t1.`SCHEDULEDSTATUSID`, t1.`SETCATEGORYASSOCIATIONS`, t1.`SETPRODUCTASSOCIATIONS`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECTID`, t1.`SUBJECTIDDSC`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATECONTENT`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `KNOWLEDGEARTICLE` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ARTICLEPUBLICNUMBER`, t1.`CONTENT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`EXPIRATIONSTATEID`, t1.`EXPIRATIONSTATUSID`, t1.`EXPIREDREVIEWOPTIONS`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTERNAL`, t1.`ISPRIMARY`, t1.`KEYWORDS`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEWS`, t1.`KNOWLEDGEARTICLEVIEWS_DATE`, t1.`KNOWLEDGEARTICLEVIEWS_STATE`, t1.`LANGUAGELOCALEID`, t1.`LANGUAGELOCALEIDLOCALEID`, t1.`LANGUAGELOCALENAME`, t1.`LATESTVERSION`, t1.`MAJORVERSIONNUMBER`, t1.`MINORVERSIONNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTARTICLECONTENTID`, t1.`PARENTARTICLECONTENTNAME`, t1.`PREVIOUSARTICLECONTENTID`, t1.`PREVIOUSARTICLECONTENTNAME`, t1.`PRIMARYAUTHORID`, t1.`PRIMARYAUTHORIDNAME`, t1.`PROCESSID`, t1.`PUBLISHON`, t1.`PUBLISHSTATUSID`, t1.`RATING`, t1.`RATING_COUNT`, t1.`RATING_DATE`, t1.`RATING_STATE`, t1.`RATING_SUM`, t1.`READYFORREVIEW`, t1.`REVIEW`, t1.`ROOTARTICLE`, t1.`ROOTARTICLEID`, t1.`ROOTARTICLENAME`, t1.`SCHEDULEDSTATUSID`, t1.`SETCATEGORYASSOCIATIONS`, t1.`SETPRODUCTASSOCIATIONS`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECTID`, t1.`SUBJECTIDDSC`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATECONTENT`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `KNOWLEDGEARTICLE` t1
<![CDATA[ SELECT t1.`ARTICLEPUBLICNUMBER`, t1.`CONTENT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CURRENCYNAME`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`EXPIRATIONSTATEID`, t1.`EXPIRATIONSTATUSID`, t1.`EXPIREDREVIEWOPTIONS`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTERNAL`, t1.`ISPRIMARY`, t1.`KEYWORDS`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEWS`, t1.`KNOWLEDGEARTICLEVIEWS_DATE`, t1.`KNOWLEDGEARTICLEVIEWS_STATE`, t1.`LANGUAGELOCALEID`, t1.`LANGUAGELOCALEIDLOCALEID`, t1.`LANGUAGELOCALENAME`, t1.`LATESTVERSION`, t1.`MAJORVERSIONNUMBER`, t1.`MINORVERSIONNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTARTICLECONTENTID`, t1.`PARENTARTICLECONTENTNAME`, t1.`PREVIOUSARTICLECONTENTID`, t1.`PREVIOUSARTICLECONTENTNAME`, t1.`PRIMARYAUTHORID`, t1.`PRIMARYAUTHORIDNAME`, t1.`PROCESSID`, t1.`PUBLISHON`, t1.`PUBLISHSTATUSID`, t1.`RATING`, t1.`RATING_COUNT`, t1.`RATING_DATE`, t1.`RATING_STATE`, t1.`RATING_SUM`, t1.`READYFORREVIEW`, t1.`REVIEW`, t1.`ROOTARTICLE`, t1.`ROOTARTICLEID`, t1.`ROOTARTICLENAME`, t1.`SCHEDULEDSTATUSID`, t1.`SETCATEGORYASSOCIATIONS`, t1.`SETPRODUCTASSOCIATIONS`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECTID`, t1.`SUBJECTIDDSC`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TITLE`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATECONTENT`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `KNOWLEDGEARTICLE` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="KnowledgeArticleViewsResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEW`, t1.`KNOWLEDGEARTICLEVIEWSID`, t1.`LOCATION`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VIEWDATE` FROM `KNOWLEDGEARTICLEVIEWS` t1 ) t1 where knowledgearticleviewsid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEW`, t1.`KNOWLEDGEARTICLEVIEWSID`, t1.`LOCATION`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VIEWDATE` FROM `KNOWLEDGEARTICLEVIEWS` t1 ) t1 where knowledgearticleviewsid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -37,12 +37,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEW`, t1.`KNOWLEDGEARTICLEVIEWSID`, t1.`LOCATION`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VIEWDATE` FROM `KNOWLEDGEARTICLEVIEWS` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEW`, t1.`KNOWLEDGEARTICLEVIEWSID`, t1.`LOCATION`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VIEWDATE` FROM `KNOWLEDGEARTICLEVIEWS` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEW`, t1.`KNOWLEDGEARTICLEVIEWSID`, t1.`LOCATION`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VIEWDATE` FROM `KNOWLEDGEARTICLEVIEWS` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`KNOWLEDGEARTICLEID`, t1.`KNOWLEDGEARTICLEVIEW`, t1.`KNOWLEDGEARTICLEVIEWSID`, t1.`LOCATION`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VIEWDATE` FROM `KNOWLEDGEARTICLEVIEWS` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="LetterResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ADDRESS`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `LETTER` t1 ) t1 where activityid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ADDRESS`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `LETTER` t1 ) t1 where activityid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -57,12 +57,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ADDRESS`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `LETTER` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ADDRESS`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `LETTER` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ADDRESS`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `LETTER` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`ADDRESS`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `LETTER` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="PersonalDocumentTemplateResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ASSOCIATEDENTITYTYPECODE`, t1.`CLIENTDATA`, t1.`CONTENT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DOCUMENTTYPE`, t1.`LANGUAGECODE`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`PERSONALDOCUMENTTEMPLATEID`, t1.`PERSONALDOCUMENTTEMPLATENAME`, t1.`STATUS`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `PERSONALDOCUMENTTEMPLATE` t1 ) t1 where personaldocumenttemplateid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ASSOCIATEDENTITYTYPECODE`, t1.`CLIENTDATA`, t1.`CONTENT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DOCUMENTTYPE`, t1.`LANGUAGECODE`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`PERSONALDOCUMENTTEMPLATEID`, t1.`PERSONALDOCUMENTTEMPLATENAME`, t1.`STATUS`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `PERSONALDOCUMENTTEMPLATE` t1 ) t1 where personaldocumenttemplateid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ASSOCIATEDENTITYTYPECODE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DOCUMENTTYPE`, t1.`LANGUAGECODE`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`PERSONALDOCUMENTTEMPLATEID`, t1.`PERSONALDOCUMENTTEMPLATENAME`, t1.`STATUS`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `PERSONALDOCUMENTTEMPLATE` t1
<![CDATA[ SELECT t1.`ASSOCIATEDENTITYTYPECODE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DOCUMENTTYPE`, t1.`LANGUAGECODE`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`PERSONALDOCUMENTTEMPLATEID`, t1.`PERSONALDOCUMENTTEMPLATENAME`, t1.`STATUS`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `PERSONALDOCUMENTTEMPLATE` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ASSOCIATEDENTITYTYPECODE`, t1.`CLIENTDATA`, t1.`CONTENT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DOCUMENTTYPE`, t1.`LANGUAGECODE`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`PERSONALDOCUMENTTEMPLATEID`, t1.`PERSONALDOCUMENTTEMPLATENAME`, t1.`STATUS`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `PERSONALDOCUMENTTEMPLATE` t1
<![CDATA[ SELECT t1.`ASSOCIATEDENTITYTYPECODE`, t1.`CLIENTDATA`, t1.`CONTENT`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DOCUMENTTYPE`, t1.`LANGUAGECODE`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`PERSONALDOCUMENTTEMPLATEID`, t1.`PERSONALDOCUMENTTEMPLATENAME`, t1.`STATUS`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `PERSONALDOCUMENTTEMPLATE` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="PhoneCallResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PHONENUMBER`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `PHONECALL` t1 ) t1 where activityid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PHONENUMBER`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `PHONECALL` t1 ) t1 where activityid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -57,12 +57,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PHONENUMBER`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `PHONECALL` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PHONENUMBER`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `PHONECALL` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PHONENUMBER`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `PHONECALL` t1
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DIRECTIONCODE`, t1.`EXCHANGERATE`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PHONENUMBER`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `PHONECALL` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="PostResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`POSTID`, t1.`POSTTOYAMMER`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTOWNERID`, t1.`REGARDINGOBJECTOWNERIDTYPE`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SOURCE`, t1.`TEXT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`YAMMERPOSTSTATE`, t1.`YAMMERRETRYCOUNT` FROM `POST` t1 ) t1 where postid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`POSTID`, t1.`POSTTOYAMMER`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTOWNERID`, t1.`REGARDINGOBJECTOWNERTYPE`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SOURCE`, t1.`TEXT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`YAMMERPOSTSTATE`, t1.`YAMMERRETRYCOUNT` FROM `POST` t1 ) t1 where postid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`POSTID`, t1.`POSTTOYAMMER`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTOWNERID`, t1.`REGARDINGOBJECTOWNERIDTYPE`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SOURCE`, t1.`TEXT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`YAMMERPOSTSTATE`, t1.`YAMMERRETRYCOUNT` FROM `POST` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`POSTID`, t1.`POSTTOYAMMER`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTOWNERID`, t1.`REGARDINGOBJECTOWNERTYPE`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SOURCE`, t1.`TEXT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`YAMMERPOSTSTATE`, t1.`YAMMERRETRYCOUNT` FROM `POST` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`POSTID`, t1.`POSTTOYAMMER`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTOWNERID`, t1.`REGARDINGOBJECTOWNERIDTYPE`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SOURCE`, t1.`TEXT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`YAMMERPOSTSTATE`, t1.`YAMMERRETRYCOUNT` FROM `POST` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`POSTID`, t1.`POSTTOYAMMER`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTOWNERID`, t1.`REGARDINGOBJECTOWNERTYPE`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SOURCE`, t1.`TEXT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`YAMMERPOSTSTATE`, t1.`YAMMERRETRYCOUNT` FROM `POST` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="SlaResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ALLOWPAUSERESUME`, t1.`APPLICABLEFROM`, t1.`APPLICABLEFROMPICKLIST`, t1.`BUSINESSHOURSID`, t1.`CHANGEDATTRIBUTELIST`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEFAULT`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`MANAGED`, t1.`OBJECTTYPECODE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGTEAM`, t1.`OWNINGUSER`, t1.`PRIMARYENTITYOTC`, t1.`SLAID`, t1.`SLAIDUNIQUE`, t1.`SLANAME`, t1.`SLATYPE`, t1.`SOLUTIONID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WORKFLOWID`, t1.`WORKFLOWIDNAME` FROM `SLA` t1 ) t1 where slaid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ALLOWPAUSERESUME`, t1.`APPLICABLEFROM`, t1.`APPLICABLEFROMPICKLIST`, t1.`BUSINESSHOURSID`, t1.`CHANGEDATTRIBUTELIST`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEFAULT`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`MANAGED`, t1.`OBJECTTYPECODE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGTEAM`, t1.`OWNINGUSER`, t1.`PRIMARYENTITYOTC`, t1.`SLAID`, t1.`SLAIDUNIQUE`, t1.`SLANAME`, t1.`SLATYPE`, t1.`SOLUTIONID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WORKFLOWID`, t1.`WORKFLOWIDNAME` FROM `SLA` t1 ) t1 where slaid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -58,12 +58,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ALLOWPAUSERESUME`, t1.`APPLICABLEFROM`, t1.`APPLICABLEFROMPICKLIST`, t1.`BUSINESSHOURSID`, t1.`CHANGEDATTRIBUTELIST`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEFAULT`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`MANAGED`, t1.`OBJECTTYPECODE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGTEAM`, t1.`OWNINGUSER`, t1.`PRIMARYENTITYOTC`, t1.`SLAID`, t1.`SLAIDUNIQUE`, t1.`SLANAME`, t1.`SLATYPE`, t1.`SOLUTIONID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WORKFLOWID`, t1.`WORKFLOWIDNAME` FROM `SLA` t1
<![CDATA[ SELECT t1.`ALLOWPAUSERESUME`, t1.`APPLICABLEFROM`, t1.`APPLICABLEFROMPICKLIST`, t1.`BUSINESSHOURSID`, t1.`CHANGEDATTRIBUTELIST`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEFAULT`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`MANAGED`, t1.`OBJECTTYPECODE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGTEAM`, t1.`OWNINGUSER`, t1.`PRIMARYENTITYOTC`, t1.`SLAID`, t1.`SLAIDUNIQUE`, t1.`SLANAME`, t1.`SLATYPE`, t1.`SOLUTIONID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WORKFLOWID`, t1.`WORKFLOWIDNAME` FROM `SLA` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ALLOWPAUSERESUME`, t1.`APPLICABLEFROM`, t1.`APPLICABLEFROMPICKLIST`, t1.`BUSINESSHOURSID`, t1.`CHANGEDATTRIBUTELIST`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEFAULT`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`MANAGED`, t1.`OBJECTTYPECODE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGTEAM`, t1.`OWNINGUSER`, t1.`PRIMARYENTITYOTC`, t1.`SLAID`, t1.`SLAIDUNIQUE`, t1.`SLANAME`, t1.`SLATYPE`, t1.`SOLUTIONID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WORKFLOWID`, t1.`WORKFLOWIDNAME` FROM `SLA` t1
<![CDATA[ SELECT t1.`ALLOWPAUSERESUME`, t1.`APPLICABLEFROM`, t1.`APPLICABLEFROMPICKLIST`, t1.`BUSINESSHOURSID`, t1.`CHANGEDATTRIBUTELIST`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEFAULT`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`MANAGED`, t1.`OBJECTTYPECODE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGTEAM`, t1.`OWNINGUSER`, t1.`PRIMARYENTITYOTC`, t1.`SLAID`, t1.`SLAIDUNIQUE`, t1.`SLANAME`, t1.`SLATYPE`, t1.`SOLUTIONID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WORKFLOWID`, t1.`WORKFLOWIDNAME` FROM `SLA` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="SlaItemResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`APPLICABLEWHENXML`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`FAILUREAFTER`, t1.`MANAGED`, t1.`NAME`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGUSER`, t1.`RELATEDFIELD`, t1.`SEQUENCENUMBER`, t1.`SLAID`, t1.`SLAITEMID`, t1.`SLAITEMIDUNIQUE`, t1.`SOLUTIONID`, t1.`SUCCESSCONDITIONSXML`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WARNAFTER`, t1.`WORKFLOWID`, t1.`WORKFLOWIDNAME` FROM `SLAITEM` t1 ) t1 where slaitemid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`APPLICABLEWHENXML`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`FAILUREAFTER`, t1.`MANAGED`, t1.`NAME`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGUSER`, t1.`RELATEDFIELD`, t1.`SEQUENCENUMBER`, t1.`SLAID`, t1.`SLAITEMID`, t1.`SLAITEMIDUNIQUE`, t1.`SOLUTIONID`, t1.`SUCCESSCONDITIONSXML`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WARNAFTER`, t1.`WORKFLOWID`, t1.`WORKFLOWIDNAME` FROM `SLAITEM` t1 ) t1 where slaitemid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -37,12 +37,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`FAILUREAFTER`, t1.`MANAGED`, t1.`NAME`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGUSER`, t1.`RELATEDFIELD`, t1.`SEQUENCENUMBER`, t1.`SLAID`, t1.`SLAITEMID`, t1.`SLAITEMIDUNIQUE`, t1.`SOLUTIONID`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WARNAFTER`, t1.`WORKFLOWID`, t1.`WORKFLOWIDNAME` FROM `SLAITEM` t1
<![CDATA[ SELECT t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`FAILUREAFTER`, t1.`MANAGED`, t1.`NAME`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGUSER`, t1.`RELATEDFIELD`, t1.`SEQUENCENUMBER`, t1.`SLAID`, t1.`SLAITEMID`, t1.`SLAITEMIDUNIQUE`, t1.`SOLUTIONID`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WARNAFTER`, t1.`WORKFLOWID`, t1.`WORKFLOWIDNAME` FROM `SLAITEM` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`APPLICABLEWHENXML`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`FAILUREAFTER`, t1.`MANAGED`, t1.`NAME`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGUSER`, t1.`RELATEDFIELD`, t1.`SEQUENCENUMBER`, t1.`SLAID`, t1.`SLAITEMID`, t1.`SLAITEMIDUNIQUE`, t1.`SOLUTIONID`, t1.`SUCCESSCONDITIONSXML`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WARNAFTER`, t1.`WORKFLOWID`, t1.`WORKFLOWIDNAME` FROM `SLAITEM` t1
<![CDATA[ SELECT t1.`APPLICABLEWHENXML`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`FAILUREAFTER`, t1.`MANAGED`, t1.`NAME`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGUSER`, t1.`RELATEDFIELD`, t1.`SEQUENCENUMBER`, t1.`SLAID`, t1.`SLAITEMID`, t1.`SLAITEMIDUNIQUE`, t1.`SOLUTIONID`, t1.`SUCCESSCONDITIONSXML`, t1.`SUPPORTINGSOLUTIONID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WARNAFTER`, t1.`WORKFLOWID`, t1.`WORKFLOWIDNAME` FROM `SLAITEM` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="SlaKpiInstanceResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`COMPUTEDFAILURETIME`, t1.`COMPUTEDWARNINGTIME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`FAILURETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGTEAM`, t1.`OWNINGUSER`, t1.`REGARDING`, t1.`REGARDINGNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SLAKPIINSTANCEID`, t1.`SLAKPIINSTANCENAME`, t1.`STATUS`, t1.`SUCCEEDEDON`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WARNINGTIME`, t1.`WARNINGTIMEREACHED` FROM `SLAKPIINSTANCE` t1 ) t1 where slakpiinstanceid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`COMPUTEDFAILURETIME`, t1.`COMPUTEDWARNINGTIME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`FAILURETIME`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGTEAM`, t1.`OWNINGUSER`, t1.`REGARDING`, t1.`REGARDINGNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SLAKPIINSTANCEID`, t1.`SLAKPIINSTANCENAME`, t1.`STATUS`, t1.`SUCCEEDEDON`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WARNINGTIME`, t1.`WARNINGTIMEREACHED` FROM `SLAKPIINSTANCE` t1 ) t1 where slakpiinstanceid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -57,12 +57,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`COMPUTEDFAILURETIME`, t1.`COMPUTEDWARNINGTIME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`FAILURETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGTEAM`, t1.`OWNINGUSER`, t1.`REGARDING`, t1.`REGARDINGNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SLAKPIINSTANCEID`, t1.`SLAKPIINSTANCENAME`, t1.`STATUS`, t1.`SUCCEEDEDON`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WARNINGTIME`, t1.`WARNINGTIMEREACHED` FROM `SLAKPIINSTANCE` t1
<![CDATA[ SELECT t1.`COMPUTEDFAILURETIME`, t1.`COMPUTEDWARNINGTIME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`FAILURETIME`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGTEAM`, t1.`OWNINGUSER`, t1.`REGARDING`, t1.`REGARDINGNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SLAKPIINSTANCEID`, t1.`SLAKPIINSTANCENAME`, t1.`STATUS`, t1.`SUCCEEDEDON`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WARNINGTIME`, t1.`WARNINGTIMEREACHED` FROM `SLAKPIINSTANCE` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`COMPUTEDFAILURETIME`, t1.`COMPUTEDWARNINGTIME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`FAILURETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGTEAM`, t1.`OWNINGUSER`, t1.`REGARDING`, t1.`REGARDINGNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SLAKPIINSTANCEID`, t1.`SLAKPIINSTANCENAME`, t1.`STATUS`, t1.`SUCCEEDEDON`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WARNINGTIME`, t1.`WARNINGTIMEREACHED` FROM `SLAKPIINSTANCE` t1
<![CDATA[ SELECT t1.`COMPUTEDFAILURETIME`, t1.`COMPUTEDWARNINGTIME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`FAILURETIME`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGTEAM`, t1.`OWNINGUSER`, t1.`REGARDING`, t1.`REGARDINGNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`SLAKPIINSTANCEID`, t1.`SLAKPIINSTANCENAME`, t1.`STATUS`, t1.`SUCCEEDEDON`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER`, t1.`WARNINGTIME`, t1.`WARNINGTIMEREACHED` FROM `SLAKPIINSTANCE` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="TaskResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CRMTASKASSIGNEDUNIQUEID`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PERCENTCOMPLETE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `TASK` t1 ) t1 where activityid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CRMTASKASSIGNEDUNIQUEID`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PERCENTCOMPLETE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `TASK` t1 ) t1 where activityid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -57,12 +57,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CRMTASKASSIGNEDUNIQUEID`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PERCENTCOMPLETE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `TASK` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CRMTASKASSIGNEDUNIQUEID`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PERCENTCOMPLETE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `TASK` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CRMTASKASSIGNEDUNIQUEID`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PERCENTCOMPLETE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `TASK` t1
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CRMTASKASSIGNEDUNIQUEID`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTONHOLDTIME`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PERCENTCOMPLETE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`SUBSCRIPTIONID`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `TASK` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="TemplateResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`BODY`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMIZABLE`, t1.`DESCRIPTION`, t1.`GENERATIONTYPECODE`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTRODUCEDVERSION`, t1.`LANGUAGECODE`, t1.`MANAGED`, t1.`MIMETYPE`, t1.`OPENCOUNT`, t1.`OPENRATE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PERSONAL`, t1.`PRESENTATIONXML`, t1.`RECOMMENDED`, t1.`REPLYCOUNT`, t1.`REPLYRATE`, t1.`SOLUTIONID`, t1.`SUBJECT`, t1.`SUBJECTPRESENTATIONXML`, t1.`SUPPORTINGSOLUTIONID`, t1.`TEMPLATEID`, t1.`TEMPLATEIDUNIQUE`, t1.`TEMPLATETYPECODE`, t1.`TITLE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`USEDCOUNT`, t1.`VERSIONNUMBER` FROM `TEMPLATE` t1 ) t1 where templateid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`BODY`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMIZABLE`, t1.`DESCRIPTION`, t1.`GENERATIONTYPECODE`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTRODUCEDVERSION`, t1.`LANGUAGECODE`, t1.`MANAGED`, t1.`MIMETYPE`, t1.`OPENCOUNT`, t1.`OPENRATE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PERSONAL`, t1.`PRESENTATIONXML`, t1.`RECOMMENDED`, t1.`REPLYCOUNT`, t1.`REPLYRATE`, t1.`SOLUTIONID`, t1.`SUBJECT`, t1.`SUBJECTPRESENTATIONXML`, t1.`SUPPORTINGSOLUTIONID`, t1.`TEMPLATEID`, t1.`TEMPLATEIDUNIQUE`, t1.`TEMPLATETYPECODE`, t1.`TITLE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`USEDCOUNT`, t1.`VERSIONNUMBER` FROM `TEMPLATE` t1 ) t1 where templateid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMIZABLE`, t1.`DESCRIPTION`, t1.`GENERATIONTYPECODE`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTRODUCEDVERSION`, t1.`LANGUAGECODE`, t1.`MANAGED`, t1.`MIMETYPE`, t1.`OPENCOUNT`, t1.`OPENRATE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PERSONAL`, t1.`RECOMMENDED`, t1.`REPLYCOUNT`, t1.`REPLYRATE`, t1.`SOLUTIONID`, t1.`SUBJECT`, t1.`SUPPORTINGSOLUTIONID`, t1.`TEMPLATEID`, t1.`TEMPLATEIDUNIQUE`, t1.`TEMPLATETYPECODE`, t1.`TITLE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`USEDCOUNT`, t1.`VERSIONNUMBER` FROM `TEMPLATE` t1
<![CDATA[ SELECT t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMIZABLE`, t1.`DESCRIPTION`, t1.`GENERATIONTYPECODE`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTRODUCEDVERSION`, t1.`LANGUAGECODE`, t1.`MANAGED`, t1.`MIMETYPE`, t1.`OPENCOUNT`, t1.`OPENRATE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PERSONAL`, t1.`RECOMMENDED`, t1.`REPLYCOUNT`, t1.`REPLYRATE`, t1.`SOLUTIONID`, t1.`SUBJECT`, t1.`SUPPORTINGSOLUTIONID`, t1.`TEMPLATEID`, t1.`TEMPLATEIDUNIQUE`, t1.`TEMPLATETYPECODE`, t1.`TITLE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`USEDCOUNT`, t1.`VERSIONNUMBER` FROM `TEMPLATE` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`BODY`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMIZABLE`, t1.`DESCRIPTION`, t1.`GENERATIONTYPECODE`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTRODUCEDVERSION`, t1.`LANGUAGECODE`, t1.`MANAGED`, t1.`MIMETYPE`, t1.`OPENCOUNT`, t1.`OPENRATE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PERSONAL`, t1.`PRESENTATIONXML`, t1.`RECOMMENDED`, t1.`REPLYCOUNT`, t1.`REPLYRATE`, t1.`SOLUTIONID`, t1.`SUBJECT`, t1.`SUBJECTPRESENTATIONXML`, t1.`SUPPORTINGSOLUTIONID`, t1.`TEMPLATEID`, t1.`TEMPLATEIDUNIQUE`, t1.`TEMPLATETYPECODE`, t1.`TITLE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`USEDCOUNT`, t1.`VERSIONNUMBER` FROM `TEMPLATE` t1
<![CDATA[ SELECT t1.`BODY`, t1.`COMPONENTSTATE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMIZABLE`, t1.`DESCRIPTION`, t1.`GENERATIONTYPECODE`, t1.`IMPORTSEQUENCENUMBER`, t1.`INTRODUCEDVERSION`, t1.`LANGUAGECODE`, t1.`MANAGED`, t1.`MIMETYPE`, t1.`OPENCOUNT`, t1.`OPENRATE`, t1.`OVERWRITETIME`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PERSONAL`, t1.`PRESENTATIONXML`, t1.`RECOMMENDED`, t1.`REPLYCOUNT`, t1.`REPLYRATE`, t1.`SOLUTIONID`, t1.`SUBJECT`, t1.`SUBJECTPRESENTATIONXML`, t1.`SUPPORTINGSOLUTIONID`, t1.`TEMPLATEID`, t1.`TEMPLATEIDUNIQUE`, t1.`TEMPLATETYPECODE`, t1.`TITLE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`USEDCOUNT`, t1.`VERSIONNUMBER` FROM `TEMPLATE` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="TerritoryResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MANAGERID`, t1.`MANAGERNAME`, t1.`OVERRIDDENCREATEDON`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t11.`CURRENCYNAME` AS `TRANSACTIONCURRENCYNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `TERRITORY` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID ) t1 where territoryid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t11.`CURRENCYNAME`, t1.`DESCRIPTION`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MANAGERID`, t1.`MANAGERNAME`, t1.`OVERRIDDENCREATEDON`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `TERRITORY` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID ) t1 where territoryid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -39,12 +39,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MANAGERID`, t1.`MANAGERNAME`, t1.`OVERRIDDENCREATEDON`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t11.`CURRENCYNAME` AS `TRANSACTIONCURRENCYNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `TERRITORY` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t11.`CURRENCYNAME`, t1.`DESCRIPTION`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MANAGERID`, t1.`MANAGERNAME`, t1.`OVERRIDDENCREATEDON`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `TERRITORY` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MANAGERID`, t1.`MANAGERNAME`, t1.`OVERRIDDENCREATEDON`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t11.`CURRENCYNAME` AS `TRANSACTIONCURRENCYNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `TERRITORY` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t11.`CURRENCYNAME`, t1.`DESCRIPTION`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`MANAGERID`, t1.`MANAGERNAME`, t1.`OVERRIDDENCREATEDON`, t1.`TERRITORYID`, t1.`TERRITORYNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `TERRITORY` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="InvoiceDetailResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACTUALDELIVERYON`, t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`COPIED`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`INVOICEDETAILID`, t1.`INVOICEDETAILNAME`, t1.`INVOICEID`, t1.`INVOICEISPRICELOCKED`, t1.`INVOICESTATECODE`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`QUANTITYBACKORDERED`, t1.`QUANTITYCANCELLED`, t1.`QUANTITYSHIPPED`, t1.`SALESORDERDETAILID`, t1.`SALESREPID`, t1.`SALESREPNAME`, t1.`SEQUENCENUMBER`, t1.`SHIPPINGTRACKINGNUMBER`, t1.`SHIPTO_CITY`, t1.`SHIPTO_COUNTRY`, t1.`SHIPTO_FAX`, t1.`SHIPTO_FREIGHTTERMSCODE`, t1.`SHIPTO_LINE1`, t1.`SHIPTO_LINE2`, t1.`SHIPTO_LINE3`, t1.`SHIPTO_NAME`, t1.`SHIPTO_POSTALCODE`, t1.`SHIPTO_STATEORPROVINCE`, t1.`SHIPTO_TELEPHONE`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UOMNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE`, t1.`WILLCALL` FROM `INVOICEDETAIL` t1 ) t1 where invoicedetailid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACTUALDELIVERYON`, t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`COPIED`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`INVOICEDETAILID`, t1.`INVOICEDETAILNAME`, t1.`INVOICEID`, t1.`INVOICEISPRICELOCKED`, t1.`INVOICESTATECODE`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`QUANTITYBACKORDERED`, t1.`QUANTITYCANCELLED`, t1.`QUANTITYSHIPPED`, t1.`SALESORDERDETAILID`, t1.`SALESREPID`, t1.`SALESREPNAME`, t1.`SEQUENCENUMBER`, t1.`SHIPPINGTRACKINGNUMBER`, t1.`SHIPTO_CITY`, t1.`SHIPTO_COUNTRY`, t1.`SHIPTO_FAX`, t1.`SHIPTO_FREIGHTTERMSCODE`, t1.`SHIPTO_LINE1`, t1.`SHIPTO_LINE2`, t1.`SHIPTO_LINE3`, t1.`SHIPTO_NAME`, t1.`SHIPTO_POSTALCODE`, t1.`SHIPTO_STATEORPROVINCE`, t1.`SHIPTO_TELEPHONE`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UOMNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE`, t1.`WILLCALL` FROM `INVOICEDETAIL` t1 ) t1 where invoicedetailid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -103,12 +103,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTUALDELIVERYON`, t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`COPIED`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`INVOICEDETAILID`, t1.`INVOICEDETAILNAME`, t1.`INVOICEID`, t1.`INVOICEISPRICELOCKED`, t1.`INVOICESTATECODE`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`QUANTITYBACKORDERED`, t1.`QUANTITYCANCELLED`, t1.`QUANTITYSHIPPED`, t1.`SALESORDERDETAILID`, t1.`SALESREPID`, t1.`SALESREPNAME`, t1.`SEQUENCENUMBER`, t1.`SHIPPINGTRACKINGNUMBER`, t1.`SHIPTO_CITY`, t1.`SHIPTO_COUNTRY`, t1.`SHIPTO_FAX`, t1.`SHIPTO_FREIGHTTERMSCODE`, t1.`SHIPTO_LINE1`, t1.`SHIPTO_LINE2`, t1.`SHIPTO_LINE3`, t1.`SHIPTO_NAME`, t1.`SHIPTO_POSTALCODE`, t1.`SHIPTO_STATEORPROVINCE`, t1.`SHIPTO_TELEPHONE`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UOMNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE`, t1.`WILLCALL` FROM `INVOICEDETAIL` t1
<![CDATA[ SELECT t1.`ACTUALDELIVERYON`, t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`COPIED`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`INVOICEDETAILID`, t1.`INVOICEDETAILNAME`, t1.`INVOICEID`, t1.`INVOICEISPRICELOCKED`, t1.`INVOICESTATECODE`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`QUANTITYBACKORDERED`, t1.`QUANTITYCANCELLED`, t1.`QUANTITYSHIPPED`, t1.`SALESORDERDETAILID`, t1.`SALESREPID`, t1.`SALESREPNAME`, t1.`SEQUENCENUMBER`, t1.`SHIPPINGTRACKINGNUMBER`, t1.`SHIPTO_CITY`, t1.`SHIPTO_COUNTRY`, t1.`SHIPTO_FAX`, t1.`SHIPTO_FREIGHTTERMSCODE`, t1.`SHIPTO_LINE1`, t1.`SHIPTO_LINE2`, t1.`SHIPTO_LINE3`, t1.`SHIPTO_NAME`, t1.`SHIPTO_POSTALCODE`, t1.`SHIPTO_STATEORPROVINCE`, t1.`SHIPTO_TELEPHONE`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UOMNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE`, t1.`WILLCALL` FROM `INVOICEDETAIL` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTUALDELIVERYON`, t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`COPIED`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`INVOICEDETAILID`, t1.`INVOICEDETAILNAME`, t1.`INVOICEID`, t1.`INVOICEISPRICELOCKED`, t1.`INVOICESTATECODE`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`QUANTITYBACKORDERED`, t1.`QUANTITYCANCELLED`, t1.`QUANTITYSHIPPED`, t1.`SALESORDERDETAILID`, t1.`SALESREPID`, t1.`SALESREPNAME`, t1.`SEQUENCENUMBER`, t1.`SHIPPINGTRACKINGNUMBER`, t1.`SHIPTO_CITY`, t1.`SHIPTO_COUNTRY`, t1.`SHIPTO_FAX`, t1.`SHIPTO_FREIGHTTERMSCODE`, t1.`SHIPTO_LINE1`, t1.`SHIPTO_LINE2`, t1.`SHIPTO_LINE3`, t1.`SHIPTO_NAME`, t1.`SHIPTO_POSTALCODE`, t1.`SHIPTO_STATEORPROVINCE`, t1.`SHIPTO_TELEPHONE`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UOMNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE`, t1.`WILLCALL` FROM `INVOICEDETAIL` t1
<![CDATA[ SELECT t1.`ACTUALDELIVERYON`, t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`COPIED`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`INVOICEDETAILID`, t1.`INVOICEDETAILNAME`, t1.`INVOICEID`, t1.`INVOICEISPRICELOCKED`, t1.`INVOICESTATECODE`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`QUANTITYBACKORDERED`, t1.`QUANTITYCANCELLED`, t1.`QUANTITYSHIPPED`, t1.`SALESORDERDETAILID`, t1.`SALESREPID`, t1.`SALESREPNAME`, t1.`SEQUENCENUMBER`, t1.`SHIPPINGTRACKINGNUMBER`, t1.`SHIPTO_CITY`, t1.`SHIPTO_COUNTRY`, t1.`SHIPTO_FAX`, t1.`SHIPTO_FREIGHTTERMSCODE`, t1.`SHIPTO_LINE1`, t1.`SHIPTO_LINE2`, t1.`SHIPTO_LINE3`, t1.`SHIPTO_NAME`, t1.`SHIPTO_POSTALCODE`, t1.`SHIPTO_STATEORPROVINCE`, t1.`SHIPTO_TELEPHONE`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UOMNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE`, t1.`WILLCALL` FROM `INVOICEDETAIL` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="IBizListResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`COST`, t1.`COST_BASE`, t1.`CREATEDATE`, t1.`CREATEDFROMCODE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DONOTSENDONOPTOUT`, t1.`EXCHANGERATE`, t1.`IGNOREINACTIVELISTMEMBERS`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTUSEDON`, t1.`LISTID`, t1.`LISTNAME`, t1.`LOCKSTATUS`, t1.`MEMBERCOUNT`, t1.`MEMBERTYPE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PROCESSID`, t1.`PURPOSE`, t1.`QUERY`, t1.`SOURCE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t11.`CURRENCYNAME` AS `TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `LIST` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID ) t1 where listid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`COST`, t1.`COST_BASE`, t1.`CREATEDATE`, t1.`CREATEDFROMCODE`, t1.`CREATEMAN`, t11.`CURRENCYNAME`, t1.`DESCRIPTION`, t1.`DONOTSENDONOPTOUT`, t1.`EXCHANGERATE`, t1.`IGNOREINACTIVELISTMEMBERS`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTUSEDON`, t1.`LISTID`, t1.`LISTNAME`, t1.`LOCKSTATUS`, t1.`MEMBERCOUNT`, t1.`MEMBERTYPE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PROCESSID`, t1.`PURPOSE`, t1.`QUERY`, t1.`SOURCE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `LIST` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID ) t1 where listid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -56,24 +56,24 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`COST`, t1.`COST_BASE`, t1.`CREATEDATE`, t1.`CREATEDFROMCODE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DONOTSENDONOPTOUT`, t1.`EXCHANGERATE`, t1.`IGNOREINACTIVELISTMEMBERS`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTUSEDON`, t1.`LISTID`, t1.`LISTNAME`, t1.`LOCKSTATUS`, t1.`MEMBERCOUNT`, t1.`MEMBERTYPE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PROCESSID`, t1.`PURPOSE`, t1.`SOURCE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t11.`CURRENCYNAME` AS `TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `LIST` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID
<![CDATA[ SELECT t1.`COST`, t1.`COST_BASE`, t1.`CREATEDATE`, t1.`CREATEDFROMCODE`, t1.`CREATEMAN`, t11.`CURRENCYNAME`, t1.`DESCRIPTION`, t1.`DONOTSENDONOPTOUT`, t1.`EXCHANGERATE`, t1.`IGNOREINACTIVELISTMEMBERS`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTUSEDON`, t1.`LISTID`, t1.`LISTNAME`, t1.`LOCKSTATUS`, t1.`MEMBERCOUNT`, t1.`MEMBERTYPE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PROCESSID`, t1.`PURPOSE`, t1.`SOURCE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `LIST` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID
]]>
</sql>
<!--数据查询[Effective]-->
<sql id="Effective" databaseId="mysql">
<![CDATA[ SELECT t1.`COST`, t1.`COST_BASE`, t1.`CREATEDATE`, t1.`CREATEDFROMCODE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DONOTSENDONOPTOUT`, t1.`EXCHANGERATE`, t1.`IGNOREINACTIVELISTMEMBERS`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTUSEDON`, t1.`LISTID`, t1.`LISTNAME`, t1.`LOCKSTATUS`, t1.`MEMBERCOUNT`, t1.`MEMBERTYPE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PROCESSID`, t1.`PURPOSE`, t1.`SOURCE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t11.`CURRENCYNAME` AS `TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `LIST` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID
<![CDATA[ SELECT t1.`COST`, t1.`COST_BASE`, t1.`CREATEDATE`, t1.`CREATEDFROMCODE`, t1.`CREATEMAN`, t11.`CURRENCYNAME`, t1.`DESCRIPTION`, t1.`DONOTSENDONOPTOUT`, t1.`EXCHANGERATE`, t1.`IGNOREINACTIVELISTMEMBERS`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTUSEDON`, t1.`LISTID`, t1.`LISTNAME`, t1.`LOCKSTATUS`, t1.`MEMBERCOUNT`, t1.`MEMBERTYPE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PROCESSID`, t1.`PURPOSE`, t1.`SOURCE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `LIST` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID
WHERE ( t1.`STATECODE` = 0 )
]]>
</sql>
<!--数据查询[Stop]-->
<sql id="Stop" databaseId="mysql">
<![CDATA[ SELECT t1.`COST`, t1.`COST_BASE`, t1.`CREATEDATE`, t1.`CREATEDFROMCODE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DONOTSENDONOPTOUT`, t1.`EXCHANGERATE`, t1.`IGNOREINACTIVELISTMEMBERS`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTUSEDON`, t1.`LISTID`, t1.`LISTNAME`, t1.`LOCKSTATUS`, t1.`MEMBERCOUNT`, t1.`MEMBERTYPE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PROCESSID`, t1.`PURPOSE`, t1.`SOURCE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t11.`CURRENCYNAME` AS `TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `LIST` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID
<![CDATA[ SELECT t1.`COST`, t1.`COST_BASE`, t1.`CREATEDATE`, t1.`CREATEDFROMCODE`, t1.`CREATEMAN`, t11.`CURRENCYNAME`, t1.`DESCRIPTION`, t1.`DONOTSENDONOPTOUT`, t1.`EXCHANGERATE`, t1.`IGNOREINACTIVELISTMEMBERS`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTUSEDON`, t1.`LISTID`, t1.`LISTNAME`, t1.`LOCKSTATUS`, t1.`MEMBERCOUNT`, t1.`MEMBERTYPE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PROCESSID`, t1.`PURPOSE`, t1.`SOURCE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `LIST` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID
WHERE ( t1.`STATECODE` = 1 )
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`COST`, t1.`COST_BASE`, t1.`CREATEDATE`, t1.`CREATEDFROMCODE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`DONOTSENDONOPTOUT`, t1.`EXCHANGERATE`, t1.`IGNOREINACTIVELISTMEMBERS`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTUSEDON`, t1.`LISTID`, t1.`LISTNAME`, t1.`LOCKSTATUS`, t1.`MEMBERCOUNT`, t1.`MEMBERTYPE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PROCESSID`, t1.`PURPOSE`, t1.`QUERY`, t1.`SOURCE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t11.`CURRENCYNAME` AS `TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `LIST` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID
<![CDATA[ SELECT t1.`COST`, t1.`COST_BASE`, t1.`CREATEDATE`, t1.`CREATEDFROMCODE`, t1.`CREATEMAN`, t11.`CURRENCYNAME`, t1.`DESCRIPTION`, t1.`DONOTSENDONOPTOUT`, t1.`EXCHANGERATE`, t1.`IGNOREINACTIVELISTMEMBERS`, t1.`IMPORTSEQUENCENUMBER`, t1.`LASTUSEDON`, t1.`LISTID`, t1.`LISTNAME`, t1.`LOCKSTATUS`, t1.`MEMBERCOUNT`, t1.`MEMBERTYPE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PROCESSID`, t1.`PURPOSE`, t1.`QUERY`, t1.`SOURCE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `LIST` t1 LEFT JOIN TRANSACTIONCURRENCY t11 ON t1.TRANSACTIONCURRENCYID = t11.TRANSACTIONCURRENCYID
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="BulkDeleteFailureResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`BULKDELETEFAILUREID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`ERRORDESCRIPTION`, t1.`ERRORNUMBER`, t1.`ORDEREDQUERYINDEX`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `BULKDELETEFAILURE` t1 ) t1 where bulkdeletefailureid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`BULKDELETEFAILUREID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`ERRORDESCRIPTION`, t1.`ERRORNUMBER`, t1.`ORDEREDQUERYINDEX`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `BULKDELETEFAILURE` t1 ) t1 where bulkdeletefailureid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`BULKDELETEFAILUREID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`ERRORDESCRIPTION`, t1.`ERRORNUMBER`, t1.`ORDEREDQUERYINDEX`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `BULKDELETEFAILURE` t1
<![CDATA[ SELECT t1.`BULKDELETEFAILUREID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`ERRORDESCRIPTION`, t1.`ERRORNUMBER`, t1.`ORDEREDQUERYINDEX`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `BULKDELETEFAILURE` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`BULKDELETEFAILUREID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`ERRORDESCRIPTION`, t1.`ERRORNUMBER`, t1.`ORDEREDQUERYINDEX`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `BULKDELETEFAILURE` t1
<![CDATA[ SELECT t1.`BULKDELETEFAILUREID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`ERRORDESCRIPTION`, t1.`ERRORNUMBER`, t1.`ORDEREDQUERYINDEX`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNIT`, t1.`OWNINGUSER`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `BULKDELETEFAILURE` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="BulkDeleteOperationResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`BULKDELETEOPERATIONID`, t1.`BULKDELETEOPERATIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FAILURECOUNT`, t1.`NEXTRUN`, t1.`ORDEREDQUERYSETXML`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`PROCESSINGQEINDEX`, t1.`RECURRING`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUCCESSCOUNT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE` FROM `BULKDELETEOPERATION` t1 ) t1 where bulkdeleteoperationid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`BULKDELETEOPERATIONID`, t1.`BULKDELETEOPERATIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FAILURECOUNT`, t1.`NEXTRUN`, t1.`ORDEREDQUERYSETXML`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`PROCESSINGQEINDEX`, t1.`RECURRING`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUCCESSCOUNT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE` FROM `BULKDELETEOPERATION` t1 ) t1 where bulkdeleteoperationid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`BULKDELETEOPERATIONID`, t1.`BULKDELETEOPERATIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FAILURECOUNT`, t1.`NEXTRUN`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`PROCESSINGQEINDEX`, t1.`RECURRING`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUCCESSCOUNT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE` FROM `BULKDELETEOPERATION` t1
<![CDATA[ SELECT t1.`BULKDELETEOPERATIONID`, t1.`BULKDELETEOPERATIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FAILURECOUNT`, t1.`NEXTRUN`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`PROCESSINGQEINDEX`, t1.`RECURRING`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUCCESSCOUNT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE` FROM `BULKDELETEOPERATION` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`BULKDELETEOPERATIONID`, t1.`BULKDELETEOPERATIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FAILURECOUNT`, t1.`NEXTRUN`, t1.`ORDEREDQUERYSETXML`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`PROCESSINGQEINDEX`, t1.`RECURRING`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUCCESSCOUNT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE` FROM `BULKDELETEOPERATION` t1
<![CDATA[ SELECT t1.`BULKDELETEOPERATIONID`, t1.`BULKDELETEOPERATIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FAILURECOUNT`, t1.`NEXTRUN`, t1.`ORDEREDQUERYSETXML`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`PROCESSINGQEINDEX`, t1.`RECURRING`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUCCESSCOUNT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE` FROM `BULKDELETEOPERATION` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="BulkOperationResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`BULKOPERATIONNUMBER`, t1.`CC`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEDRECORDTYPECODE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`ERRORNUMBER`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FAILURECOUNT`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPERATIONTYPECODE`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARAMETERS`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`SUCCESSCOUNT`, t1.`TARGETEDRECORDTYPECODE`, t1.`TARGETMEMBERSCOUNT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED`, t1.`WORKFLOWINFO` FROM `BULKOPERATION` t1 ) t1 where activityid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`BULKOPERATIONNUMBER`, t1.`CC`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEDRECORDTYPECODE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`ERRORNUMBER`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FAILURECOUNT`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPERATIONTYPECODE`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARAMETERS`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`SUCCESSCOUNT`, t1.`TARGETEDRECORDTYPECODE`, t1.`TARGETMEMBERSCOUNT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED`, t1.`WORKFLOWINFO` FROM `BULKOPERATION` t1 ) t1 where activityid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -47,12 +47,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`BULKOPERATIONNUMBER`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEDRECORDTYPECODE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`ERRORNUMBER`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FAILURECOUNT`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPERATIONTYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`SUCCESSCOUNT`, t1.`TARGETEDRECORDTYPECODE`, t1.`TARGETMEMBERSCOUNT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `BULKOPERATION` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`BULKOPERATIONNUMBER`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEDRECORDTYPECODE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`ERRORNUMBER`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FAILURECOUNT`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPERATIONTYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`SUCCESSCOUNT`, t1.`TARGETEDRECORDTYPECODE`, t1.`TARGETMEMBERSCOUNT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `BULKOPERATION` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`BULKOPERATIONNUMBER`, t1.`CC`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEDRECORDTYPECODE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`ERRORNUMBER`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FAILURECOUNT`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPERATIONTYPECODE`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARAMETERS`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`SUCCESSCOUNT`, t1.`TARGETEDRECORDTYPECODE`, t1.`TARGETMEMBERSCOUNT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED`, t1.`WORKFLOWINFO` FROM `BULKOPERATION` t1
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`BULKOPERATIONNUMBER`, t1.`CC`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEDRECORDTYPECODE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`ERRORNUMBER`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FAILURECOUNT`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPERATIONTYPECODE`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARAMETERS`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBJECT`, t1.`SUCCESSCOUNT`, t1.`TARGETEDRECORDTYPECODE`, t1.`TARGETMEMBERSCOUNT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED`, t1.`WORKFLOWINFO` FROM `BULKOPERATION` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="BulkOperationLogResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ADDITIONALINFO`, t1.`BULKOPERATIONID`, t1.`BULKOPERATIONIDTYPE`, t1.`BULKOPERATIONLOGID`, t1.`BULKOPERATIONLOGNAME`, t1.`BULKOPERATIONNAME`, t1.`CREATEDATE`, t1.`CREATEDOBJECTID`, t1.`CREATEDOBJECTIDTYPECODE`, t1.`CREATEDOBJECTNAME`, t1.`CREATEMAN`, t1.`ERRORDESCRIPTIONFORMATTED`, t1.`ERRORNUMBER`, t1.`ERRORNUMBERFORMATTED`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDTYPECODE`, t1.`REGARDINGOBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `BULKOPERATIONLOG` t1 ) t1 where bulkoperationlogid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ADDITIONALINFO`, t1.`BULKOPERATIONID`, t1.`BULKOPERATIONLOGID`, t1.`BULKOPERATIONLOGNAME`, t1.`BULKOPERATIONNAME`, t1.`BULKOPERATIONTYPE`, t1.`CREATEDATE`, t1.`CREATEDOBJECTID`, t1.`CREATEDOBJECTNAME`, t1.`CREATEDOBJECTTYPECODE`, t1.`CREATEMAN`, t1.`ERRORDESCRIPTIONFORMATTED`, t1.`ERRORNUMBER`, t1.`ERRORNUMBERFORMATTED`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `BULKOPERATIONLOG` t1 ) t1 where bulkoperationlogid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -37,12 +37,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`BULKOPERATIONID`, t1.`BULKOPERATIONIDTYPE`, t1.`BULKOPERATIONLOGID`, t1.`BULKOPERATIONLOGNAME`, t1.`CREATEDATE`, t1.`CREATEDOBJECTID`, t1.`CREATEDOBJECTIDTYPECODE`, t1.`CREATEMAN`, t1.`ERRORDESCRIPTIONFORMATTED`, t1.`ERRORNUMBER`, t1.`ERRORNUMBERFORMATTED`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDTYPECODE`, t1.`REGARDINGOBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `BULKOPERATIONLOG` t1
<![CDATA[ SELECT t1.`BULKOPERATIONID`, t1.`BULKOPERATIONLOGID`, t1.`BULKOPERATIONLOGNAME`, t1.`BULKOPERATIONTYPE`, t1.`CREATEDATE`, t1.`CREATEDOBJECTID`, t1.`CREATEDOBJECTTYPECODE`, t1.`CREATEMAN`, t1.`ERRORDESCRIPTIONFORMATTED`, t1.`ERRORNUMBER`, t1.`ERRORNUMBERFORMATTED`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `BULKOPERATIONLOG` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ADDITIONALINFO`, t1.`BULKOPERATIONID`, t1.`BULKOPERATIONIDTYPE`, t1.`BULKOPERATIONLOGID`, t1.`BULKOPERATIONLOGNAME`, t1.`BULKOPERATIONNAME`, t1.`CREATEDATE`, t1.`CREATEDOBJECTID`, t1.`CREATEDOBJECTIDTYPECODE`, t1.`CREATEDOBJECTNAME`, t1.`CREATEMAN`, t1.`ERRORDESCRIPTIONFORMATTED`, t1.`ERRORNUMBER`, t1.`ERRORNUMBERFORMATTED`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDTYPECODE`, t1.`REGARDINGOBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `BULKOPERATIONLOG` t1
<![CDATA[ SELECT t1.`ADDITIONALINFO`, t1.`BULKOPERATIONID`, t1.`BULKOPERATIONLOGID`, t1.`BULKOPERATIONLOGNAME`, t1.`BULKOPERATIONNAME`, t1.`BULKOPERATIONTYPE`, t1.`CREATEDATE`, t1.`CREATEDOBJECTID`, t1.`CREATEDOBJECTNAME`, t1.`CREATEDOBJECTTYPECODE`, t1.`CREATEMAN`, t1.`ERRORDESCRIPTIONFORMATTED`, t1.`ERRORNUMBER`, t1.`ERRORNUMBERFORMATTED`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `BULKOPERATIONLOG` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="CallbackRegistrationResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CALLBACKREGISTRATIONID`, t1.`CALLBACKREGISTRATIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`ENTITYNAME`, t1.`FILTERINGATTRIBUTES`, t1.`MESSAGE`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGBUSINESSUNITNAME`, t1.`SCOPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`URL`, t1.`VERSION` FROM `CALLBACKREGISTRATION` t1 ) t1 where callbackregistrationid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CALLBACKREGISTRATIONID`, t1.`CALLBACKREGISTRATIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`ENTITYNAME`, t1.`FILTERINGATTRIBUTES`, t1.`MESSAGE`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNITNAME`, t1.`SCOPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`URL`, t1.`VERSION` FROM `CALLBACKREGISTRATION` t1 ) t1 where callbackregistrationid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CALLBACKREGISTRATIONID`, t1.`CALLBACKREGISTRATIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`ENTITYNAME`, t1.`MESSAGE`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGBUSINESSUNITNAME`, t1.`SCOPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`URL`, t1.`VERSION` FROM `CALLBACKREGISTRATION` t1
<![CDATA[ SELECT t1.`CALLBACKREGISTRATIONID`, t1.`CALLBACKREGISTRATIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`ENTITYNAME`, t1.`MESSAGE`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNITNAME`, t1.`SCOPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`URL`, t1.`VERSION` FROM `CALLBACKREGISTRATION` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CALLBACKREGISTRATIONID`, t1.`CALLBACKREGISTRATIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`ENTITYNAME`, t1.`FILTERINGATTRIBUTES`, t1.`MESSAGE`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNINGBUSINESSUNITNAME`, t1.`SCOPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`URL`, t1.`VERSION` FROM `CALLBACKREGISTRATION` t1
<![CDATA[ SELECT t1.`CALLBACKREGISTRATIONID`, t1.`CALLBACKREGISTRATIONNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`ENTITYNAME`, t1.`FILTERINGATTRIBUTES`, t1.`MESSAGE`, t1.`OWNERID`, t1.`OWNERTYPE`, t1.`OWNINGBUSINESSUNITNAME`, t1.`SCOPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`URL`, t1.`VERSION` FROM `CALLBACKREGISTRATION` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="QueueResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ALLOWEMAILCREDENTIALS`, t1.`BUSINESSUNITID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEFAULTMAILBOXNAME`, t1.`DESCRIPTION`, t1.`EMAILADDRESS`, t1.`EMAILPASSWORD`, t1.`EMAILROUTERACCESSAPPROVAL`, t1.`EMAILUSERNAME`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAXQUEUE`, t1.`IGNOREUNSOLICITEDEMAIL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INCOMINGEMAILDELIVERYMETHOD`, t1.`INCOMINGEMAILFILTERINGMETHOD`, t1.`NUMBEROFITEMS`, t1.`NUMBEROFMEMBERS`, t1.`OUTGOINGEMAILDELIVERYMETHOD`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIMARYUSERID`, t1.`PRIMARYUSERNAME`, t1.`QUEUEID`, t1.`QUEUENAME`, t1.`QUEUETYPECODE`, t1.`QUEUEVIEWTYPE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `QUEUE` t1 ) t1 where queueid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ALLOWEMAILCREDENTIALS`, t1.`BUSINESSUNITID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEFAULTMAILBOXNAME`, t1.`DESCRIPTION`, t1.`EMAILADDRESS`, t1.`EMAILPASSWORD`, t1.`EMAILROUTERACCESSAPPROVAL`, t1.`EMAILUSERNAME`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAXQUEUE`, t1.`IGNOREUNSOLICITEDEMAIL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INCOMINGEMAILDELIVERYMETHOD`, t1.`INCOMINGEMAILFILTERINGMETHOD`, t1.`NUMBEROFITEMS`, t1.`NUMBEROFMEMBERS`, t1.`OUTGOINGEMAILDELIVERYMETHOD`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIMARYUSERID`, t1.`PRIMARYUSERNAME`, t1.`QUEUEID`, t1.`QUEUENAME`, t1.`QUEUETYPECODE`, t1.`QUEUEVIEWTYPE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `QUEUE` t1 ) t1 where queueid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -49,12 +49,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ALLOWEMAILCREDENTIALS`, t1.`BUSINESSUNITID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEFAULTMAILBOXNAME`, t1.`DESCRIPTION`, t1.`EMAILADDRESS`, t1.`EMAILPASSWORD`, t1.`EMAILROUTERACCESSAPPROVAL`, t1.`EMAILUSERNAME`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAXQUEUE`, t1.`IGNOREUNSOLICITEDEMAIL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INCOMINGEMAILDELIVERYMETHOD`, t1.`INCOMINGEMAILFILTERINGMETHOD`, t1.`NUMBEROFITEMS`, t1.`NUMBEROFMEMBERS`, t1.`OUTGOINGEMAILDELIVERYMETHOD`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIMARYUSERID`, t1.`PRIMARYUSERNAME`, t1.`QUEUEID`, t1.`QUEUENAME`, t1.`QUEUETYPECODE`, t1.`QUEUEVIEWTYPE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `QUEUE` t1
<![CDATA[ SELECT t1.`ALLOWEMAILCREDENTIALS`, t1.`BUSINESSUNITID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEFAULTMAILBOXNAME`, t1.`DESCRIPTION`, t1.`EMAILADDRESS`, t1.`EMAILPASSWORD`, t1.`EMAILROUTERACCESSAPPROVAL`, t1.`EMAILUSERNAME`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAXQUEUE`, t1.`IGNOREUNSOLICITEDEMAIL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INCOMINGEMAILDELIVERYMETHOD`, t1.`INCOMINGEMAILFILTERINGMETHOD`, t1.`NUMBEROFITEMS`, t1.`NUMBEROFMEMBERS`, t1.`OUTGOINGEMAILDELIVERYMETHOD`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIMARYUSERID`, t1.`PRIMARYUSERNAME`, t1.`QUEUEID`, t1.`QUEUENAME`, t1.`QUEUETYPECODE`, t1.`QUEUEVIEWTYPE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `QUEUE` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ALLOWEMAILCREDENTIALS`, t1.`BUSINESSUNITID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEFAULTMAILBOXNAME`, t1.`DESCRIPTION`, t1.`EMAILADDRESS`, t1.`EMAILPASSWORD`, t1.`EMAILROUTERACCESSAPPROVAL`, t1.`EMAILUSERNAME`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAXQUEUE`, t1.`IGNOREUNSOLICITEDEMAIL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INCOMINGEMAILDELIVERYMETHOD`, t1.`INCOMINGEMAILFILTERINGMETHOD`, t1.`NUMBEROFITEMS`, t1.`NUMBEROFMEMBERS`, t1.`OUTGOINGEMAILDELIVERYMETHOD`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIMARYUSERID`, t1.`PRIMARYUSERNAME`, t1.`QUEUEID`, t1.`QUEUENAME`, t1.`QUEUETYPECODE`, t1.`QUEUEVIEWTYPE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `QUEUE` t1
<![CDATA[ SELECT t1.`ALLOWEMAILCREDENTIALS`, t1.`BUSINESSUNITID`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEFAULTMAILBOXNAME`, t1.`DESCRIPTION`, t1.`EMAILADDRESS`, t1.`EMAILPASSWORD`, t1.`EMAILROUTERACCESSAPPROVAL`, t1.`EMAILUSERNAME`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`FAXQUEUE`, t1.`IGNOREUNSOLICITEDEMAIL`, t1.`IMPORTSEQUENCENUMBER`, t1.`INCOMINGEMAILDELIVERYMETHOD`, t1.`INCOMINGEMAILFILTERINGMETHOD`, t1.`NUMBEROFITEMS`, t1.`NUMBEROFMEMBERS`, t1.`OUTGOINGEMAILDELIVERYMETHOD`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIMARYUSERID`, t1.`PRIMARYUSERNAME`, t1.`QUEUEID`, t1.`QUEUENAME`, t1.`QUEUETYPECODE`, t1.`QUEUEVIEWTYPE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TRANSACTIONCURRENCYID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`VERSIONNUMBER` FROM `QUEUE` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="GoalRollupQueryResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FETCHXML`, t1.`GOALROLLUPQUERYID`, t1.`GOALROLLUPQUERYNAME`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`QUERYENTITYTYPE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `GOALROLLUPQUERY` t1 ) t1 where goalrollupqueryid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FETCHXML`, t1.`GOALROLLUPQUERYID`, t1.`GOALROLLUPQUERYNAME`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`QUERYENTITYTYPE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `GOALROLLUPQUERY` t1 ) t1 where goalrollupqueryid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -27,12 +27,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`GOALROLLUPQUERYID`, t1.`GOALROLLUPQUERYNAME`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`QUERYENTITYTYPE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `GOALROLLUPQUERY` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`GOALROLLUPQUERYID`, t1.`GOALROLLUPQUERYNAME`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`QUERYENTITYTYPE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `GOALROLLUPQUERY` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FETCHXML`, t1.`GOALROLLUPQUERYID`, t1.`GOALROLLUPQUERYNAME`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`QUERYENTITYTYPE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `GOALROLLUPQUERY` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FETCHXML`, t1.`GOALROLLUPQUERYID`, t1.`GOALROLLUPQUERYNAME`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`QUERYENTITYTYPE`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `GOALROLLUPQUERY` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="OpportunityCloseResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALREVENUE`, t1.`ACTUALREVENUE_BASE`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`COMMUNITY`, t1.`COMPETITORID`, t1.`COMPETITORNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPPORTUNITYID`, t1.`OPPORTUNITYIDTYPE`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `OPPORTUNITYCLOSE` t1 ) t1 where activityid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALREVENUE`, t1.`ACTUALREVENUE_BASE`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`COMMUNITY`, t1.`COMPETITORID`, t1.`COMPETITORNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPPORTUNITYID`, t1.`OPPORTUNITYTYPE`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `OPPORTUNITYCLOSE` t1 ) t1 where activityid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -78,12 +78,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALREVENUE`, t1.`ACTUALREVENUE_BASE`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`COMMUNITY`, t1.`COMPETITORID`, t1.`COMPETITORNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPPORTUNITYID`, t1.`OPPORTUNITYIDTYPE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `OPPORTUNITYCLOSE` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALREVENUE`, t1.`ACTUALREVENUE_BASE`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`COMMUNITY`, t1.`COMPETITORID`, t1.`COMPETITORNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPPORTUNITYID`, t1.`OPPORTUNITYTYPE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `OPPORTUNITYCLOSE` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALREVENUE`, t1.`ACTUALREVENUE_BASE`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`COMMUNITY`, t1.`COMPETITORID`, t1.`COMPETITORNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPPORTUNITYID`, t1.`OPPORTUNITYIDTYPE`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `OPPORTUNITYCLOSE` t1
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALREVENUE`, t1.`ACTUALREVENUE_BASE`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`COMMUNITY`, t1.`COMPETITORID`, t1.`COMPETITORNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPPORTUNITYID`, t1.`OPPORTUNITYTYPE`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `OPPORTUNITYCLOSE` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="OpportunityProductResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`MANUALDISCOUNTAMOUNT_BASE`, t1.`OPPORTUNITYID`, t1.`OPPORTUNITYPRODUCTID`, t1.`OPPORTUNITYPRODUCTNAME`, t1.`OPPORTUNITYSTATECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`SEQUENCENUMBER`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE` FROM `OPPORTUNITYPRODUCT` t1 ) t1 where opportunityproductid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`MANUALDISCOUNTAMOUNT_BASE`, t1.`OPPORTUNITYID`, t1.`OPPORTUNITYPRODUCTID`, t1.`OPPORTUNITYPRODUCTNAME`, t1.`OPPORTUNITYSTATECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`SEQUENCENUMBER`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE` FROM `OPPORTUNITYPRODUCT` t1 ) t1 where opportunityproductid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -85,12 +85,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`MANUALDISCOUNTAMOUNT_BASE`, t1.`OPPORTUNITYID`, t1.`OPPORTUNITYPRODUCTID`, t1.`OPPORTUNITYPRODUCTNAME`, t1.`OPPORTUNITYSTATECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`SEQUENCENUMBER`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE` FROM `OPPORTUNITYPRODUCT` t1
<![CDATA[ SELECT t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`MANUALDISCOUNTAMOUNT_BASE`, t1.`OPPORTUNITYID`, t1.`OPPORTUNITYPRODUCTID`, t1.`OPPORTUNITYPRODUCTNAME`, t1.`OPPORTUNITYSTATECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`SEQUENCENUMBER`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE` FROM `OPPORTUNITYPRODUCT` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`MANUALDISCOUNTAMOUNT_BASE`, t1.`OPPORTUNITYID`, t1.`OPPORTUNITYPRODUCTID`, t1.`OPPORTUNITYPRODUCTNAME`, t1.`OPPORTUNITYSTATECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`SEQUENCENUMBER`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE` FROM `OPPORTUNITYPRODUCT` t1
<![CDATA[ SELECT t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`MANUALDISCOUNTAMOUNT_BASE`, t1.`OPPORTUNITYID`, t1.`OPPORTUNITYPRODUCTID`, t1.`OPPORTUNITYPRODUCTNAME`, t1.`OPPORTUNITYSTATECODE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`SEQUENCENUMBER`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE` FROM `OPPORTUNITYPRODUCT` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="OrderCloseResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPTIONALATTENDEES`, t1.`ORDERNUMBER`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`REVISION`, t1.`SALESORDERID`, t1.`SALESORDERIDTYPE`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ORDERCLOSE` t1 ) t1 where activityid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPTIONALATTENDEES`, t1.`ORDERNUMBER`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`REVISION`, t1.`SALESORDERID`, t1.`SALESORDERTYPE`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ORDERCLOSE` t1 ) t1 where activityid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -67,12 +67,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`ORDERNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REVISION`, t1.`SALESORDERID`, t1.`SALESORDERIDTYPE`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ORDERCLOSE` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`ORDERNUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REVISION`, t1.`SALESORDERID`, t1.`SALESORDERTYPE`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ORDERCLOSE` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPTIONALATTENDEES`, t1.`ORDERNUMBER`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`REVISION`, t1.`SALESORDERID`, t1.`SALESORDERIDTYPE`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ORDERCLOSE` t1
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPTIONALATTENDEES`, t1.`ORDERNUMBER`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`REVISION`, t1.`SALESORDERID`, t1.`SALESORDERTYPE`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `ORDERCLOSE` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="QuoteCloseResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`QUOTEID`, t1.`QUOTEIDTYPE`, t1.`QUOTENUMBER`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`REVISION`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `QUOTECLOSE` t1 ) t1 where activityid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`QUOTEID`, t1.`QUOTENUMBER`, t1.`QUOTETYPE`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`REVISION`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `QUOTECLOSE` t1 ) t1 where activityid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -67,12 +67,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`QUOTEID`, t1.`QUOTEIDTYPE`, t1.`QUOTENUMBER`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REVISION`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `QUOTECLOSE` t1
<![CDATA[ SELECT t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BILLED`, t1.`CATEGORY`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`QUOTEID`, t1.`QUOTENUMBER`, t1.`QUOTETYPE`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REVISION`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `QUOTECLOSE` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`QUOTEID`, t1.`QUOTEIDTYPE`, t1.`QUOTENUMBER`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`REVISION`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `QUOTECLOSE` t1
<![CDATA[ SELECT t1.`ACTIVITYADDITIONALPARAMS`, t1.`ACTIVITYID`, t1.`ACTIVITYTYPECODE`, t1.`ACTUALDURATIONMINUTES`, t1.`ACTUALEND`, t1.`ACTUALSTART`, t1.`BCC`, t1.`BILLED`, t1.`CATEGORY`, t1.`CC`, t1.`COMMUNITY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERS`, t1.`DELIVERYLASTATTEMPTEDON`, t1.`DELIVERYPRIORITYCODE`, t1.`DESCRIPTION`, t1.`EXCHANGEITEMID`, t1.`EXCHANGERATE`, t1.`EXCHANGEWEBLINK`, t1.`FROM`, t1.`IMPORTSEQUENCENUMBER`, t1.`INSTANCETYPECODE`, t1.`LASTONHOLDTIME`, t1.`LEFTVOICEMAIL`, t1.`MAPIPRIVATE`, t1.`ONHOLDTIME`, t1.`OPTIONALATTENDEES`, t1.`ORGANIZER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARTNERS`, t1.`PRIORITYCODE`, t1.`PROCESSID`, t1.`QUOTEID`, t1.`QUOTENUMBER`, t1.`QUOTETYPE`, t1.`REGARDINGOBJECTID`, t1.`REGARDINGOBJECTIDNAME`, t1.`REGARDINGOBJECTNAME`, t1.`REGARDINGOBJECTTYPECODE`, t1.`REGULARACTIVITY`, t1.`REQUIREDATTENDEES`, t1.`RESOURCES`, t1.`REVISION`, t1.`SCHEDULEDDURATIONMINUTES`, t1.`SCHEDULEDEND`, t1.`SCHEDULEDSTART`, t1.`SENTON`, t1.`SERIESID`, t1.`SERVICEID`, t1.`SLAID`, t1.`SLANAME`, t1.`SORTDATE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`SUBCATEGORY`, t1.`SUBJECT`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TO`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`WORKFLOWCREATED` FROM `QUOTECLOSE` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="QuoteDetailResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`MANUALDISCOUNTAMOUNT_BASE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`QUOTEDETAILID`, t1.`QUOTEDETAILNAME`, t1.`QUOTEID`, t1.`QUOTESTATECODE`, t1.`REQUESTDELIVERYBY`, t1.`SALESREPID`, t1.`SALESREPNAME`, t1.`SEQUENCENUMBER`, t1.`SHIPTO_ADDRESSID`, t1.`SHIPTO_CITY`, t1.`SHIPTO_CONTACTNAME`, t1.`SHIPTO_COUNTRY`, t1.`SHIPTO_FAX`, t1.`SHIPTO_FREIGHTTERMSCODE`, t1.`SHIPTO_LINE1`, t1.`SHIPTO_LINE2`, t1.`SHIPTO_LINE3`, t1.`SHIPTO_NAME`, t1.`SHIPTO_POSTALCODE`, t1.`SHIPTO_STATEORPROVINCE`, t1.`SHIPTO_TELEPHONE`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE`, t1.`WILLCALL` FROM `QUOTEDETAIL` t1 ) t1 where quotedetailid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`MANUALDISCOUNTAMOUNT_BASE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`QUOTEDETAILID`, t1.`QUOTEDETAILNAME`, t1.`QUOTEID`, t1.`QUOTESTATECODE`, t1.`REQUESTDELIVERYBY`, t1.`SALESREPID`, t1.`SALESREPNAME`, t1.`SEQUENCENUMBER`, t1.`SHIPTO_ADDRESSID`, t1.`SHIPTO_CITY`, t1.`SHIPTO_CONTACTNAME`, t1.`SHIPTO_COUNTRY`, t1.`SHIPTO_FAX`, t1.`SHIPTO_FREIGHTTERMSCODE`, t1.`SHIPTO_LINE1`, t1.`SHIPTO_LINE2`, t1.`SHIPTO_LINE3`, t1.`SHIPTO_NAME`, t1.`SHIPTO_POSTALCODE`, t1.`SHIPTO_STATEORPROVINCE`, t1.`SHIPTO_TELEPHONE`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE`, t1.`WILLCALL` FROM `QUOTEDETAIL` t1 ) t1 where quotedetailid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -96,12 +96,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`MANUALDISCOUNTAMOUNT_BASE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`QUOTEDETAILID`, t1.`QUOTEDETAILNAME`, t1.`QUOTEID`, t1.`QUOTESTATECODE`, t1.`REQUESTDELIVERYBY`, t1.`SALESREPID`, t1.`SALESREPNAME`, t1.`SEQUENCENUMBER`, t1.`SHIPTO_ADDRESSID`, t1.`SHIPTO_CITY`, t1.`SHIPTO_CONTACTNAME`, t1.`SHIPTO_COUNTRY`, t1.`SHIPTO_FAX`, t1.`SHIPTO_FREIGHTTERMSCODE`, t1.`SHIPTO_LINE1`, t1.`SHIPTO_LINE2`, t1.`SHIPTO_LINE3`, t1.`SHIPTO_NAME`, t1.`SHIPTO_POSTALCODE`, t1.`SHIPTO_STATEORPROVINCE`, t1.`SHIPTO_TELEPHONE`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE`, t1.`WILLCALL` FROM `QUOTEDETAIL` t1
<![CDATA[ SELECT t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`MANUALDISCOUNTAMOUNT_BASE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`QUOTEDETAILID`, t1.`QUOTEDETAILNAME`, t1.`QUOTEID`, t1.`QUOTESTATECODE`, t1.`REQUESTDELIVERYBY`, t1.`SALESREPID`, t1.`SALESREPNAME`, t1.`SEQUENCENUMBER`, t1.`SHIPTO_ADDRESSID`, t1.`SHIPTO_CITY`, t1.`SHIPTO_CONTACTNAME`, t1.`SHIPTO_COUNTRY`, t1.`SHIPTO_FAX`, t1.`SHIPTO_FREIGHTTERMSCODE`, t1.`SHIPTO_LINE1`, t1.`SHIPTO_LINE2`, t1.`SHIPTO_LINE3`, t1.`SHIPTO_NAME`, t1.`SHIPTO_POSTALCODE`, t1.`SHIPTO_STATEORPROVINCE`, t1.`SHIPTO_TELEPHONE`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE`, t1.`WILLCALL` FROM `QUOTEDETAIL` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`MANUALDISCOUNTAMOUNT_BASE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`QUOTEDETAILID`, t1.`QUOTEDETAILNAME`, t1.`QUOTEID`, t1.`QUOTESTATECODE`, t1.`REQUESTDELIVERYBY`, t1.`SALESREPID`, t1.`SALESREPNAME`, t1.`SEQUENCENUMBER`, t1.`SHIPTO_ADDRESSID`, t1.`SHIPTO_CITY`, t1.`SHIPTO_CONTACTNAME`, t1.`SHIPTO_COUNTRY`, t1.`SHIPTO_FAX`, t1.`SHIPTO_FREIGHTTERMSCODE`, t1.`SHIPTO_LINE1`, t1.`SHIPTO_LINE2`, t1.`SHIPTO_LINE3`, t1.`SHIPTO_NAME`, t1.`SHIPTO_POSTALCODE`, t1.`SHIPTO_STATEORPROVINCE`, t1.`SHIPTO_TELEPHONE`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE`, t1.`WILLCALL` FROM `QUOTEDETAIL` t1
<![CDATA[ SELECT t1.`BASEAMOUNT`, t1.`BASEAMOUNT_BASE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DESCRIPTION`, t1.`EXCHANGERATE`, t1.`EXTENDEDAMOUNT`, t1.`EXTENDEDAMOUNT_BASE`, t1.`IMPORTSEQUENCENUMBER`, t1.`LINEITEMNUMBER`, t1.`MANUALDISCOUNTAMOUNT`, t1.`MANUALDISCOUNTAMOUNT_BASE`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PARENTBUNDLEID`, t1.`PARENTBUNDLEIDREF`, t1.`PRICEOVERRIDDEN`, t1.`PRICEPERUNIT`, t1.`PRICEPERUNIT_BASE`, t1.`PRICINGERRORCODE`, t1.`PRODUCTASSOCIATIONID`, t1.`PRODUCTDESCRIPTION`, t1.`PRODUCTID`, t1.`PRODUCTNAME`, t1.`PRODUCTOVERRIDDEN`, t1.`PRODUCTTYPECODE`, t1.`PROPERTYCONFIGURATIONSTATUS`, t1.`QUANTITY`, t1.`QUOTEDETAILID`, t1.`QUOTEDETAILNAME`, t1.`QUOTEID`, t1.`QUOTESTATECODE`, t1.`REQUESTDELIVERYBY`, t1.`SALESREPID`, t1.`SALESREPNAME`, t1.`SEQUENCENUMBER`, t1.`SHIPTO_ADDRESSID`, t1.`SHIPTO_CITY`, t1.`SHIPTO_CONTACTNAME`, t1.`SHIPTO_COUNTRY`, t1.`SHIPTO_FAX`, t1.`SHIPTO_FREIGHTTERMSCODE`, t1.`SHIPTO_LINE1`, t1.`SHIPTO_LINE2`, t1.`SHIPTO_LINE3`, t1.`SHIPTO_NAME`, t1.`SHIPTO_POSTALCODE`, t1.`SHIPTO_STATEORPROVINCE`, t1.`SHIPTO_TELEPHONE`, t1.`SKIPPRICECALCULATION`, t1.`TAX`, t1.`TAX_BASE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`UOMID`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER`, t1.`VOLUMEDISCOUNTAMOUNT`, t1.`VOLUMEDISCOUNTAMOUNT_BASE`, t1.`WILLCALL` FROM `QUOTEDETAIL` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="SalesLiteratureResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERVIEWABLE`, t1.`DESCRIPTION`, t1.`EMPLOYEECONTACTID`, t1.`EMPLOYEECONTACTNAME`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`HASATTACHMENTS`, t1.`IMPORTSEQUENCENUMBER`, t1.`KEYWORDS`, t1.`LITERATURETYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`PROCESSID`, t1.`SALESLITERATUREID`, t1.`SALESLITERATURENAME`, t1.`STAGEID`, t1.`SUBJECTID`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `SALESLITERATURE` t1 ) t1 where salesliteratureid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CURRENCYNAME`, t1.`CUSTOMERVIEWABLE`, t1.`DESCRIPTION`, t1.`EMPLOYEECONTACTID`, t1.`EMPLOYEECONTACTNAME`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`HASATTACHMENTS`, t1.`IMPORTSEQUENCENUMBER`, t1.`KEYWORDS`, t1.`LITERATURETYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`PROCESSID`, t1.`SALESLITERATUREID`, t1.`SALESLITERATURENAME`, t1.`STAGEID`, t1.`SUBJECTID`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `SALESLITERATURE` t1 ) t1 where salesliteratureid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -49,12 +49,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERVIEWABLE`, t1.`DESCRIPTION`, t1.`EMPLOYEECONTACTID`, t1.`EMPLOYEECONTACTNAME`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`HASATTACHMENTS`, t1.`IMPORTSEQUENCENUMBER`, t1.`LITERATURETYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`PROCESSID`, t1.`SALESLITERATUREID`, t1.`SALESLITERATURENAME`, t1.`STAGEID`, t1.`SUBJECTID`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `SALESLITERATURE` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CURRENCYNAME`, t1.`CUSTOMERVIEWABLE`, t1.`DESCRIPTION`, t1.`EMPLOYEECONTACTID`, t1.`EMPLOYEECONTACTNAME`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`HASATTACHMENTS`, t1.`IMPORTSEQUENCENUMBER`, t1.`LITERATURETYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`PROCESSID`, t1.`SALESLITERATUREID`, t1.`SALESLITERATURENAME`, t1.`STAGEID`, t1.`SUBJECTID`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `SALESLITERATURE` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CUSTOMERVIEWABLE`, t1.`DESCRIPTION`, t1.`EMPLOYEECONTACTID`, t1.`EMPLOYEECONTACTNAME`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`HASATTACHMENTS`, t1.`IMPORTSEQUENCENUMBER`, t1.`KEYWORDS`, t1.`LITERATURETYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`PROCESSID`, t1.`SALESLITERATUREID`, t1.`SALESLITERATURENAME`, t1.`STAGEID`, t1.`SUBJECTID`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRANSACTIONCURRENCYNAME`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `SALESLITERATURE` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`CURRENCYNAME`, t1.`CUSTOMERVIEWABLE`, t1.`DESCRIPTION`, t1.`EMPLOYEECONTACTID`, t1.`EMPLOYEECONTACTNAME`, t1.`ENTITYIMAGE`, t1.`ENTITYIMAGEID`, t1.`ENTITYIMAGE_TIMESTAMP`, t1.`ENTITYIMAGE_URL`, t1.`EXCHANGERATE`, t1.`EXPIRATIONDATE`, t1.`HASATTACHMENTS`, t1.`IMPORTSEQUENCENUMBER`, t1.`KEYWORDS`, t1.`LITERATURETYPECODE`, t1.`OVERRIDDENCREATEDON`, t1.`PROCESSID`, t1.`SALESLITERATUREID`, t1.`SALESLITERATURENAME`, t1.`STAGEID`, t1.`SUBJECTID`, t1.`SUBJECTNAME`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `SALESLITERATURE` t1
]]>
</sql>
</mapper>
......
......@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="BookableResourceResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`BOOKABLERESID`, t1.`BOOKABLERESNAME`, t1.`CALENDARID`, t1.`CONTACTID`, t1.`CONTACTNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PROCESSID`, t1.`RESOURCETYPE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`USERID`, t1.`USERNAME`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `BOOKABLERES` t1 ) t1 where bookableresid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`BOOKABLERESID`, t1.`BOOKABLERESNAME`, t1.`CALENDARID`, t1.`CONTACTID`, t1.`CONTACTNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PROCESSID`, t1.`RESOURCETYPE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`USERID`, t1.`USERNAME`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `BOOKABLERES` t1 ) t1 where bookableresid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
......@@ -68,12 +68,12 @@
<!--数据查询[Default]-->
<sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`BOOKABLERESID`, t1.`BOOKABLERESNAME`, t1.`CALENDARID`, t1.`CONTACTID`, t1.`CONTACTNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PROCESSID`, t1.`RESOURCETYPE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`USERID`, t1.`USERNAME`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `BOOKABLERES` t1
<![CDATA[ SELECT t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`BOOKABLERESID`, t1.`BOOKABLERESNAME`, t1.`CALENDARID`, t1.`CONTACTID`, t1.`CONTACTNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PROCESSID`, t1.`RESOURCETYPE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`USERID`, t1.`USERNAME`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `BOOKABLERES` t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`BOOKABLERESID`, t1.`BOOKABLERESNAME`, t1.`CALENDARID`, t1.`CONTACTID`, t1.`CONTACTNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERIDTYPE`, t1.`OWNERNAME`, t1.`PROCESSID`, t1.`RESOURCETYPE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`USERID`, t1.`USERNAME`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `BOOKABLERES` t1
<![CDATA[ SELECT t1.`ACCOUNTID`, t1.`ACCOUNTNAME`, t1.`BOOKABLERESID`, t1.`BOOKABLERESNAME`, t1.`CALENDARID`, t1.`CONTACTID`, t1.`CONTACTNAME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`EXCHANGERATE`, t1.`IMPORTSEQUENCENUMBER`, t1.`OVERRIDDENCREATEDON`, t1.`OWNERID`, t1.`OWNERNAME`, t1.`OWNERTYPE`, t1.`PROCESSID`, t1.`RESOURCETYPE`, t1.`STAGEID`, t1.`STATECODE`, t1.`STATUSCODE`, t1.`TIMEZONE`, t1.`TIMEZONERULEVERSIONNUMBER`, t1.`TRANSACTIONCURRENCYID`, t1.`TRAVERSEDPATH`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`USERID`, t1.`USERNAME`, t1.`UTCCONVERSIONTIMEZONECODE`, t1.`VERSIONNUMBER` FROM `BOOKABLERES` t1
]]>
</sql>
</mapper>
......
......@@ -37,11 +37,6 @@
git clone -b master $para2 ibizbusinesscentral/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibizbusinesscentral/
mvn clean package -Pbusinesscentral
cd businesscentral-app/businesscentral-app-businesscentral
mvn -Pbusinesscentral docker:build
mvn -Pbusinesscentral docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/businesscentral-app-businesscentral.yaml iBizEE --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册