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

ibiz4j 发布系统代码

上级 7d7ee0a4
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
"element-ui": "^2.13.0", "element-ui": "^2.13.0",
"file-saver": "^2.0.2", "file-saver": "^2.0.2",
"font-awesome": "^4.7.0", "font-awesome": "^4.7.0",
"ibiz-gantt-elastic": "^1.0.16", "ibiz-gantt-elastic": "^1.0.17",
"ibiz-vue-lib": "^0.1.10", "ibiz-vue-lib": "^0.1.10",
"interactjs": "^1.9.4", "interactjs": "^1.9.4",
"moment": "^2.24.0", "moment": "^2.24.0",
......
...@@ -28,21 +28,25 @@ ...@@ -28,21 +28,25 @@
<dropdown-menu slot='list' v-if="uiActionGroup.details && Array.isArray(uiActionGroup.details)"> <dropdown-menu slot='list' v-if="uiActionGroup.details && Array.isArray(uiActionGroup.details)">
<dropdown-item v-for="(detail,index) in (uiActionGroup.details)" :key="index" :name="detail.name"> <dropdown-item v-for="(detail,index) in (uiActionGroup.details)" :key="index" :name="detail.name">
<span class='item' @click="doUIAction($event, detail)"> <span class='item' @click="doUIAction($event, detail)">
<template v-if="detail.icon && !Object.is(detail.icon, '')"> <template v-if="detail.isShowIcon">
<i :class="detail.icon" ></i> <template v-if="detail.icon && !Object.is(detail.icon, '')">
</template> <i :class="detail.icon" ></i>
<template v-if="!(detail.icon && !Object.is(detail.icon, ''))"> </template>
<div v-if="detail.img && !Object.is(detail.img, '')"> <template v-if="!(detail.icon && !Object.is(detail.icon, ''))">
<img :src="detail.img" /> <div v-if="detail.img && !Object.is(detail.img, '')">
</div> <img :src="detail.img" />
</div>
</template>
</template> </template>
&nbsp; &nbsp;
<span> <span>
<template v-if="uiActionGroup.langbase && !Object.is(uiActionGroup.langbase, '') && detail.uiactiontag && !Object.is(detail.uiactiontag, '')"> <template v-if="detail.isShowCaption">
{{$t(`${uiActionGroup.langbase}.uiactions.${detail.uiactiontag}`)}} <template v-if="uiActionGroup.langbase && !Object.is(uiActionGroup.langbase, '') && detail.uiactiontag && !Object.is(detail.uiactiontag, '')">
</template> {{$t(`${uiActionGroup.langbase}.uiactions.${detail.uiactiontag}`)}}
<template v-if="!(uiActionGroup.langbase && !Object.is(uiActionGroup.langbase, '') && detail.uiactiontag && !Object.is(detail.uiactiontag, ''))"> </template>
{{detail.caption}} <template v-if="!(uiActionGroup.langbase && !Object.is(uiActionGroup.langbase, '') && detail.uiactiontag && !Object.is(detail.uiactiontag, ''))">
{{detail.caption}}
</template>
</template> </template>
</span> </span>
</span> </span>
...@@ -55,21 +59,25 @@ ...@@ -55,21 +59,25 @@
<template v-if="uiActionGroup.details && Array.isArray(uiActionGroup.details)"> <template v-if="uiActionGroup.details && Array.isArray(uiActionGroup.details)">
<div v-for="(detail,index) in uiActionGroup.details" :key="index"> <div v-for="(detail,index) in uiActionGroup.details" :key="index">
<span class='item' @click="doUIAction($event, detail)"> <span class='item' @click="doUIAction($event, detail)">
<template v-if="detail.icon && !Object.is(detail.icon, '')"> <template v-if="detail.isShowIcon">
<i :class="detail.icon" ></i> <template v-if="detail.icon && !Object.is(detail.icon, '')">
</template> <i :class="detail.icon" ></i>
<template v-if="!(detail.icon && !Object.is(detail.icon, ''))"> </template>
<div v-if="detail.img && !Object.is(detail.img, '')"> <template v-if="!(detail.icon && !Object.is(detail.icon, ''))">
<img :src="detail.img" /> <div v-if="detail.img && !Object.is(detail.img, '')">
</div> <img :src="detail.img" />
</template> </div>
</template>
</template>
&nbsp; &nbsp;
<span> <span>
<template v-if="uiActionGroup.langbase && !Object.is(uiActionGroup.langbase, '') && detail.uiactiontag && !Object.is(detail.uiactiontag, '')"> <template v-if="detail.isShowCaption">
{{$t(`${uiActionGroup.langbase}.uiactions.${detail.uiactiontag}`)}} <template v-if="uiActionGroup.langbase && !Object.is(uiActionGroup.langbase, '') && detail.uiactiontag && !Object.is(detail.uiactiontag, '')">
</template> {{$t(`${uiActionGroup.langbase}.uiactions.${detail.uiactiontag}`)}}
<template v-if="!(uiActionGroup.langbase && !Object.is(uiActionGroup.langbase, '') && detail.uiactiontag && !Object.is(detail.uiactiontag, ''))"> </template>
{{detail.caption}} <template v-if="!(uiActionGroup.langbase && !Object.is(uiActionGroup.langbase, '') && detail.uiactiontag && !Object.is(detail.uiactiontag, ''))">
{{detail.caption}}
</template>
</template> </template>
</span> </span>
</span> </span>
......
.ivu-select-dropdown { .transfer-select{
padding: 0px; .ivu-select-dropdown {
.hidden { padding: 0px;
display: none; .hidden {
} display: none;
} }
\ No newline at end of file .el-transfer{
min-width: 100% !important;
display: flex;
justify-content: space-between;
.el-transfer-panel{
min-width: 25%;
}
.el-transfer__buttons{
align-self: center;
}
}
}
}
<template> <template>
<Select <Select
@on-open-change="transferRefresh" class="transfer-select"
@on-change="dataChange" @on-open-change="transferRefresh"
v-model="dataRight" @on-change="dataChange"
:style="{width:width?width:'586px'}" v-model="dataRight"
multiple :style="{width:width}"
> :disabled="disabled"
<Option class="hidden" :value="item" v-for="(item,i) in dataRight" :key="i">{{findLabel(item)}}</Option> :placeholder="placeholder"
<el-transfer v-model="dataRight" :data="dataLeft" @change="dataChange" :titles="['未选择', '已选择']"></el-transfer> multiple>
</Select> <Option class="hidden" :value="item" v-for="(item,i) in dataRight" :key="i">
{{findLabel(item)}}
</Option>
<el-transfer
v-model="dataRight"
:data="dataLeft"
@change="dataChange"
:titles="['未选择', '已选择']"/>
</Select>
</template> </template>
<script lang="ts"> <script lang="ts">
import { Vue, Component, Watch, Prop, Model } from "vue-property-decorator"; import { Vue, Component, Watch, Prop, Model } from "vue-property-decorator";
import CodeListService from "@service/app/codelist-service"; import CodeListService from "@service/app/codelist-service";
...@@ -17,273 +26,270 @@ import { ElSelect } from "element-ui/types/select"; ...@@ -17,273 +26,270 @@ import { ElSelect } from "element-ui/types/select";
@Component({}) @Component({})
export default class AppTransfer extends Vue { export default class AppTransfer extends Vue {
/**
* 传入表单数据
*
* @type {*}
* @memberof AppTransfer
*/
@Prop() public data:any;
/** /**
* 穿梭框宽度 * 穿梭框宽度
* *
* @type {*} * @type {string}
* @memberof AppTransfer * @memberof AppTransfer
*/ */
@Prop() public width: any; @Prop() public width?: string;
/** /**
* 表单传入字符串值分隔符 * 表单传入字符串值分隔符
* *
* @type {string} * @type {string}
* @memberof AppTransfer * @memberof AppTransfer
*/ */
@Prop() public valueSeparator!: string; @Prop() public valueSeparator?: string;
/** /**
* 当前选中值 * 代码表标识
* @type {any} *
* @memberof AppTransfer * @type {string}
*/ * @memberof AppTransfer
@Model("change") public itemValue!: any; */
@Prop() public tag?: string;
/** /**
* 代码表标识 * 代码表类型
* *
* @type {string} * @type {string}
* @memberof AppTransfer * @memberof AppTransfer
*/ */
@Prop() public tag?: string; @Prop() public codelistType?: string;
/** /**
* 代码表类型 * 局部上下文导航参数
* *
* @type {string} * @type {*}
* @memberof AppTransfer * @memberof AppTransfer
*/ */
@Prop() public codelistType?: string; @Prop() public localContext!: any;
/** /**
* 局部上下文导航参数 * 局部导航参数
* *
* @type {*} * @type {*}
* @memberof AppTransfer * @memberof AppTransfer
*/ */
@Prop() public localContext!: any; @Prop() public localParam!: any;
/** /**
* 局部导航参数 * 视图上下文
* *
* @type {*} * @type {*}
* @memberof AppTransfer * @memberof AppAutocomplete
*/ */
@Prop() public localParam!: any; @Prop() public context!: any;
/** /**
* 视图上下文 * 视图参数
* *
* @type {*} * @type {*}
* @memberof AppAutocomplete * @memberof AppFormDRUIPart
*/ */
@Prop() public context!: any; @Prop() public viewparams!: any;
/** /**
* 视图参数 * 是否禁用
* *
* @type {*} * @type {any}
* @memberof AppFormDRUIPart * @memberof AppTransfer
*/ *
@Prop() public viewparams!: any; */
@Prop() public disabled?: any;
/** /**
* 是否禁用 * 穿梭框提示内容
* *
* @type {any} * @type {string}
* @memberof AppTransfer * @memberof AppTransfer
* */
*/ @Prop() public placeholder?: string;
@Prop() public disabled?: any;
/** /**
* placeholder * 当前选中值
* *
* @type {string} * @type {any}
* @memberof AppTransfer * @memberof AppTransfer
* */
*/ @Model("change") public itemValue!: any;
@Prop() public placeholder?: string;
/** /**
* 左侧框数据 * 左侧框数据
* *
* @type {any[]} * @memberof AppTransfer
* @memberof AppTransfer */
*/ public dataLeft: any[] = [];
public dataLeft: any[] = [];
/** /**
* 右侧框数据 * 右侧框数据
* *
* @type {any[]} * @memberof AppTransfer
* @memberof AppTransfer */
*/ public dataRight: any[] = [];
public dataRight: any[] = [];
/** /**
* 代码表服务对象 * 代码表服务对象
* *
* @type {CodeListService} * @type {CodeListService}
* @memberof AppTransfer * @memberof AppTransfer
*/ */
public codeListService: CodeListService = new CodeListService({
$store: this.$store
});
public codeListService: CodeListService = new CodeListService({$store: this.$store}); /**
* vue 生命周期
* @memberof AppTransfer
*/
public created() {
this.dataHandle();
}
/** /**
* vue 生命周期 * 数据处理
* *
* @memberof AppTransfer * @memberof AppTransfer
*/ */
public created() { public dataHandle() {
this.dataHandle(); if (this.tag && Object.is(this.codelistType, "STATIC")) {
} const codelist = this.$store.getters.getCodeList(this.tag);
if (codelist) {
this.dataLeft = [...JSON.parse(JSON.stringify(codelist.items))];
this.initData()
} else {
console.log(`----${this.tag}----代码表不存在`);
}
} else if (this.tag && Object.is(this.codelistType, "DYNAMIC")) {
// 处理公共参数
let data: any = {};
this.handlePublicParams(data);
// 参数处理
let _context = data.context;
let _param = data.param;
this.codeListService
.getItems(this.tag, _context, _param)
.then((res: any) => {
this.dataLeft = res;
this.initData()
})
.catch((error: any) => {
console.log(`----${this.tag}----代码表不存在`);
});
}
}
/** /**
* 组件change事件,右侧框数据变化时 * 公共参数处理
* *
* @memberof AppTransfer * @param {*} arg
*/ * @returns
dataChange(e: any) { * @memberof AppTransfer
let _valueSeparator: string = this.initValueSeparator(); */
let newVal: string = e.join(`${_valueSeparator}`); public handlePublicParams(arg: any) {
if (newVal) { // 合并表单参数
this.$emit("change", newVal); arg.param = this.viewparams? JSON.parse(JSON.stringify(this.viewparams)): {};
} else { arg.context = this.context ? JSON.parse(JSON.stringify(this.context)) : {};
this.$emit("change", null); // 附加参数处理
if (this.localContext && Object.keys(this.localContext).length > 0) {
let _context = this.$util.computedNavData(this.data,arg.context,arg.param,this.localContext);
Object.assign(arg.context, _context);
}
if (this.localParam && Object.keys(this.localParam).length > 0) {
let _param = this.$util.computedNavData(this.data,arg.context,arg.param,this.localParam);
Object.assign(arg.param, _param);
}
} }
}
/** /**
* 初始化valueSeparator * 初始化获取到的选项数据
* *
* @memberof AppTransfer * @memberof AppTransfer
*/ */
public initValueSeparator() { public initData(){
return this.valueSeparator?this.valueSeparator:","; // 初始化左侧框数据
} let left: any[] = [];
Object.assign(left, this.dataLeft);
this.dataLeft = [];
left.forEach((elem: any, i: any) => {
this.dataLeft.push({
key: elem.id,
value: elem.value,
label: elem.text,
disabled: elem.disabled
});
});
/** // 初始化右侧框数据
* 数据处理 let _valueSeparator: any;
* _valueSeparator = this.initValueSeparator();
* @memberof AppTransfer let _data: any = this.itemValue;
*/ if (_data) {
public dataHandle() { let _dataRight: any = [];
if (this.tag && Object.is(this.codelistType, "STATIC")) { let newData: any[] = _data.split(`${_valueSeparator}`);
const codelist = this.$store.getters.getCodeList(this.tag); this.dataLeft.forEach((elem: any) => {
if (codelist) { newData.forEach((item: any) => {
this.dataLeft = [...JSON.parse(JSON.stringify(codelist.items))]; if (item === elem.value) {
this.initLeft(); _dataRight.push(elem.key);
this.initRight(); }
} else { });
console.log(`----${this.tag}----代码表不存在`);
}
} else if (this.tag && Object.is(this.codelistType, "DYNAMIC")) {
// 处理公共参数
let data: any = {};
this.handlePublicParams(data);
// 参数处理
let _context = data.context;
let _param = data.param;
this.codeListService.getItems(this.tag, _context, _param).then((res: any) => {
this.dataLeft = res;
this.initLeft();
this.initRight();
}).catch((error: any) => {
console.log(`----${this.tag}----代码表不存在`);
}); });
this.dataRight = _dataRight;
}
} }
}
/** /**
* 公共参数处理 * 组件change事件,右侧框数据变化时
* * @memberof AppTransfer
* @param {*} arg */
* @returns public dataChange(e: any) {
* @memberof AppTransfer let _valueSeparator: string;
*/ _valueSeparator = this.initValueSeparator();
public handlePublicParams(arg: any) { let newVal: string = e.join(`${_valueSeparator}`);
// 合并表单参数 if (newVal) {
arg.param = this.viewparams? JSON.parse(JSON.stringify(this.viewparams)): {}; this.$emit("change", newVal);
arg.context = this.context ? JSON.parse(JSON.stringify(this.context)) : {}; } else {
// 附加参数处理 this.$emit("change", null);
if (this.localContext && Object.keys(this.localContext).length > 0) { }
let _context = this.$util.computedNavData(this.itemValue,arg.context,arg.param,this.localContext);
Object.assign(arg.context, _context);
} }
if (this.localParam && Object.keys(this.localParam).length > 0) {
let _param = this.$util.computedNavData(this.itemValue,arg.context,arg.param,this.localParam);
Object.assign(arg.param, _param);
}
}
/**
* 初始化左侧框数据
*
* @memberof AppTransfer
*/
public initLeft() {
let left: any[] = [];
Object.assign(left, this.dataLeft);
this.dataLeft = [];
left.forEach((elem: any, i: any) => {
this.dataLeft.push({
key: elem.id,
value: elem.value,
label: elem.text,
disabled: elem.disabled
});
});
}
/** /**
* 初始化右侧框数据 * 初始化valueSeparator
* * @memberof AppTransfer
* @memberof AppTransfer */
*/ public initValueSeparator() {
public initRight() { return this.valueSeparator ? this.valueSeparator : ",";
let _valueSeparator: any;
_valueSeparator = this.initValueSeparator();
let _data: any = this.itemValue;
if (_data) {
let _dataRight: any = [];
let newData: any[] = _data.split(`${_valueSeparator}`);
this.dataLeft.forEach((elem: any) => {
newData.forEach((item: any) => {
if (item === elem.value) {
_dataRight.push(elem.key);
}
});
});
this.dataRight = _dataRight;
} }
}
/** /**
* 穿梭框打开时刷新数据 * 穿梭框打开时刷新数据
* * @memberof AppTransfer
* @memberof AppTransfer */
*/ public transferRefresh(e: boolean) {
public transferRefresh(e: any) { if (e && this.codelistType === "DYNAMIC") {
if (e && this.codelistType === "DYNAMIC") { this.dataLeft = [];
this.dataLeft = []; this.dataHandle();
this.dataHandle(); }
} }
}
/** /**
* 找到dataLeft中key与dataRight中item相等的元素,返回label * 找到dataLeft中key与dataRight中item相等的元素,返回label
* * @memberof AppTransfer
* @memberof AppTransfer */
*/ public findLabel(item: any) {
public findLabel(item: any) { for (const elem of this.dataLeft) {
for (const elem of this.dataLeft) { if (elem.key === item) return elem.label;
if (elem.key === item) return elem.label; }
} }
}
} }
</script> </script>
......
...@@ -28,7 +28,7 @@ public class IBZEmployeeServiceEx extends IBZEmployeeServiceImpl { ...@@ -28,7 +28,7 @@ public class IBZEmployeeServiceEx extends IBZEmployeeServiceImpl {
@Override @Override
@Transactional @Transactional
public IBZEmployee initPwd(IBZEmployee et) { public IBZEmployee initPwd(IBZEmployee et) {
return et; return super.initPwd(et);
} }
} }
......
...@@ -7,6 +7,7 @@ import java.util.Map; ...@@ -7,6 +7,7 @@ import java.util.Map;
import java.math.BigInteger; import java.math.BigInteger;
import java.util.HashMap; import java.util.HashMap;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
...@@ -192,6 +193,7 @@ public class IBZDepartment extends EntityMP implements Serializable { ...@@ -192,6 +193,7 @@ public class IBZDepartment extends EntityMP implements Serializable {
this.deptcode = deptcode ; this.deptcode = deptcode ;
this.modify("deptcode",deptcode); this.modify("deptcode",deptcode);
} }
/** /**
* 设置 [部门名称] * 设置 [部门名称]
*/ */
...@@ -199,6 +201,7 @@ public class IBZDepartment extends EntityMP implements Serializable { ...@@ -199,6 +201,7 @@ public class IBZDepartment extends EntityMP implements Serializable {
this.deptname = deptname ; this.deptname = deptname ;
this.modify("deptname",deptname); this.modify("deptname",deptname);
} }
/** /**
* 设置 [上级部门] * 设置 [上级部门]
*/ */
...@@ -206,6 +209,7 @@ public class IBZDepartment extends EntityMP implements Serializable { ...@@ -206,6 +209,7 @@ public class IBZDepartment extends EntityMP implements Serializable {
this.parentdeptid = parentdeptid ; this.parentdeptid = parentdeptid ;
this.modify("pdeptid",parentdeptid); this.modify("pdeptid",parentdeptid);
} }
/** /**
* 设置 [部门简称] * 设置 [部门简称]
*/ */
...@@ -213,6 +217,7 @@ public class IBZDepartment extends EntityMP implements Serializable { ...@@ -213,6 +217,7 @@ public class IBZDepartment extends EntityMP implements Serializable {
this.shortname = shortname ; this.shortname = shortname ;
this.modify("shortname",shortname); this.modify("shortname",shortname);
} }
/** /**
* 设置 [部门级别] * 设置 [部门级别]
*/ */
...@@ -220,6 +225,7 @@ public class IBZDepartment extends EntityMP implements Serializable { ...@@ -220,6 +225,7 @@ public class IBZDepartment extends EntityMP implements Serializable {
this.deptlevel = deptlevel ; this.deptlevel = deptlevel ;
this.modify("deptlevel",deptlevel); this.modify("deptlevel",deptlevel);
} }
/** /**
* 设置 [区属] * 设置 [区属]
*/ */
...@@ -227,6 +233,7 @@ public class IBZDepartment extends EntityMP implements Serializable { ...@@ -227,6 +233,7 @@ public class IBZDepartment extends EntityMP implements Serializable {
this.domains = domains ; this.domains = domains ;
this.modify("domains",domains); this.modify("domains",domains);
} }
/** /**
* 设置 [排序] * 设置 [排序]
*/ */
...@@ -234,6 +241,7 @@ public class IBZDepartment extends EntityMP implements Serializable { ...@@ -234,6 +241,7 @@ public class IBZDepartment extends EntityMP implements Serializable {
this.showorder = showorder ; this.showorder = showorder ;
this.modify("showorder",showorder); this.modify("showorder",showorder);
} }
/** /**
* 设置 [业务编码] * 设置 [业务编码]
*/ */
...@@ -241,6 +249,7 @@ public class IBZDepartment extends EntityMP implements Serializable { ...@@ -241,6 +249,7 @@ public class IBZDepartment extends EntityMP implements Serializable {
this.bcode = bcode ; this.bcode = bcode ;
this.modify("bcode",bcode); this.modify("bcode",bcode);
} }
/** /**
* 设置 [分管领导标识] * 设置 [分管领导标识]
*/ */
...@@ -248,6 +257,7 @@ public class IBZDepartment extends EntityMP implements Serializable { ...@@ -248,6 +257,7 @@ public class IBZDepartment extends EntityMP implements Serializable {
this.leaderid = leaderid ; this.leaderid = leaderid ;
this.modify("leaderid",leaderid); this.modify("leaderid",leaderid);
} }
/** /**
* 设置 [分管领导] * 设置 [分管领导]
*/ */
...@@ -256,6 +266,7 @@ public class IBZDepartment extends EntityMP implements Serializable { ...@@ -256,6 +266,7 @@ public class IBZDepartment extends EntityMP implements Serializable {
this.modify("leadername",leadername); this.modify("leadername",leadername);
} }
} }
...@@ -7,6 +7,7 @@ import java.util.Map; ...@@ -7,6 +7,7 @@ import java.util.Map;
import java.math.BigInteger; import java.math.BigInteger;
import java.util.HashMap; import java.util.HashMap;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
...@@ -129,6 +130,7 @@ public class IBZDeptMember extends EntityMP implements Serializable { ...@@ -129,6 +130,7 @@ public class IBZDeptMember extends EntityMP implements Serializable {
this.deptid = deptid ; this.deptid = deptid ;
this.modify("deptid",deptid); this.modify("deptid",deptid);
} }
/** /**
* 设置 [用户标识] * 设置 [用户标识]
*/ */
...@@ -136,6 +138,7 @@ public class IBZDeptMember extends EntityMP implements Serializable { ...@@ -136,6 +138,7 @@ public class IBZDeptMember extends EntityMP implements Serializable {
this.userid = userid ; this.userid = userid ;
this.modify("userid",userid); this.modify("userid",userid);
} }
/** /**
* 设置 [岗位标识] * 设置 [岗位标识]
*/ */
...@@ -143,6 +146,7 @@ public class IBZDeptMember extends EntityMP implements Serializable { ...@@ -143,6 +146,7 @@ public class IBZDeptMember extends EntityMP implements Serializable {
this.postid = postid ; this.postid = postid ;
this.modify("postid",postid); this.modify("postid",postid);
} }
/** /**
* 设置 [区属] * 设置 [区属]
*/ */
...@@ -151,6 +155,7 @@ public class IBZDeptMember extends EntityMP implements Serializable { ...@@ -151,6 +155,7 @@ public class IBZDeptMember extends EntityMP implements Serializable {
this.modify("domains",domains); this.modify("domains",domains);
} }
/** /**
* 获取 [标识] * 获取 [标识]
*/ */
......
...@@ -7,6 +7,7 @@ import java.util.Map; ...@@ -7,6 +7,7 @@ import java.util.Map;
import java.math.BigInteger; import java.math.BigInteger;
import java.util.HashMap; import java.util.HashMap;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
...@@ -334,6 +335,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -334,6 +335,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.username = username ; this.username = username ;
this.modify("username",username); this.modify("username",username);
} }
/** /**
* 设置 [姓名] * 设置 [姓名]
*/ */
...@@ -341,6 +343,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -341,6 +343,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.personname = personname ; this.personname = personname ;
this.modify("personname",personname); this.modify("personname",personname);
} }
/** /**
* 设置 [用户工号] * 设置 [用户工号]
*/ */
...@@ -348,6 +351,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -348,6 +351,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.usercode = usercode ; this.usercode = usercode ;
this.modify("usercode",usercode); this.modify("usercode",usercode);
} }
/** /**
* 设置 [登录名] * 设置 [登录名]
*/ */
...@@ -355,6 +359,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -355,6 +359,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.loginname = loginname ; this.loginname = loginname ;
this.modify("loginname",loginname); this.modify("loginname",loginname);
} }
/** /**
* 设置 [密码] * 设置 [密码]
*/ */
...@@ -362,6 +367,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -362,6 +367,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.password = password ; this.password = password ;
this.modify("password",password); this.modify("password",password);
} }
/** /**
* 设置 [区属] * 设置 [区属]
*/ */
...@@ -369,6 +375,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -369,6 +375,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.domains = domains ; this.domains = domains ;
this.modify("domains",domains); this.modify("domains",domains);
} }
/** /**
* 设置 [主部门] * 设置 [主部门]
*/ */
...@@ -376,6 +383,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -376,6 +383,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.mdeptid = mdeptid ; this.mdeptid = mdeptid ;
this.modify("mdeptid",mdeptid); this.modify("mdeptid",mdeptid);
} }
/** /**
* 设置 [主部门代码] * 设置 [主部门代码]
*/ */
...@@ -383,6 +391,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -383,6 +391,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.mdeptcode = mdeptcode ; this.mdeptcode = mdeptcode ;
this.modify("mdeptcode",mdeptcode); this.modify("mdeptcode",mdeptcode);
} }
/** /**
* 设置 [主部门名称] * 设置 [主部门名称]
*/ */
...@@ -390,6 +399,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -390,6 +399,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.mdeptname = mdeptname ; this.mdeptname = mdeptname ;
this.modify("mdeptname",mdeptname); this.modify("mdeptname",mdeptname);
} }
/** /**
* 设置 [业务编码] * 设置 [业务编码]
*/ */
...@@ -397,6 +407,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -397,6 +407,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.bcode = bcode ; this.bcode = bcode ;
this.modify("bcode",bcode); this.modify("bcode",bcode);
} }
/** /**
* 设置 [岗位标识] * 设置 [岗位标识]
*/ */
...@@ -404,6 +415,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -404,6 +415,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.postid = postid ; this.postid = postid ;
this.modify("postid",postid); this.modify("postid",postid);
} }
/** /**
* 设置 [岗位代码] * 设置 [岗位代码]
*/ */
...@@ -411,6 +423,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -411,6 +423,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.postcode = postcode ; this.postcode = postcode ;
this.modify("postcode",postcode); this.modify("postcode",postcode);
} }
/** /**
* 设置 [岗位名称] * 设置 [岗位名称]
*/ */
...@@ -418,6 +431,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -418,6 +431,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.postname = postname ; this.postname = postname ;
this.modify("postname",postname); this.modify("postname",postname);
} }
/** /**
* 设置 [单位代码] * 设置 [单位代码]
*/ */
...@@ -425,6 +439,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -425,6 +439,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.orgcode = orgcode ; this.orgcode = orgcode ;
this.modify("orgcode",orgcode); this.modify("orgcode",orgcode);
} }
/** /**
* 设置 [昵称别名] * 设置 [昵称别名]
*/ */
...@@ -432,6 +447,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -432,6 +447,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.nickname = nickname ; this.nickname = nickname ;
this.modify("nickname",nickname); this.modify("nickname",nickname);
} }
/** /**
* 设置 [性别] * 设置 [性别]
*/ */
...@@ -439,6 +455,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -439,6 +455,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.sex = sex ; this.sex = sex ;
this.modify("sex",sex); this.modify("sex",sex);
} }
/** /**
* 设置 [证件号码] * 设置 [证件号码]
*/ */
...@@ -446,6 +463,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -446,6 +463,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.certcode = certcode ; this.certcode = certcode ;
this.modify("certcode",certcode); this.modify("certcode",certcode);
} }
/** /**
* 设置 [联系方式] * 设置 [联系方式]
*/ */
...@@ -453,6 +471,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -453,6 +471,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.phone = phone ; this.phone = phone ;
this.modify("phone",phone); this.modify("phone",phone);
} }
/** /**
* 设置 [出生日期] * 设置 [出生日期]
*/ */
...@@ -460,6 +479,17 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -460,6 +479,17 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.birthday = birthday ; this.birthday = birthday ;
this.modify("birthday",birthday); this.modify("birthday",birthday);
} }
/**
* 格式化日期 [出生日期]
*/
public String formatBirthday(){
if (this.birthday == null) {
return null;
}
SimpleDateFormat sdf = new SimpleDateFormat("defieldFormatStr");
return sdf.format(birthday);
}
/** /**
* 设置 [邮件] * 设置 [邮件]
*/ */
...@@ -467,6 +497,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -467,6 +497,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.email = email ; this.email = email ;
this.modify("email",email); this.modify("email",email);
} }
/** /**
* 设置 [社交账号] * 设置 [社交账号]
*/ */
...@@ -474,6 +505,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -474,6 +505,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.avatar = avatar ; this.avatar = avatar ;
this.modify("avatar",avatar); this.modify("avatar",avatar);
} }
/** /**
* 设置 [地址] * 设置 [地址]
*/ */
...@@ -481,6 +513,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -481,6 +513,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.addr = addr ; this.addr = addr ;
this.modify("addr",addr); this.modify("addr",addr);
} }
/** /**
* 设置 [照片] * 设置 [照片]
*/ */
...@@ -488,6 +521,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -488,6 +521,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.usericon = usericon ; this.usericon = usericon ;
this.modify("usericon",usericon); this.modify("usericon",usericon);
} }
/** /**
* 设置 [ip地址] * 设置 [ip地址]
*/ */
...@@ -495,6 +529,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -495,6 +529,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.ipaddr = ipaddr ; this.ipaddr = ipaddr ;
this.modify("ipaddr",ipaddr); this.modify("ipaddr",ipaddr);
} }
/** /**
* 设置 [样式] * 设置 [样式]
*/ */
...@@ -502,6 +537,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -502,6 +537,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.theme = theme ; this.theme = theme ;
this.modify("theme",theme); this.modify("theme",theme);
} }
/** /**
* 设置 [语言] * 设置 [语言]
*/ */
...@@ -509,6 +545,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -509,6 +545,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.lang = lang ; this.lang = lang ;
this.modify("lang",lang); this.modify("lang",lang);
} }
/** /**
* 设置 [字号] * 设置 [字号]
*/ */
...@@ -516,6 +553,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -516,6 +553,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.fontsize = fontsize ; this.fontsize = fontsize ;
this.modify("fontsize",fontsize); this.modify("fontsize",fontsize);
} }
/** /**
* 设置 [备注] * 设置 [备注]
*/ */
...@@ -523,6 +561,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -523,6 +561,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.memo = memo ; this.memo = memo ;
this.modify("memo",memo); this.modify("memo",memo);
} }
/** /**
* 设置 [保留] * 设置 [保留]
*/ */
...@@ -530,6 +569,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -530,6 +569,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.reserver = reserver ; this.reserver = reserver ;
this.modify("reserver",reserver); this.modify("reserver",reserver);
} }
/** /**
* 设置 [排序] * 设置 [排序]
*/ */
...@@ -538,6 +578,7 @@ public class IBZEmployee extends EntityMP implements Serializable { ...@@ -538,6 +578,7 @@ public class IBZEmployee extends EntityMP implements Serializable {
this.modify("showorder",showorder); this.modify("showorder",showorder);
} }
} }
...@@ -7,6 +7,7 @@ import java.util.Map; ...@@ -7,6 +7,7 @@ import java.util.Map;
import java.math.BigInteger; import java.math.BigInteger;
import java.util.HashMap; import java.util.HashMap;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
...@@ -157,6 +158,7 @@ public class IBZOrganization extends EntityMP implements Serializable { ...@@ -157,6 +158,7 @@ public class IBZOrganization extends EntityMP implements Serializable {
this.orgcode = orgcode ; this.orgcode = orgcode ;
this.modify("orgcode",orgcode); this.modify("orgcode",orgcode);
} }
/** /**
* 设置 [上级单位] * 设置 [上级单位]
*/ */
...@@ -164,6 +166,7 @@ public class IBZOrganization extends EntityMP implements Serializable { ...@@ -164,6 +166,7 @@ public class IBZOrganization extends EntityMP implements Serializable {
this.parentorgid = parentorgid ; this.parentorgid = parentorgid ;
this.modify("porgid",parentorgid); this.modify("porgid",parentorgid);
} }
/** /**
* 设置 [单位简称] * 设置 [单位简称]
*/ */
...@@ -171,6 +174,7 @@ public class IBZOrganization extends EntityMP implements Serializable { ...@@ -171,6 +174,7 @@ public class IBZOrganization extends EntityMP implements Serializable {
this.shortname = shortname ; this.shortname = shortname ;
this.modify("shortname",shortname); this.modify("shortname",shortname);
} }
/** /**
* 设置 [单位级别] * 设置 [单位级别]
*/ */
...@@ -178,6 +182,7 @@ public class IBZOrganization extends EntityMP implements Serializable { ...@@ -178,6 +182,7 @@ public class IBZOrganization extends EntityMP implements Serializable {
this.orglevel = orglevel ; this.orglevel = orglevel ;
this.modify("orglevel",orglevel); this.modify("orglevel",orglevel);
} }
/** /**
* 设置 [排序] * 设置 [排序]
*/ */
...@@ -185,6 +190,7 @@ public class IBZOrganization extends EntityMP implements Serializable { ...@@ -185,6 +190,7 @@ public class IBZOrganization extends EntityMP implements Serializable {
this.showorder = showorder ; this.showorder = showorder ;
this.modify("showorder",showorder); this.modify("showorder",showorder);
} }
/** /**
* 设置 [区属] * 设置 [区属]
*/ */
...@@ -193,6 +199,7 @@ public class IBZOrganization extends EntityMP implements Serializable { ...@@ -193,6 +199,7 @@ public class IBZOrganization extends EntityMP implements Serializable {
this.modify("domains",domains); this.modify("domains",domains);
} }
} }
...@@ -7,6 +7,7 @@ import java.util.Map; ...@@ -7,6 +7,7 @@ import java.util.Map;
import java.math.BigInteger; import java.math.BigInteger;
import java.util.HashMap; import java.util.HashMap;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
...@@ -84,6 +85,7 @@ public class IBZPost extends EntityMP implements Serializable { ...@@ -84,6 +85,7 @@ public class IBZPost extends EntityMP implements Serializable {
this.postcode = postcode ; this.postcode = postcode ;
this.modify("postcode",postcode); this.modify("postcode",postcode);
} }
/** /**
* 设置 [岗位名称] * 设置 [岗位名称]
*/ */
...@@ -91,6 +93,7 @@ public class IBZPost extends EntityMP implements Serializable { ...@@ -91,6 +93,7 @@ public class IBZPost extends EntityMP implements Serializable {
this.postname = postname ; this.postname = postname ;
this.modify("postname",postname); this.modify("postname",postname);
} }
/** /**
* 设置 [区属] * 设置 [区属]
*/ */
...@@ -98,6 +101,7 @@ public class IBZPost extends EntityMP implements Serializable { ...@@ -98,6 +101,7 @@ public class IBZPost extends EntityMP implements Serializable {
this.domains = domains ; this.domains = domains ;
this.modify("domains",domains); this.modify("domains",domains);
} }
/** /**
* 设置 [备注] * 设置 [备注]
*/ */
...@@ -106,6 +110,7 @@ public class IBZPost extends EntityMP implements Serializable { ...@@ -106,6 +110,7 @@ public class IBZPost extends EntityMP implements Serializable {
this.modify("memo",memo); this.modify("memo",memo);
} }
} }
...@@ -7,6 +7,7 @@ import java.util.Map; ...@@ -7,6 +7,7 @@ import java.util.Map;
import java.math.BigInteger; import java.math.BigInteger;
import java.util.HashMap; import java.util.HashMap;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
...@@ -77,6 +78,7 @@ public class IBZTeam extends EntityMP implements Serializable { ...@@ -77,6 +78,7 @@ public class IBZTeam extends EntityMP implements Serializable {
this.teamname = teamname ; this.teamname = teamname ;
this.modify("teamname",teamname); this.modify("teamname",teamname);
} }
/** /**
* 设置 [备注] * 设置 [备注]
*/ */
...@@ -84,6 +86,7 @@ public class IBZTeam extends EntityMP implements Serializable { ...@@ -84,6 +86,7 @@ public class IBZTeam extends EntityMP implements Serializable {
this.memo = memo ; this.memo = memo ;
this.modify("memo",memo); this.modify("memo",memo);
} }
/** /**
* 设置 [区属] * 设置 [区属]
*/ */
...@@ -92,6 +95,7 @@ public class IBZTeam extends EntityMP implements Serializable { ...@@ -92,6 +95,7 @@ public class IBZTeam extends EntityMP implements Serializable {
this.modify("domains",domains); this.modify("domains",domains);
} }
} }
...@@ -7,6 +7,7 @@ import java.util.Map; ...@@ -7,6 +7,7 @@ import java.util.Map;
import java.math.BigInteger; import java.math.BigInteger;
import java.util.HashMap; import java.util.HashMap;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField; import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
...@@ -129,6 +130,7 @@ public class IBZTeamMember extends EntityMP implements Serializable { ...@@ -129,6 +130,7 @@ public class IBZTeamMember extends EntityMP implements Serializable {
this.teamid = teamid ; this.teamid = teamid ;
this.modify("teamid",teamid); this.modify("teamid",teamid);
} }
/** /**
* 设置 [用户标识] * 设置 [用户标识]
*/ */
...@@ -136,6 +138,7 @@ public class IBZTeamMember extends EntityMP implements Serializable { ...@@ -136,6 +138,7 @@ public class IBZTeamMember extends EntityMP implements Serializable {
this.userid = userid ; this.userid = userid ;
this.modify("userid",userid); this.modify("userid",userid);
} }
/** /**
* 设置 [岗位标识] * 设置 [岗位标识]
*/ */
...@@ -143,6 +146,7 @@ public class IBZTeamMember extends EntityMP implements Serializable { ...@@ -143,6 +146,7 @@ public class IBZTeamMember extends EntityMP implements Serializable {
this.postid = postid ; this.postid = postid ;
this.modify("postid",postid); this.modify("postid",postid);
} }
/** /**
* 设置 [区属] * 设置 [区属]
*/ */
...@@ -151,6 +155,7 @@ public class IBZTeamMember extends EntityMP implements Serializable { ...@@ -151,6 +155,7 @@ public class IBZTeamMember extends EntityMP implements Serializable {
this.modify("domains",domains); this.modify("domains",domains);
} }
/** /**
* 获取 [组成员标识] * 获取 [组成员标识]
*/ */
......
...@@ -19,7 +19,7 @@ import java.util.Optional; ...@@ -19,7 +19,7 @@ import java.util.Optional;
import java.util.function.Function; import java.util.function.Function;
@Component @Component
@ConditionalOnExpression("(!${ibiz.enablePermissionValid:false})&&'${ibiz.auth.service:UAATokenUtil}'.equals('SimpleTokenUtil')") @ConditionalOnExpression("(!${ibiz.enablePermissionValid:false})&&'${ibiz.auth.token.util:UAATokenUtil}'.equals('SimpleTokenUtil')")
public class SimpleTokenUtil implements AuthTokenUtil,Serializable { public class SimpleTokenUtil implements AuthTokenUtil,Serializable {
private static final long serialVersionUID = -3301605591108950415L; private static final long serialVersionUID = -3301605591108950415L;
......
...@@ -30,7 +30,7 @@ import java.util.Map; ...@@ -30,7 +30,7 @@ import java.util.Map;
import java.util.function.Function; import java.util.function.Function;
@Component @Component
@ConditionalOnExpression("${ibiz.enablePermissionValid:false}||'${ibiz.auth.service:UAATokenUtil}'.equals('UAATokenUtil')") @ConditionalOnExpression("${ibiz.enablePermissionValid:false}||'${ibiz.auth.token.util:UAATokenUtil}'.equals('UAATokenUtil')")
public class UAATokenUtil implements AuthTokenUtil, Serializable { public class UAATokenUtil implements AuthTokenUtil, Serializable {
private static final long serialVersionUID = -3301605591108950415L; private static final long serialVersionUID = -3301605591108950415L;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册