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

ibiz4j 发布系统代码

上级 e58f1668
......@@ -25,7 +25,6 @@
<el-table-column show-overflow-tooltip :prop="'deptid'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.deptid')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.deptid')}}
</span>
</template>
......@@ -55,7 +54,6 @@
<el-table-column show-overflow-tooltip :prop="'deptcode'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.deptcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.deptcode')}}
</span>
</template>
......@@ -85,7 +83,6 @@
<el-table-column show-overflow-tooltip :prop="'deptname'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.deptname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.deptname')}}
</span>
</template>
......@@ -115,7 +112,6 @@
<el-table-column show-overflow-tooltip :prop="'shortname'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.shortname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.shortname')}}
</span>
</template>
......@@ -145,7 +141,6 @@
<el-table-column show-overflow-tooltip :prop="'deptlevel'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.deptlevel')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.deptlevel')}}
</span>
</template>
......@@ -175,7 +170,6 @@
<el-table-column show-overflow-tooltip :prop="'bcode'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.bcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.bcode')}}
</span>
</template>
......@@ -205,7 +199,6 @@
<el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.showorder')}}
</span>
</template>
......@@ -235,7 +228,6 @@
<el-table-column show-overflow-tooltip :prop="'createdate'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.createdate')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.createdate')}}
</span>
</template>
......@@ -248,7 +240,6 @@
<el-table-column show-overflow-tooltip :prop="'updatedate'" :label="$t('entities.ibzdepartment.editgrid_grid.columns.updatedate')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.editgrid_grid.columns.updatedate')}}
</span>
</template>
......
......@@ -52,7 +52,7 @@
:value='data.leadername'
valueitem="leaderid"
:multiple="true"
filter="srforgid"
filter="orgid"
:fillmap="{'id':'leaderid','label':'leadername'}"
:disabled="detailsModel.leadername.disabled"
:data="data"
......
......@@ -25,7 +25,6 @@
<el-table-column show-overflow-tooltip :prop="'deptid'" :label="$t('entities.ibzdepartment.main_grid.columns.deptid')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.deptid')}}
</span>
</template>
......@@ -38,7 +37,6 @@
<el-table-column show-overflow-tooltip :prop="'deptcode'" :label="$t('entities.ibzdepartment.main_grid.columns.deptcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.deptcode')}}
</span>
</template>
......@@ -51,7 +49,6 @@
<el-table-column show-overflow-tooltip :prop="'deptname'" :label="$t('entities.ibzdepartment.main_grid.columns.deptname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.deptname')}}
</span>
</template>
......@@ -64,7 +61,6 @@
<el-table-column show-overflow-tooltip :prop="'shortname'" :label="$t('entities.ibzdepartment.main_grid.columns.shortname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.shortname')}}
</span>
</template>
......@@ -77,7 +73,6 @@
<el-table-column show-overflow-tooltip :prop="'deptlevel'" :label="$t('entities.ibzdepartment.main_grid.columns.deptlevel')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.deptlevel')}}
</span>
</template>
......@@ -90,7 +85,6 @@
<el-table-column show-overflow-tooltip :prop="'bcode'" :label="$t('entities.ibzdepartment.main_grid.columns.bcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.bcode')}}
</span>
</template>
......@@ -103,7 +97,6 @@
<el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzdepartment.main_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.showorder')}}
</span>
</template>
......@@ -116,7 +109,6 @@
<el-table-column show-overflow-tooltip :prop="'createdate'" :label="$t('entities.ibzdepartment.main_grid.columns.createdate')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.createdate')}}
</span>
</template>
......@@ -129,7 +121,6 @@
<el-table-column show-overflow-tooltip :prop="'updatedate'" :label="$t('entities.ibzdepartment.main_grid.columns.updatedate')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdepartment.main_grid.columns.updatedate')}}
</span>
</template>
......
......@@ -20,13 +20,13 @@
</i-col>
<i-col v-show="detailsModel.orgname.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='orgname' :itemRules="this.rules.orgname" class='' :caption="$t('entities.ibzdepartment.newform_form.details.orgname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.orgname.error" :isEmptyCaption="false" labelPos="LEFT">
<app-org-select :data="data" :context="JSON.parse(JSON.stringify(context))" :fillMap="{'id':'orgid','label':'orgname'}" :multiple="false" style="" @select-change="onFormItemValueChange"></app-org-select>
<app-org-select :data="data" :context="JSON.parse(JSON.stringify(context))" :fillMap="{'id':'orgid','label':'orgname'}" filter="srforgid" :multiple="false" style="" @select-change="onFormItemValueChange"></app-org-select>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.pdeptname.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='pdeptname' :itemRules="this.rules.pdeptname" class='' :caption="$t('entities.ibzdepartment.newform_form.details.pdeptname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.pdeptname.error" :isEmptyCaption="false" labelPos="LEFT">
<app-department-select :data="data" :context="JSON.parse(JSON.stringify(context))" :fillMap="{'id':'pdeptid','label':'pdeptname'}" :multiple="false" style="" @select-change="onFormItemValueChange"></app-department-select>
<app-department-select :data="data" :context="JSON.parse(JSON.stringify(context))" :fillMap="{'id':'pdeptid','label':'pdeptname'}" filter="srforgid" :multiple="false" style="" @select-change="onFormItemValueChange"></app-department-select>
</app-form-item>
</i-col>
......
......@@ -25,7 +25,6 @@
<el-table-column show-overflow-tooltip :prop="'deptname'" :label="$t('entities.ibzdeptmember.main_grid.columns.deptname')" :width="250" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdeptmember.main_grid.columns.deptname')}}
</span>
</template>
......@@ -47,7 +46,6 @@
<el-table-column show-overflow-tooltip :prop="'personname'" :label="$t('entities.ibzdeptmember.main_grid.columns.personname')" :width="250" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdeptmember.main_grid.columns.personname')}}
</span>
</template>
......@@ -60,7 +58,6 @@
<el-table-column show-overflow-tooltip :prop="'deptid'" :label="$t('entities.ibzdeptmember.main_grid.columns.deptid')" :width="100" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzdeptmember.main_grid.columns.deptid')}}
</span>
</template>
......
......@@ -25,7 +25,6 @@
<el-table-column show-overflow-tooltip :prop="'usercode'" :label="$t('entities.ibzemployee.editgrid_grid.columns.usercode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.usercode')}}
</span>
</template>
......@@ -55,7 +54,6 @@
<el-table-column show-overflow-tooltip :prop="'personname'" :label="$t('entities.ibzemployee.editgrid_grid.columns.personname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.personname')}}
</span>
</template>
......@@ -85,7 +83,6 @@
<el-table-column show-overflow-tooltip :prop="'loginname'" :label="$t('entities.ibzemployee.editgrid_grid.columns.loginname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.loginname')}}
</span>
</template>
......@@ -115,7 +112,6 @@
<el-table-column show-overflow-tooltip :prop="'orgcode'" :label="$t('entities.ibzemployee.editgrid_grid.columns.orgcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.orgcode')}}
</span>
</template>
......@@ -128,7 +124,6 @@
<el-table-column show-overflow-tooltip :prop="'orgname'" :label="$t('entities.ibzemployee.editgrid_grid.columns.orgname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.orgname')}}
</span>
</template>
......@@ -169,7 +164,6 @@
<el-table-column show-overflow-tooltip :prop="'mdeptcode'" :label="$t('entities.ibzemployee.editgrid_grid.columns.mdeptcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.mdeptcode')}}
</span>
</template>
......@@ -182,7 +176,6 @@
<el-table-column show-overflow-tooltip :prop="'mdeptname'" :label="$t('entities.ibzemployee.editgrid_grid.columns.mdeptname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.mdeptname')}}
</span>
</template>
......@@ -223,7 +216,6 @@
<el-table-column show-overflow-tooltip :prop="'sex'" :label="$t('entities.ibzemployee.editgrid_grid.columns.sex')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.sex')}}
</span>
</template>
......@@ -245,7 +237,6 @@
<el-table-column show-overflow-tooltip :prop="'phone'" :label="$t('entities.ibzemployee.editgrid_grid.columns.phone')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.phone')}}
</span>
</template>
......@@ -275,7 +266,6 @@
<el-table-column show-overflow-tooltip :prop="'ipaddr'" :label="$t('entities.ibzemployee.editgrid_grid.columns.ipaddr')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.ipaddr')}}
</span>
</template>
......@@ -305,7 +295,6 @@
<el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzemployee.editgrid_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.editgrid_grid.columns.showorder')}}
</span>
</template>
......
......@@ -25,7 +25,6 @@
<el-table-column show-overflow-tooltip :prop="'usercode'" :label="$t('entities.ibzemployee.main_grid.columns.usercode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.usercode')}}
</span>
</template>
......@@ -38,7 +37,6 @@
<el-table-column show-overflow-tooltip :prop="'personname'" :label="$t('entities.ibzemployee.main_grid.columns.personname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.personname')}}
</span>
</template>
......@@ -51,7 +49,6 @@
<el-table-column show-overflow-tooltip :prop="'loginname'" :label="$t('entities.ibzemployee.main_grid.columns.loginname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.loginname')}}
</span>
</template>
......@@ -64,7 +61,6 @@
<el-table-column show-overflow-tooltip :prop="'orgcode'" :label="$t('entities.ibzemployee.main_grid.columns.orgcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.orgcode')}}
</span>
</template>
......@@ -77,7 +73,6 @@
<el-table-column show-overflow-tooltip :prop="'orgname'" :label="$t('entities.ibzemployee.main_grid.columns.orgname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.orgname')}}
</span>
</template>
......@@ -90,7 +85,6 @@
<el-table-column show-overflow-tooltip :prop="'mdeptcode'" :label="$t('entities.ibzemployee.main_grid.columns.mdeptcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.mdeptcode')}}
</span>
</template>
......@@ -103,7 +97,6 @@
<el-table-column show-overflow-tooltip :prop="'mdeptname'" :label="$t('entities.ibzemployee.main_grid.columns.mdeptname')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.mdeptname')}}
</span>
</template>
......@@ -116,7 +109,6 @@
<el-table-column show-overflow-tooltip :prop="'sex'" :label="$t('entities.ibzemployee.main_grid.columns.sex')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.sex')}}
</span>
</template>
......@@ -131,7 +123,6 @@
<el-table-column show-overflow-tooltip :prop="'phone'" :label="$t('entities.ibzemployee.main_grid.columns.phone')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.phone')}}
</span>
</template>
......@@ -144,7 +135,6 @@
<el-table-column show-overflow-tooltip :prop="'ipaddr'" :label="$t('entities.ibzemployee.main_grid.columns.ipaddr')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.ipaddr')}}
</span>
</template>
......@@ -157,7 +147,6 @@
<el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzemployee.main_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzemployee.main_grid.columns.showorder')}}
</span>
</template>
......
......@@ -25,7 +25,6 @@
<el-table-column show-overflow-tooltip :prop="'orgid'" :label="$t('entities.ibzorganization.main_grid.columns.orgid')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.orgid')}}
</span>
</template>
......@@ -38,7 +37,6 @@
<el-table-column show-overflow-tooltip :prop="'orgcode'" :label="$t('entities.ibzorganization.main_grid.columns.orgcode')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.orgcode')}}
</span>
</template>
......@@ -51,7 +49,6 @@
<el-table-column show-overflow-tooltip :prop="'orgname'" :label="$t('entities.ibzorganization.main_grid.columns.orgname')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.orgname')}}
</span>
</template>
......@@ -64,7 +61,6 @@
<el-table-column show-overflow-tooltip :prop="'orglevel'" :label="$t('entities.ibzorganization.main_grid.columns.orglevel')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.orglevel')}}
</span>
</template>
......@@ -77,7 +73,6 @@
<el-table-column show-overflow-tooltip :prop="'shortname'" :label="$t('entities.ibzorganization.main_grid.columns.shortname')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.shortname')}}
</span>
</template>
......@@ -90,7 +85,6 @@
<el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.ibzorganization.main_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.showorder')}}
</span>
</template>
......@@ -103,7 +97,6 @@
<el-table-column show-overflow-tooltip :prop="'createdate'" :label="$t('entities.ibzorganization.main_grid.columns.createdate')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.createdate')}}
</span>
</template>
......@@ -116,7 +109,6 @@
<el-table-column show-overflow-tooltip :prop="'updatedate'" :label="$t('entities.ibzorganization.main_grid.columns.updatedate')" :width="200" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibzorganization.main_grid.columns.updatedate')}}
</span>
</template>
......
......@@ -126,7 +126,7 @@
<!--输出实体[IBZDEPT]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-ibzdept-625-4">
<changeSet author="a_A_5d9d78509" id="tab-ibzdept-628-4">
<createTable tableName="IBZDEPT">
<column name="DEPTID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBZDEPT_DEPTID"/>
......@@ -179,10 +179,10 @@
<addForeignKeyConstraint baseColumnNames="USERID" baseTableName="IBZDEPTMEMBER" constraintName="DER1N_IBZDEPTMEMBER_IBZEMP_USE" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="USERID" referencedTableName="IBZEMP" validate="true"/>
</changeSet>
<!--输出实体[IBZDEPT]外键关系 -->
<changeSet author="a_A_5d9d78509" id="fk-ibzdept-625-10">
<changeSet author="a_A_5d9d78509" id="fk-ibzdept-628-10">
<addForeignKeyConstraint baseColumnNames="PDEPTID" baseTableName="IBZDEPT" constraintName="DER1N_IBZDEPT_IBZDEPT_PDEPTID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="DEPTID" referencedTableName="IBZDEPT" validate="true"/>
</changeSet>
<changeSet author="a_A_5d9d78509" id="fk-ibzdept-625-11">
<changeSet author="a_A_5d9d78509" id="fk-ibzdept-628-11">
<addForeignKeyConstraint baseColumnNames="ORGID" baseTableName="IBZDEPT" constraintName="DER1N_IBZDEPT_IBZORG_ORGID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ORGID" referencedTableName="IBZORG" validate="true"/>
</changeSet>
......
......@@ -126,9 +126,9 @@ public class IBZDepartmentResource {
@Transactional
public ResponseEntity<IBZDepartmentDTO> update(@PathVariable("ibzdepartment_id") String ibzdepartment_id, @RequestBody IBZDepartmentDTO ibzdepartmentdto) {
IBZDepartment domain = ibzdepartmentMapping.toDomain(ibzdepartmentdto);
domain.setDeptid(ibzdepartment_id);
ibzdepartmentService.update(domain);
IBZDepartmentDTO dto = ibzdepartmentMapping.toDto(domain);
domain .setDeptid(ibzdepartment_id);
ibzdepartmentService.update(domain );
IBZDepartmentDTO dto = ibzdepartmentMapping.toDto(domain );
return ResponseEntity.status(HttpStatus.OK).body(dto);
}
......
......@@ -53,9 +53,9 @@ public class IBZDeptMemberResource {
@Transactional
public ResponseEntity<IBZDeptMemberDTO> update(@PathVariable("ibzdeptmember_id") String ibzdeptmember_id, @RequestBody IBZDeptMemberDTO ibzdeptmemberdto) {
IBZDeptMember domain = ibzdeptmemberMapping.toDomain(ibzdeptmemberdto);
domain.setMemberid(ibzdeptmember_id);
ibzdeptmemberService.update(domain);
IBZDeptMemberDTO dto = ibzdeptmemberMapping.toDto(domain);
domain .setMemberid(ibzdeptmember_id);
ibzdeptmemberService.update(domain );
IBZDeptMemberDTO dto = ibzdeptmemberMapping.toDto(domain );
return ResponseEntity.status(HttpStatus.OK).body(dto);
}
......
......@@ -69,6 +69,7 @@ public class IBZEmployeeResource {
@Transactional
public ResponseEntity<IBZEmployeeDTO> initPwd(@PathVariable("ibzemployee_id") String ibzemployee_id, @RequestBody IBZEmployeeDTO ibzemployeedto) {
IBZEmployee ibzemployee = ibzemployeeMapping.toDomain(ibzemployeedto);
ibzemployee.setUserid(ibzemployee_id);
ibzemployee = ibzemployeeService.initPwd(ibzemployee);
ibzemployeedto = ibzemployeeMapping.toDto(ibzemployee);
return ResponseEntity.status(HttpStatus.OK).body(ibzemployeedto);
......@@ -106,9 +107,9 @@ public class IBZEmployeeResource {
@Transactional
public ResponseEntity<IBZEmployeeDTO> update(@PathVariable("ibzemployee_id") String ibzemployee_id, @RequestBody IBZEmployeeDTO ibzemployeedto) {
IBZEmployee domain = ibzemployeeMapping.toDomain(ibzemployeedto);
domain.setUserid(ibzemployee_id);
ibzemployeeService.update(domain);
IBZEmployeeDTO dto = ibzemployeeMapping.toDto(domain);
domain .setUserid(ibzemployee_id);
ibzemployeeService.update(domain );
IBZEmployeeDTO dto = ibzemployeeMapping.toDto(domain );
return ResponseEntity.status(HttpStatus.OK).body(dto);
}
......
......@@ -60,9 +60,9 @@ public class IBZOrganizationResource {
@Transactional
public ResponseEntity<IBZOrganizationDTO> update(@PathVariable("ibzorganization_id") String ibzorganization_id, @RequestBody IBZOrganizationDTO ibzorganizationdto) {
IBZOrganization domain = ibzorganizationMapping.toDomain(ibzorganizationdto);
domain.setOrgid(ibzorganization_id);
ibzorganizationService.update(domain);
IBZOrganizationDTO dto = ibzorganizationMapping.toDto(domain);
domain .setOrgid(ibzorganization_id);
ibzorganizationService.update(domain );
IBZOrganizationDTO dto = ibzorganizationMapping.toDto(domain );
return ResponseEntity.status(HttpStatus.OK).body(dto);
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册