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

zhouweidong 发布系统代码 [ibz-wf,统一工作流]

上级 58b69a21
...@@ -12,6 +12,7 @@ function getLocaleResourceBase(){ ...@@ -12,6 +12,7 @@ function getLocaleResourceBase(){
endtime: commonLogic.appcommonhandle("结束时间",null), endtime: commonLogic.appcommonhandle("结束时间",null),
startuserid: commonLogic.appcommonhandle("发起人标识",null), startuserid: commonLogic.appcommonhandle("发起人标识",null),
startusername: commonLogic.appcommonhandle("发起人",null), startusername: commonLogic.appcommonhandle("发起人",null),
processdefinitionid: commonLogic.appcommonhandle("DefinitionId",null),
}, },
views: { views: {
activeinstancegridview: { activeinstancegridview: {
...@@ -37,6 +38,7 @@ function getLocaleResourceBase(){ ...@@ -37,6 +38,7 @@ function getLocaleResourceBase(){
taskdefinitionname: commonLogic.appcommonhandle("流程步骤",null), taskdefinitionname: commonLogic.appcommonhandle("流程步骤",null),
taskdefinitionkey: commonLogic.appcommonhandle("流程步骤标识",null), taskdefinitionkey: commonLogic.appcommonhandle("流程步骤标识",null),
definitionkey: commonLogic.appcommonhandle("流程定义标识",null), definitionkey: commonLogic.appcommonhandle("流程定义标识",null),
definitionid: commonLogic.appcommonhandle("DefinitionId",null),
wfusers: commonLogic.appcommonhandle("操作用户",null), wfusers: commonLogic.appcommonhandle("操作用户",null),
instanceid: commonLogic.appcommonhandle("实例标识",null), instanceid: commonLogic.appcommonhandle("实例标识",null),
}, },
...@@ -46,7 +48,6 @@ function getLocaleResourceBase(){ ...@@ -46,7 +48,6 @@ function getLocaleResourceBase(){
main_grid: { main_grid: {
columns: { columns: {
definitionname: commonLogic.appcommonhandle("流程定义名称",null), definitionname: commonLogic.appcommonhandle("流程定义名称",null),
definitionkey: commonLogic.appcommonhandle("流程定义标识",null),
instancename: commonLogic.appcommonhandle("实例名称",null), instancename: commonLogic.appcommonhandle("实例名称",null),
businesskey: commonLogic.appcommonhandle("业务键值",null), businesskey: commonLogic.appcommonhandle("业务键值",null),
starttime: commonLogic.appcommonhandle("启动时间",null), starttime: commonLogic.appcommonhandle("启动时间",null),
......
...@@ -12,6 +12,7 @@ function getLocaleResourceBase(){ ...@@ -12,6 +12,7 @@ function getLocaleResourceBase(){
endtime: commonLogic.appcommonhandle("结束时间",null), endtime: commonLogic.appcommonhandle("结束时间",null),
startuserid: commonLogic.appcommonhandle("发起人标识",null), startuserid: commonLogic.appcommonhandle("发起人标识",null),
startusername: commonLogic.appcommonhandle("发起人",null), startusername: commonLogic.appcommonhandle("发起人",null),
processdefinitionid: commonLogic.appcommonhandle("DefinitionId",null),
}, },
views: { views: {
activeinstancegridview: { activeinstancegridview: {
...@@ -37,6 +38,7 @@ function getLocaleResourceBase(){ ...@@ -37,6 +38,7 @@ function getLocaleResourceBase(){
taskdefinitionname: commonLogic.appcommonhandle("流程步骤",null), taskdefinitionname: commonLogic.appcommonhandle("流程步骤",null),
taskdefinitionkey: commonLogic.appcommonhandle("流程步骤标识",null), taskdefinitionkey: commonLogic.appcommonhandle("流程步骤标识",null),
definitionkey: commonLogic.appcommonhandle("流程定义标识",null), definitionkey: commonLogic.appcommonhandle("流程定义标识",null),
definitionid: commonLogic.appcommonhandle("DefinitionId",null),
wfusers: commonLogic.appcommonhandle("操作用户",null), wfusers: commonLogic.appcommonhandle("操作用户",null),
instanceid: commonLogic.appcommonhandle("实例标识",null), instanceid: commonLogic.appcommonhandle("实例标识",null),
}, },
...@@ -46,7 +48,6 @@ function getLocaleResourceBase(){ ...@@ -46,7 +48,6 @@ function getLocaleResourceBase(){
main_grid: { main_grid: {
columns: { columns: {
definitionname: commonLogic.appcommonhandle("流程定义名称",null), definitionname: commonLogic.appcommonhandle("流程定义名称",null),
definitionkey: commonLogic.appcommonhandle("流程定义标识",null),
instancename: commonLogic.appcommonhandle("实例名称",null), instancename: commonLogic.appcommonhandle("实例名称",null),
businesskey: commonLogic.appcommonhandle("业务键值",null), businesskey: commonLogic.appcommonhandle("业务键值",null),
starttime: commonLogic.appcommonhandle("启动时间",null), starttime: commonLogic.appcommonhandle("启动时间",null),
......
...@@ -12,6 +12,7 @@ function getLocaleResourceBase(){ ...@@ -12,6 +12,7 @@ function getLocaleResourceBase(){
endtime: commonLogic.appcommonhandle("结束时间",null), endtime: commonLogic.appcommonhandle("结束时间",null),
startuserid: commonLogic.appcommonhandle("发起人标识",null), startuserid: commonLogic.appcommonhandle("发起人标识",null),
startusername: commonLogic.appcommonhandle("发起人",null), startusername: commonLogic.appcommonhandle("发起人",null),
processdefinitionid: commonLogic.appcommonhandle("DefinitionId",null),
}, },
views: { views: {
activeinstancegridview: { activeinstancegridview: {
...@@ -37,6 +38,7 @@ function getLocaleResourceBase(){ ...@@ -37,6 +38,7 @@ function getLocaleResourceBase(){
taskdefinitionname: commonLogic.appcommonhandle("流程步骤",null), taskdefinitionname: commonLogic.appcommonhandle("流程步骤",null),
taskdefinitionkey: commonLogic.appcommonhandle("流程步骤标识",null), taskdefinitionkey: commonLogic.appcommonhandle("流程步骤标识",null),
definitionkey: commonLogic.appcommonhandle("流程定义标识",null), definitionkey: commonLogic.appcommonhandle("流程定义标识",null),
definitionid: commonLogic.appcommonhandle("DefinitionId",null),
wfusers: commonLogic.appcommonhandle("操作用户",null), wfusers: commonLogic.appcommonhandle("操作用户",null),
instanceid: commonLogic.appcommonhandle("实例标识",null), instanceid: commonLogic.appcommonhandle("实例标识",null),
}, },
...@@ -46,7 +48,6 @@ function getLocaleResourceBase(){ ...@@ -46,7 +48,6 @@ function getLocaleResourceBase(){
main_grid: { main_grid: {
columns: { columns: {
definitionname: commonLogic.appcommonhandle("流程定义名称",null), definitionname: commonLogic.appcommonhandle("流程定义名称",null),
definitionkey: commonLogic.appcommonhandle("流程定义标识",null),
instancename: commonLogic.appcommonhandle("实例名称",null), instancename: commonLogic.appcommonhandle("实例名称",null),
businesskey: commonLogic.appcommonhandle("业务键值",null), businesskey: commonLogic.appcommonhandle("业务键值",null),
starttime: commonLogic.appcommonhandle("启动时间",null), starttime: commonLogic.appcommonhandle("启动时间",null),
......
...@@ -9,6 +9,7 @@ function getLocaleResourceBase(){ ...@@ -9,6 +9,7 @@ function getLocaleResourceBase(){
processdefinitionname: commonLogic.appcommonhandle("流程定义名称",null), processdefinitionname: commonLogic.appcommonhandle("流程定义名称",null),
version: commonLogic.appcommonhandle("版本",null), version: commonLogic.appcommonhandle("版本",null),
cnt: commonLogic.appcommonhandle("数量",null), cnt: commonLogic.appcommonhandle("数量",null),
processdefinitionid: commonLogic.appcommonhandle("DefinitionId",null),
}, },
views: { views: {
pickupview: { pickupview: {
......
...@@ -9,6 +9,7 @@ function getLocaleResourceBase(){ ...@@ -9,6 +9,7 @@ function getLocaleResourceBase(){
processdefinitionname: commonLogic.appcommonhandle("流程定义名称",null), processdefinitionname: commonLogic.appcommonhandle("流程定义名称",null),
version: commonLogic.appcommonhandle("版本",null), version: commonLogic.appcommonhandle("版本",null),
cnt: commonLogic.appcommonhandle("数量",null), cnt: commonLogic.appcommonhandle("数量",null),
processdefinitionid: commonLogic.appcommonhandle("DefinitionId",null),
}, },
views: { views: {
pickupview: { pickupview: {
......
...@@ -9,6 +9,7 @@ function getLocaleResourceBase(){ ...@@ -9,6 +9,7 @@ function getLocaleResourceBase(){
processdefinitionname: commonLogic.appcommonhandle("流程定义名称",null), processdefinitionname: commonLogic.appcommonhandle("流程定义名称",null),
version: commonLogic.appcommonhandle("版本",null), version: commonLogic.appcommonhandle("版本",null),
cnt: commonLogic.appcommonhandle("数量",null), cnt: commonLogic.appcommonhandle("数量",null),
processdefinitionid: commonLogic.appcommonhandle("DefinitionId",null),
}, },
views: { views: {
pickupview: { pickupview: {
......
...@@ -134,7 +134,7 @@ export default class WFProcessInstanceUIServiceBase extends UIService { ...@@ -134,7 +134,7 @@ export default class WFProcessInstanceUIServiceBase extends UIService {
let parentContext:any = {}; let parentContext:any = {};
let parentViewParam:any = {}; let parentViewParam:any = {};
const _this: any = actionContext; const _this: any = actionContext;
Object.assign(context,{PROCESSDEFINITIONKEY:"%definitionkey%"}); Object.assign(context,{PROCESSDEFINITIONID:"%definitionid%"});
const _args: any[] = Util.deepCopy(args); const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'SINGLEKEY'; const actionTarget: string | null = 'SINGLEKEY';
Object.assign(context, { wfprocessinstance: '%wfprocessinstance%' }); Object.assign(context, { wfprocessinstance: '%wfprocessinstance%' });
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:localContext ='{ }' :localContext ='{ }'
:localParam ='{ n_definitionkey_eq:"%definitionkey%" }' :localParam ='{ n_definitionkey_eq:"%definitionid%" }'
:disabled="detailsModel.taskdefinitionname.disabled" :disabled="detailsModel.taskdefinitionname.disabled"
name='taskdefinitionname' name='taskdefinitionname'
...@@ -58,6 +58,20 @@ ...@@ -58,6 +58,20 @@
</app-form-item> </app-form-item>
</i-col>
<i-col v-show="detailsModel.definitionid.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='definitionid' :itemRules="this.rules().definitionid" class='' :caption="$t('entities.wfprocessinstance.jump_form.details.definitionid')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.definitionid.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.definitionid"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.definitionid.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.wfusers.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.wfusers.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='wfusers' :itemRules="this.rules().wfusers" class='' :caption="$t('entities.wfprocessinstance.jump_form.details.wfusers')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.wfusers.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='wfusers' :itemRules="this.rules().wfusers" class='' :caption="$t('entities.wfprocessinstance.jump_form.details.wfusers')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.wfusers.error" :isEmptyCaption="false" labelPos="LEFT">
...@@ -493,6 +507,7 @@ export default class JumpBase extends Vue implements ControlInterface { ...@@ -493,6 +507,7 @@ export default class JumpBase extends Vue implements ControlInterface {
taskdefinitionname: null, taskdefinitionname: null,
taskdefinitionkey: null, taskdefinitionkey: null,
definitionkey: null, definitionkey: null,
definitionid: null,
wfusers: null, wfusers: null,
instanceid: null, instanceid: null,
wfprocessinstance:null, wfprocessinstance:null,
...@@ -558,6 +573,10 @@ export default class JumpBase extends Vue implements ControlInterface { ...@@ -558,6 +573,10 @@ export default class JumpBase extends Vue implements ControlInterface {
{ required: this.detailsModel.definitionkey.required, type: 'string', message: '流程定义标识 值不能为空', trigger: 'change' }, { required: this.detailsModel.definitionkey.required, type: 'string', message: '流程定义标识 值不能为空', trigger: 'change' },
{ required: this.detailsModel.definitionkey.required, type: 'string', message: '流程定义标识 值不能为空', trigger: 'blur' }, { required: this.detailsModel.definitionkey.required, type: 'string', message: '流程定义标识 值不能为空', trigger: 'blur' },
], ],
definitionid: [
{ required: this.detailsModel.definitionid.required, type: 'string', message: 'DefinitionId 值不能为空', trigger: 'change' },
{ required: this.detailsModel.definitionid.required, type: 'string', message: 'DefinitionId 值不能为空', trigger: 'blur' },
],
wfusers: [ wfusers: [
{ required: this.detailsModel.wfusers.required, type: 'string', message: '操作用户 值不能为空', trigger: 'change' }, { required: this.detailsModel.wfusers.required, type: 'string', message: '操作用户 值不能为空', trigger: 'change' },
{ required: this.detailsModel.wfusers.required, type: 'string', message: '操作用户 值不能为空', trigger: 'blur' }, { required: this.detailsModel.wfusers.required, type: 'string', message: '操作用户 值不能为空', trigger: 'blur' },
...@@ -692,6 +711,8 @@ export default class JumpBase extends Vue implements ControlInterface { ...@@ -692,6 +711,8 @@ export default class JumpBase extends Vue implements ControlInterface {
taskdefinitionkey: new FormItemModel({ caption: '流程步骤标识', detailType: 'FORMITEM', name: 'taskdefinitionkey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) taskdefinitionkey: new FormItemModel({ caption: '流程步骤标识', detailType: 'FORMITEM', name: 'taskdefinitionkey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
definitionkey: new FormItemModel({ caption: '流程定义标识', detailType: 'FORMITEM', name: 'definitionkey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) definitionkey: new FormItemModel({ caption: '流程定义标识', detailType: 'FORMITEM', name: 'definitionkey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
definitionid: new FormItemModel({ caption: 'DefinitionId', detailType: 'FORMITEM', name: 'definitionid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
wfusers: new FormItemModel({ caption: '操作用户', detailType: 'FORMITEM', name: 'wfusers', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:true, disabled: false, enableCond: 3 }) wfusers: new FormItemModel({ caption: '操作用户', detailType: 'FORMITEM', name: 'wfusers', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:true, disabled: false, enableCond: 3 })
, ,
...@@ -819,6 +840,18 @@ export default class JumpBase extends Vue implements ControlInterface { ...@@ -819,6 +840,18 @@ export default class JumpBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'definitionkey', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'definitionkey', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 definitionid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof JumpBase
*/
@Watch('data.definitionid')
onDefinitionidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'definitionid', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 wfusers 值 * 监控表单属性 wfusers 值
* *
...@@ -911,6 +944,7 @@ export default class JumpBase extends Vue implements ControlInterface { ...@@ -911,6 +944,7 @@ export default class JumpBase extends Vue implements ControlInterface {
} }
/** /**
...@@ -1999,6 +2033,9 @@ export default class JumpBase extends Vue implements ControlInterface { ...@@ -1999,6 +2033,9 @@ export default class JumpBase extends Vue implements ControlInterface {
if (this.data.hasOwnProperty('definitionkey')) { if (this.data.hasOwnProperty('definitionkey')) {
this.data['definitionkey'] = this.context['processdefinitionkey']; this.data['definitionkey'] = this.context['processdefinitionkey'];
} }
if (this.data.hasOwnProperty('definitionid')) {
this.data['definitionid'] = this.context['processdefinitionid'];
}
} }
/** /**
...@@ -2009,6 +2046,9 @@ export default class JumpBase extends Vue implements ControlInterface { ...@@ -2009,6 +2046,9 @@ export default class JumpBase extends Vue implements ControlInterface {
if (this.data.hasOwnProperty('definitionkey') && !this.data.definitionkey) { if (this.data.hasOwnProperty('definitionkey') && !this.data.definitionkey) {
this.data['definitionkey'] = this.context['processdefinitionkey']; this.data['definitionkey'] = this.context['processdefinitionkey'];
} }
if (this.data.hasOwnProperty('definitionid') && !this.data.definitionid) {
this.data['definitionid'] = this.context['processdefinitionid'];
}
} }
......
...@@ -63,6 +63,11 @@ export default class JumpModel { ...@@ -63,6 +63,11 @@ export default class JumpModel {
prop: 'processdefinitionkey', prop: 'processdefinitionkey',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'definitionid',
prop: 'processdefinitionid',
dataType: 'TEXT',
},
{ {
name: 'wfusers', name: 'wfusers',
dataType:'FORMITEM', dataType:'FORMITEM',
......
...@@ -34,18 +34,6 @@ ...@@ -34,18 +34,6 @@
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<template v-if="getColumnState('definitionkey')">
<el-table-column show-overflow-tooltip :prop="'definitionkey'" :label="$t('entities.wfprocessinstance.main_grid.columns.definitionkey')" :width="250" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.wfprocessinstance.main_grid.columns.definitionkey')}}
</span>
</template>
<template v-slot="{row,column,$index}">
<span>{{row.definitionkey}}</span>
</template>
</el-table-column>
</template>
<template v-if="getColumnState('instancename')"> <template v-if="getColumnState('instancename')">
<el-table-column show-overflow-tooltip :prop="'instancename'" :label="$t('entities.wfprocessinstance.main_grid.columns.instancename')" :width="250" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'instancename'" :label="$t('entities.wfprocessinstance.main_grid.columns.instancename')" :width="250" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
...@@ -648,15 +636,6 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -648,15 +636,6 @@ export default class MainBase extends Vue implements ControlInterface {
isEnableRowEdit: false, isEnableRowEdit: false,
enableCond: 3 , enableCond: 3 ,
}, },
{
name: 'definitionkey',
label: '流程定义标识',
langtag: 'entities.wfprocessinstance.main_grid.columns.definitionkey',
show: true,
unit: 'PX',
isEnableRowEdit: false,
enableCond: 3 ,
},
{ {
name: 'instancename', name: 'instancename',
label: '实例名称', label: '实例名称',
...@@ -1400,7 +1379,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1400,7 +1379,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public arraySpanMethod({row, column, rowIndex, columnIndex} : any) { public arraySpanMethod({row, column, rowIndex, columnIndex} : any) {
let allColumns:Array<any> = ['definitionname','definitionkey','instancename','businesskey','starttime','startuserid']; let allColumns:Array<any> = ['definitionname','instancename','businesskey','starttime','startuserid'];
if(row && row.children) { if(row && row.children) {
if(columnIndex == (this.isSingleSelect ? 0:1)) { if(columnIndex == (this.isSingleSelect ? 0:1)) {
return [1, allColumns.length+1]; return [1, allColumns.length+1];
...@@ -1481,7 +1460,6 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1481,7 +1460,6 @@ export default class MainBase extends Vue implements ControlInterface {
groupById: Number((i+1)*100), groupById: Number((i+1)*100),
group: group.label, group: group.label,
definitionname:'', definitionname:'',
definitionkey:'',
instancename:'', instancename:'',
businesskey:'', businesskey:'',
starttime:'', starttime:'',
...@@ -1513,7 +1491,6 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1513,7 +1491,6 @@ export default class MainBase extends Vue implements ControlInterface {
groupById: Number((allGroup.length+1)*100), groupById: Number((allGroup.length+1)*100),
group: this.$t('app.gridpage.other'), group: this.$t('app.gridpage.other'),
definitionname:'', definitionname:'',
definitionkey:'',
instancename:'', instancename:'',
businesskey:'', businesskey:'',
starttime:'', starttime:'',
...@@ -1565,7 +1542,6 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1565,7 +1542,6 @@ export default class MainBase extends Vue implements ControlInterface {
groupById: Number((groupIndex+1)*100), groupById: Number((groupIndex+1)*100),
group: group, group: group,
definitionname:'', definitionname:'',
definitionkey:'',
instancename:'', instancename:'',
businesskey:'', businesskey:'',
starttime:'', starttime:'',
......
...@@ -31,11 +31,6 @@ export default class MainModel { ...@@ -31,11 +31,6 @@ export default class MainModel {
prop: 'processdefinitionname', prop: 'processdefinitionname',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'definitionkey',
prop: 'processdefinitionkey',
dataType: 'TEXT',
},
{ {
name: 'instancename', name: 'instancename',
prop: 'name', prop: 'name',
...@@ -56,6 +51,16 @@ export default class MainModel { ...@@ -56,6 +51,16 @@ export default class MainModel {
prop: 'startuserid', prop: 'startuserid',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'definitionid',
prop: 'processdefinitionid',
dataType: 'TEXT',
},
{
name: 'definitionkey',
prop: 'processdefinitionkey',
dataType: 'TEXT',
},
{ {
name: 'srfkey', name: 'srfkey',
prop: 'id', prop: 'id',
......
...@@ -33,6 +33,9 @@ export default class PickupViewpickupviewpanelModel { ...@@ -33,6 +33,9 @@ export default class PickupViewpickupviewpanelModel {
{ {
name: 'cnt', name: 'cnt',
}, },
{
name: 'processdefinitionid',
},
] ]
} }
......
...@@ -117,6 +117,15 @@ public class WFProcessInstance extends EntityBase implements Serializable { ...@@ -117,6 +117,15 @@ public class WFProcessInstance extends EntityBase implements Serializable {
@ApiModelProperty("发起人") @ApiModelProperty("发起人")
private String startusername; private String startusername;
/**
* DefinitionId
*/
@DEField(name = "definitionid")
@JSONField(name = "processDefinitionId")
@JsonProperty("processDefinitionId")
@ApiModelProperty("DefinitionId")
private String processdefinitionid;
......
...@@ -91,6 +91,15 @@ public class WFProcessNode extends EntityBase implements Serializable { ...@@ -91,6 +91,15 @@ public class WFProcessNode extends EntityBase implements Serializable {
@ApiModelProperty("数量") @ApiModelProperty("数量")
private Integer cnt; private Integer cnt;
/**
* DefinitionId
*/
@DEField(name = "definitionid")
@JSONField(name = "processDefinitionId")
@JsonProperty("processDefinitionId")
@ApiModelProperty("DefinitionId")
private String processdefinitionid;
......
...@@ -33,6 +33,8 @@ public class WFProcessNodeSearchContext extends SearchContextBase { ...@@ -33,6 +33,8 @@ public class WFProcessNodeSearchContext extends SearchContextBase {
private String n_definitionkey_leftlike;//[DefinitionKey] private String n_definitionkey_leftlike;//[DefinitionKey]
private String n_definitionid_eq;//[DefinitionId]
} }
...@@ -703,6 +703,20 @@ ...@@ -703,6 +703,20 @@
"key_field":0, "key_field":0,
"show_order":9, "show_order":9,
"major_field":0 "major_field":0
},
{
"fieldname":"DEFINITIONID" ,
"codename":"ProcessDefinitionId",
"field_logic_name":"DefinitionId",
"entity_name":"WF_INSTANCE",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":10,
"major_field":0
} }
], ],
"subEntitys":[ "subEntitys":[
...@@ -802,6 +816,20 @@ ...@@ -802,6 +816,20 @@
"key_field":0, "key_field":0,
"show_order":7, "show_order":7,
"major_field":0 "major_field":0
},
{
"fieldname":"DEFINITIONID" ,
"codename":"ProcessDefinitionId",
"field_logic_name":"DefinitionId",
"entity_name":"WF_DEFINITION_NODE",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":8,
"major_field":0
} }
], ],
"subEntitys":[ "subEntitys":[
......
...@@ -122,6 +122,16 @@ public class WFProcessInstanceDTO extends DTOBase implements Serializable { ...@@ -122,6 +122,16 @@ public class WFProcessInstanceDTO extends DTOBase implements Serializable {
@ApiModelProperty("发起人") @ApiModelProperty("发起人")
private String startusername; private String startusername;
/**
* 属性 [DEFINITIONID]
*
*/
@JSONField(name = "processdefinitionid")
@JsonProperty("processdefinitionid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("DefinitionId")
private String processdefinitionid;
/** /**
* 设置 [INSTANCENAME] * 设置 [INSTANCENAME]
...@@ -187,6 +197,14 @@ public class WFProcessInstanceDTO extends DTOBase implements Serializable { ...@@ -187,6 +197,14 @@ public class WFProcessInstanceDTO extends DTOBase implements Serializable {
this.modify("startusername",startusername); this.modify("startusername",startusername);
} }
/**
* 设置 [DEFINITIONID]
*/
public void setProcessdefinitionid(String processdefinitionid){
this.processdefinitionid = processdefinitionid ;
this.modify("definitionid",processdefinitionid);
}
} }
......
...@@ -90,6 +90,16 @@ public class WFProcessNodeDTO extends DTOBase implements Serializable { ...@@ -90,6 +90,16 @@ public class WFProcessNodeDTO extends DTOBase implements Serializable {
@ApiModelProperty("数量") @ApiModelProperty("数量")
private Integer cnt; private Integer cnt;
/**
* 属性 [DEFINITIONID]
*
*/
@JSONField(name = "processdefinitionid")
@JsonProperty("processdefinitionid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
@ApiModelProperty("DefinitionId")
private String processdefinitionid;
/** /**
* 设置 [NODENAME] * 设置 [NODENAME]
...@@ -131,6 +141,14 @@ public class WFProcessNodeDTO extends DTOBase implements Serializable { ...@@ -131,6 +141,14 @@ public class WFProcessNodeDTO extends DTOBase implements Serializable {
this.modify("cnt",cnt); this.modify("cnt",cnt);
} }
/**
* 设置 [DEFINITIONID]
*/
public void setProcessdefinitionid(String processdefinitionid){
this.processdefinitionid = processdefinitionid ;
this.modify("definitionid",processdefinitionid);
}
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册