Commit 991a067c authored by dll's avatar dll

提交

parents 767f6e95 4dffb1e2
...@@ -35,110 +35,109 @@ ...@@ -35,110 +35,109 @@
</el-row> </el-row>
<form-buttons @submit='submitForm' noCancelBtn /> <form-buttons @submit='submitForm' noCancelBtn />
</el-form> --> </el-form> -->
<div>
</div>
</el-drawer> </el-drawer>
</template> </template>
<script> <script>
import form from "@/assets/mixins/formdialog"; import form from "@/assets/mixins/formdialog";
export default { export default {
name: "AttendanceVacationBalanceDetail", name: "AttendanceVacationBalanceDetail",
mixins: [form], mixins: [form],
components: { components: {},
created() {
}, this.changePath("attendance/vacation/balance")
created() { },
this.changePath("attendance/vacation/balance") data() {
}, return {
data() { // 遮罩层
return { loading: true,
// 遮罩层 // 弹出层标题
loading: true, title: "员工假期余额信息",
// 弹出层标题 // 是否显示弹出层
title: "员工假期余额信息", open: false,
// 是否显示弹出层 direction:"rtl",
open: false, toString:[
direction:"rtl", ],
toString:[ toDate:[
], "entryTime",
toDate:[ ],
"entryTime", // 表单校验
], rules: {
// 表单校验 }
rules: { };
} },
};
},
methods: { methods: {
/** 编辑 */ /** 编辑 */
edit(row) { edit(row) {
this.reset() this.reset()
this.query = { id: row.id }; this.query = { id: row.id };
this.urls.currUrl ="attendance/vacation/balance/edit"; this.urls.currUrl ="attendance/vacation/balance/edit";
this.getData(); this.getData();
this.pageInfo.type="edit" this.pageInfo.type="edit"
this.title = "修改员工假期余额信息"; this.title = "修改员工假期余额信息";
}, },
/** 新增 */ /** 新增 */
add(row) { add(row) {
this.reset() this.reset()
this.urls.currUrl = "attendance/vacation/balance/add"; this.urls.currUrl = "attendance/vacation/balance/add";
this.getData(); this.getData();
this.pageInfo.type="add" this.pageInfo.type="add"
this.title = "新增员工假期余额信息"; this.title = "新增员工假期余额信息";
}, },
/** 查看*/ /** 查看*/
view(row) { view(row) {
this.reset() this.reset()
this.query = { id: row.id }; this.query = { id: row.id };
this.urls.currUrl ="attendance/vacation/balance/view"; this.urls.currUrl ="attendance/vacation/balance/view";
this.getData(); this.getData();
this.pageInfo.type="view" this.pageInfo.type="view"
this.title = "员工假期余额信息详细"; this.title = "员工假期余额信息详细";
}, },
/**取消按钮 */ /**取消按钮 */
cancel() { cancel() {
this.open = false; this.open = false;
}, },
/**获取数据后弹框 */ /**获取数据后弹框 */
afterRender(data) { afterRender(data) {
this.open = true; this.open = true;
}, },
afterSubmit(data) { afterSubmit(data) {
this.open = false; this.open = false;
this.$emit("ok"); this.$emit("ok");
}, },
// 表单重置 // 表单重置
reset() { reset() {
this.form = { this.form = {
staffId : null, staffId : null,
staffName : "", staffName : "",
deptId : null, deptId : null,
deptName : "", deptName : "",
entryTime : null, entryTime : null,
personalLeaveDays : BigDecimal.valueOf(0), personalLeaveDays : 0,
compensatedLeaveDays : BigDecimal.valueOf(0), compensatedLeaveDays : 0,
sickLeaveDays : BigDecimal.valueOf(0), sickLeaveDays : 0,
annualLeaveDays : BigDecimal.valueOf(0), annualLeaveDays : 0,
marriageLeaveDays : BigDecimal.valueOf(0), maternityLeaveDays : 0,
remark : "", paternityLeaveDays : 0,
}; marriageLeaveDays : 0,
this.resetForm("form"); menstrualLeaveDays : 0,
}, breastfeedingLeaveDays : 0,
resetForm(refName) { bereavementLeaveDays : 0,
if (this.$refs[refName]) { remark : "",
this.$refs[refName].resetFields(); };
} this.resetForm("form");
}, },
}, resetForm(refName) {
}; if (this.$refs[refName]) {
this.$refs[refName].resetFields();
}
},
},
};
</script> </script>
<style scoped> <style scoped lang="less">
.tips{ .tips{
font-size: 14px; font-size: 14px;
color: #999; color: #999;
......
...@@ -9,98 +9,80 @@ ...@@ -9,98 +9,80 @@
</template> </template>
<script> <script>
/** 表单弹出框模式需引入 */ /** 表单弹出框模式需引入 */
import drawerShow from "./drawershow"; import drawerShow from "./drawershow";
import table from "@/assets/mixins/table"; import table from "@/assets/mixins/table";
export default { export default {
name: "AttendanceVacationBalanceList", name: "AttendanceVacationBalanceList",
components: { components: {
drawerShow drawerShow
}, },
mixins: [table], mixins: [table],
created() { created() {
}, },
methods: { methods: {
/** 重写新增方法 */ /** 重写新增方法 */
toAdd(row) { toAdd(row) {
this.$refs.drawerform.add(row); this.$refs.drawerform.add(row);
}, },
/** 重写编辑方法 */ /** 重写编辑方法 */
toEdit(row) { toEdit(row) {
this.$refs.drawerform.edit(row); this.$refs.drawerform.edit(row);
}, },
/** 重写查看方法 */ /** 重写查看方法 */
toView(row) { toView(row) {
this.$refs.drawerform.view(row); this.$refs.drawerform.view(row);
}, },
doExport(){ /** 查看不同类型假期记录 */
this.isExport = true; handleCountDays(row,leavetype){
this.$download("/leave/record/exportExcel", { this.$post("/attendance/vacation/record/list", {
"idList": this.selection, page: 1,
'name': this.$route.query['name'], size: -1,
}, { type: "excel" }).then(() => this.isExport = false).catch(error => { type:leavetype,
this.isExport = false; staffId:row.staffId
this.$message.error(error.message); })
}) .then((res) => {
}, if (res.code == 1) {
}, //todo 抽屉打开 假期明细信息
data() { //this.$message.success("激活设备成功!");
return { }
isExport:false, })
config: { .catch((error) => {
isshowTabPane:true, this.$message.error(error.message);
search: [ });
{ }
name: "staffId",
type: "text",
label: "员工",
fuzzy: true
},
{
name: "deptId",
type: "select",
label: "全部部门",
fuzzy: true
},
],
columns: [
{type: "selection", width: 60},
{type: "index",label: "序号",width: 50},
// {label: "员工id", prop: "staffId", formatter: this.formatter}, },
data() {
{label: "员工姓名", prop: "staffName"}, return {
config: {
// {label: "部门id", prop: "deptId", formatter: this.formatter}, search: [
],
{label: "部门名称", prop: "deptName"}, columns: [
{type: "selection", width: 60},
{label: "入职时间", prop: "entryTime", formatter: this.formatterDate}, {type: "index",label: "序号",width: 50},
{label: "员工姓名", prop: "staffName"},
{label: "事假(天)", prop: "personalLeaveDays", formatter: this.formatterMoney}, {label: "部门名称", prop: "deptName"},
{label: "入职时间", prop: "entryTime", formatter: this.formatterDate},
{label: "调休(天)", prop: "compensatedLeaveDays", formatter: this.formatterMoney}, {label: "事假(天)", prop: "personalLeaveDays", formatter: this.formatterMoney},
{label: "调休(天)", prop: "compensatedLeaveDays", formatter: this.formatterMoney},
{label: "病假(天)", prop: "sickLeaveDays", formatter: this.formatterMoney}, {label: "病假(天)", prop: "sickLeaveDays", formatter: this.formatterMoney},
{label: "年假(天)", prop: "annualLeaveDays", formatter: this.formatterMoney},
{label: "年假(天)", prop: "annualLeaveDays", formatter: this.formatterMoney}, {label: "婚假(tian)", prop: "marriageLeaveDays", formatter: this.formatterMoney},
// {label: "创建用户", prop: "createUserId", formatter: this.formatter},
{label: "婚假(tian)", prop: "marriageLeaveDays", formatter: this.formatterMoney}, {
label: "操作",
// {label: "创建用户", prop: "createUserId", formatter: this.formatter}, width: 240,
{ formatter: row => {
label: "操作", return (
width: 240, <table-buttons noAdd noEdit noView noDel row={row}
formatter: row => { onEdit={this.toEdit} onView={this.toView} onDel={this.toDel} />
return ( )
<table-buttons noAdd noEdit noView noDel row={row}
onEdit={this.toEdit} onView={this.toView} onDel={this.toDel} />
);
}
}
]
} }
}; }
]
} }
}; }
</script> }
\ No newline at end of file }
</script>
<template>
<!-- 弹出框表单 -->
<el-dialog :title="title" :visible.sync="open" width="90%" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-row>
<Field label="员工id" prop="staffId" v-model="form.staffId" placeholder="请输入员工id"/>
<Field label="员工姓名" prop="staffName" v-model="form.staffName" type="textarea" placeholder="请输入员工姓名"/>
<Field label="请假类型" prop="type" v-model="form.type" type="select" :enumData="dict.type" placeholder="请选择请假类型"/>
<Field label="增减类型" prop="subAddType" v-model="form.subAddType" type="select" :enumData="dict.subAddType" placeholder="请选择增减类型"/>
<Field label="有效期" prop="validityPeriod" v-model="form.validityPeriod" type="textarea" placeholder="请输入有效期"/>
<Field label="增加或扣减天数" prop="subOrAddDays" v-model="form.subOrAddDays" placeholder="请输入增加或扣减天数"/>
<Field label="内容"><editor v-model="form.content" :min-height="256"/></Field>
<Field label="规则" prop="rule" v-model="form.rule" type="textarea" placeholder="请输入规则"/>
<Field label="理由" prop="reason" v-model="form.reason" type="textarea" placeholder="请输入理由"/>
<Field label="备注" prop="remark" v-model="form.remark" type="textarea" placeholder="请输入备注"/>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" v-if="pageInfo.type !== 'view'" @click="submitForm">确 定</el-button>
<el-button @click="cancel">取 消</el-button>
</div>
</el-dialog>
</template>
<script>
import form from "@/assets/mixins/formdialog";
import dialogShow from "./dialogshow";
import Editor from '@/components/Editor';
export default {
mixins: [form],
components: {
dialogShow ,
Editor,
},
data() {
return {
// 遮罩层
loading: true,
// 弹出层标题
title: "员工假期记录信息",
// 是否显示弹出层
open: false,
toString:[
"type",
"subAddType",
],
// 表单校验
rules: {
}
};
},
methods: {
/** 编辑 */
edit(row) {
this.reset()
this.query = { id: row.id };
this.urls.currUrl ="attendance/vacation/record/edit";
this.getData();
this.pageInfo.type="edit"
this.title = "修改员工假期记录信息";
},
/** 新增 */
add(row) {
this.reset()
this.urls.currUrl = "attendance/vacation/record/add";
this.getData();
this.pageInfo.type="add"
this.title = "新增员工假期记录信息";
},
/** 查看*/
view(row) {
this.reset()
this.query = { id: row.id };
this.urls.currUrl ="attendance/vacation/record/view";
this.getData();
this.pageInfo.type="view"
this.title = "员工假期记录信息详细";
},
/**取消按钮 */
cancel() {
this.open = false;
},
/**获取数据后弹框 */
afterRender(data) {
this.open = true;
},
afterSubmit(data) {
this.open = false;
this.$emit("ok");
},
// 表单重置
reset() {
this.form = {
staffId : null,
staffName : "",
type : null,
subAddType : 1,
validityPeriod : "0",
subOrAddDays : BigDecimal.valueOf(0),
content : "",
rule : "",
reason : "",
remark : "",
};
this.resetForm("form");
},
resetForm(refName) {
if (this.$refs[refName]) {
this.$refs[refName].resetFields();
}
},
},
};
</script>
<template>
<div class="page">
<LayoutTable :data="tableData" :config="tableConfig">
</LayoutTable>
<dialog-show ref="dialogform" @ok="getData" />
</div>
</template>
<script>
/** 表单弹出框模式需引入 */
import dialogShow from "./dialogshow";
import table from "@/assets/mixins/table";
export default {
name: "AttendanceVacationRecordList",
components: {
dialogShow
},
mixins: [table],
created() {
},
methods: {
/** 重写新增方法 */
toAdd(row) {
this.$refs.dialogform.add(row);
},
/** 重写编辑方法 */
toEdit(row) {
this.$refs.dialogform.edit(row);
},
/** 重写查看方法 */
toView(row) {
this.$refs.dialogform.view(row);
},
},
data() {
return {
config: {
search: [
],
columns: [
{type: "selection", width: 60},
{type: "index",label: "序号",width: 50},
{label: "员工id", prop: "staffId", formatter: this.formatter},
{label: "员工姓名", prop: "staffName"},
{label: "请假类型", prop: "type",formatter: this.formatter},
{label: "增减类型", prop: "subAddType",formatter: this.formatter},
{label: "有效期", prop: "validityPeriod"},
{label: "增加或扣减天数", prop: "subOrAddDays", formatter: this.formatterMoney},
{label: "创建用户", prop: "createUserId", formatter: this.formatter},
{
label: "操作",
width: 240,
formatter: row => {
return (
<table-buttons noAdd row={row} onEdit={this.toEdit} onView={this.toView} onDel={this.toDel} />
);
}
}
]
}
};
}
};
</script>
\ No newline at end of file
<template>
<layout-view>
<el-descriptions :title="title" :column="column" :size="size" :colon="false" border>
<template slot="title">
<i class="el-icon-tickets"></i>
基本详细信息
</template>
<template slot="extra">
<el-button type="primary" @click="$router.go(-1)" size="small">返回</el-button>
</template>
<el-descriptions-item label="员工id" label-class-name="labelClass" content-class-name="contentClass">
{{form.staffId}}
</el-descriptions-item>
<el-descriptions-item label="员工姓名" label-class-name="labelClass" content-class-name="contentClass">
{{form.staffName}}
</el-descriptions-item>
<el-descriptions-item label="请假类型" label-class-name="labelClass" content-class-name="contentClass">
{{ util_formatters("type", form.type) }}
</el-descriptions-item>
<el-descriptions-item label="增减类型" label-class-name="labelClass" content-class-name="contentClass">
{{ util_formatters("subAddType", form.subAddType) }}
</el-descriptions-item>
<el-descriptions-item label="有效期" label-class-name="labelClass" content-class-name="contentClass">
{{form.validityPeriod}}
</el-descriptions-item>
<el-descriptions-item label="增加或扣减天数" label-class-name="labelClass" content-class-name="contentClass">
{{form.subOrAddDays}}
</el-descriptions-item>
<el-descriptions-item label="内容" label-class-name="labelClass" content-class-name="contentClass">
<editor v-model="form.content" :min-height="256"/>
</el-descriptions-item>
<el-descriptions-item label="规则" label-class-name="labelClass" content-class-name="contentClass">
{{form.rule}}
</el-descriptions-item>
<el-descriptions-item label="理由" label-class-name="labelClass" content-class-name="contentClass">
{{form.reason}}
</el-descriptions-item>
<el-descriptions-item label="备注" label-class-name="labelClass" content-class-name="contentClass">
{{form.remark}}
</el-descriptions-item>
</el-descriptions>
</layout-view>
</template>
<script>
import view from "@/assets/mixins/view";
import Editor from '@/components/Editor';
export default {
mixins: [view],
components: {
Editor,
},
methods: {
},
data() {
return {
size:"small",
column:2,
toString:[
"type",
"subAddType",
],
toArrays: [
],
toDate: [
]
}
}
}
</script>
<style lang="less">
.labelClass{
width: 200px;
}
.el-descriptions__body{
margin-left: 5px;
margin-right: 5px;
color: #606266;
background-color: #FFF;
}
.contentClass{
width: 600px;
}
</style>
\ No newline at end of file
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<profiles.publish.path>/home/publish</profiles.publish.path> <profiles.publish.path>/home/publish</profiles.publish.path>
<profiles.nacos.server-addr>192.168.0.252:8848</profiles.nacos.server-addr> <profiles.nacos.server-addr>192.168.0.252:8848</profiles.nacos.server-addr>
<profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group>
<profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> <profiles.nacos.namespace>smart-gov-dev</profiles.nacos.namespace>
<profiles.log.path>/home/mortals/app/logs</profiles.log.path> <profiles.log.path>/home/mortals/app/logs</profiles.log.path>
<profiles.log.level>INFO</profiles.log.level> <profiles.log.level>INFO</profiles.log.level>
<package.environment>test</package.environment> <package.environment>test</package.environment>
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
<groupId>com.hikvision.ga</groupId> <groupId>com.hikvision.ga</groupId>
<artifactId>artemis-http-client</artifactId> <artifactId>artemis-http-client</artifactId>
<version>1.1.8</version> <version>1.1.8</version>
<!--<systemPath>${project.basedir}/src/main/resources/lib/artemis-http-client-1.1.8.jar</systemPath>--> <!-- <systemPath>${project.basedir}/src/main/resources/lib/artemis-http-client-1.1.8.jar</systemPath>-->
</dependency> </dependency>
<dependency> <dependency>
......
...@@ -93,12 +93,6 @@ public class ArtemisPostTest { ...@@ -93,12 +93,6 @@ public class ArtemisPostTest {
return ArtemisHttpUtil.doPostStringArtemis(config,path, body, null, null, "application/json"); return ArtemisHttpUtil.doPostStringArtemis(config,path, body, null, null, "application/json");
} }
public static String callPostApiGetDeptList() throws Exception { public static String callPostApiGetDeptList() throws Exception {
/** /**
* https://ip:port/artemis/api/resource/v1/org/orgList * https://ip:port/artemis/api/resource/v1/org/orgList
......
package com.mortals.xhx.common.code;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* 增减类型(1.增加,2.扣除)枚举类
*
* @author zxfei
*/
public enum SubAddTypeEnum {
增加(1, "增加"),
扣除(2, "扣除");
private Integer value;
private String desc;
SubAddTypeEnum(Integer value, String desc) {
this.value = value;
this.desc = desc;
}
public Integer getValue() {
return this.value;
}
public String getDesc() {
return this.desc;
}
public static SubAddTypeEnum getByValue(Integer value) {
for (SubAddTypeEnum subAddTypeEnum : SubAddTypeEnum.values()) {
if (subAddTypeEnum.getValue() == value) {
return subAddTypeEnum;
}
}
return null;
}
/**
* 获取Map集合
*
* @param eItem 不包含项
* @return
*/
public static Map<String, String> getEnumMap(Integer... eItem) {
Map<String, String> resultMap = new LinkedHashMap<>();
for (SubAddTypeEnum item : SubAddTypeEnum.values()) {
try {
boolean hasE = false;
for (Integer e : eItem) {
if (item.getValue() == e) {
hasE = true;
break;
}
}
if (!hasE) {
resultMap.put(item.getValue() + "", item.getDesc());
}
} catch (Exception ex) {
}
}
return resultMap;
}
}
\ No newline at end of file
...@@ -4,7 +4,6 @@ import com.mortals.framework.exception.AppException; ...@@ -4,7 +4,6 @@ import com.mortals.framework.exception.AppException;
import com.mortals.framework.service.ITask; import com.mortals.framework.service.ITask;
import com.mortals.framework.service.ITaskExcuteService; import com.mortals.framework.service.ITaskExcuteService;
import com.mortals.xhx.base.framework.config.JsonUtils; import com.mortals.xhx.base.framework.config.JsonUtils;
import com.mortals.xhx.base.system.user.service.UserService;
import com.mortals.xhx.busiz.hik.ArtemisPostTest; import com.mortals.xhx.busiz.hik.ArtemisPostTest;
import com.mortals.xhx.busiz.rsp.DeptHikData; import com.mortals.xhx.busiz.rsp.DeptHikData;
import com.mortals.xhx.busiz.rsp.ListDept; import com.mortals.xhx.busiz.rsp.ListDept;
......
package com.mortals.xhx.module.attendance.dao;
import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.attendance.model.AttendanceVacationRecordEntity;
import java.util.List;
/**
* 员工假期记录信息Dao
* 员工假期记录信息 DAO接口
*
* @author zxfei
* @date 2023-04-12
*/
public interface AttendanceVacationRecordDao extends ICRUDDao<AttendanceVacationRecordEntity,Long>{
}
package com.mortals.xhx.module.attendance.dao.ibatis;
import org.springframework.stereotype.Repository;
import com.mortals.xhx.module.attendance.dao.AttendanceVacationRecordDao;
import com.mortals.xhx.module.attendance.model.AttendanceVacationRecordEntity;
import java.util.Date;
import com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis;
import java.util.List;
/**
* 员工假期记录信息DaoImpl DAO接口
*
* @author zxfei
* @date 2023-04-12
*/
@Repository("attendanceVacationRecordDao")
public class AttendanceVacationRecordDaoImpl extends BaseCRUDDaoMybatis<AttendanceVacationRecordEntity,Long> implements AttendanceVacationRecordDao {
}
...@@ -9,215 +9,305 @@ import com.mortals.framework.annotation.Excel; ...@@ -9,215 +9,305 @@ import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.attendance.model.vo.AttendanceVacationBalanceVo; import com.mortals.xhx.module.attendance.model.vo.AttendanceVacationBalanceVo;
/** /**
* 员工假期余额信息实体对象 * 员工假期余额信息实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-07 * @date 2023-04-11
*/ */
public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo { public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 员工id * 员工id
*/ */
@Excel(name = "员工id") @Excel(name = "员工id")
private Long staffId; private Long staffId;
/** /**
* 员工姓名 * 员工姓名
*/ */
private String staffName; private String staffName;
/** /**
* 部门id * 部门id
*/ */
private Long deptId; private Long deptId;
/** /**
* 部门名称 * 部门名称
*/ */
private String deptName; private String deptName;
/** /**
* 入职时间 * 入职时间
*/ */
private Date entryTime; private Date entryTime;
/** /**
* 事假(天) * 事假(天)
*/ */
private BigDecimal personalLeaveDays; private BigDecimal personalLeaveDays;
/** /**
* 调休(天) * 调休(天)
*/ */
private BigDecimal compensatedLeaveDays; private BigDecimal compensatedLeaveDays;
/** /**
* 病假(天) * 病假(天)
*/ */
private BigDecimal sickLeaveDays; private BigDecimal sickLeaveDays;
/** /**
* 年假(天) * 年假(天)
*/ */
private BigDecimal annualLeaveDays; private BigDecimal annualLeaveDays;
/** /**
* 婚假(天) * 产假(天)
*/ */
private BigDecimal maternityLeaveDays;
/**
* 陪产假(天)
*/
private BigDecimal paternityLeaveDays;
/**
* 婚假(天)
*/
private BigDecimal marriageLeaveDays; private BigDecimal marriageLeaveDays;
/** /**
* 备注 * 例假(天)
*/ */
private BigDecimal menstrualLeaveDays;
/**
* 哺乳假(天)
*/
private BigDecimal breastfeedingLeaveDays;
/**
* 丧假(天)
*/
private BigDecimal bereavementLeaveDays;
/**
* 备注
*/
private String remark; private String remark;
public AttendanceVacationBalanceEntity(){} public AttendanceVacationBalanceEntity(){}
/** /**
* 获取 员工id * 获取 员工id
* @return Long * @return Long
*/ */
public Long getStaffId(){ public Long getStaffId(){
return staffId; return staffId;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffId * @param staffId
*/ */
public void setStaffId(Long staffId){ public void setStaffId(Long staffId){
this.staffId = staffId; this.staffId = staffId;
} }
/** /**
* 获取 员工姓名 * 获取 员工姓名
* @return String * @return String
*/ */
public String getStaffName(){ public String getStaffName(){
return staffName; return staffName;
} }
/** /**
* 设置 员工姓名 * 设置 员工姓名
* @param staffName * @param staffName
*/ */
public void setStaffName(String staffName){ public void setStaffName(String staffName){
this.staffName = staffName; this.staffName = staffName;
} }
/** /**
* 获取 部门id * 获取 部门id
* @return Long * @return Long
*/ */
public Long getDeptId(){ public Long getDeptId(){
return deptId; return deptId;
} }
/** /**
* 设置 部门id * 设置 部门id
* @param deptId * @param deptId
*/ */
public void setDeptId(Long deptId){ public void setDeptId(Long deptId){
this.deptId = deptId; this.deptId = deptId;
} }
/** /**
* 获取 部门名称 * 获取 部门名称
* @return String * @return String
*/ */
public String getDeptName(){ public String getDeptName(){
return deptName; return deptName;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptName * @param deptName
*/ */
public void setDeptName(String deptName){ public void setDeptName(String deptName){
this.deptName = deptName; this.deptName = deptName;
} }
/** /**
* 获取 入职时间 * 获取 入职时间
* @return Date * @return Date
*/ */
public Date getEntryTime(){ public Date getEntryTime(){
return entryTime; return entryTime;
} }
/** /**
* 设置 入职时间 * 设置 入职时间
* @param entryTime * @param entryTime
*/ */
public void setEntryTime(Date entryTime){ public void setEntryTime(Date entryTime){
this.entryTime = entryTime; this.entryTime = entryTime;
} }
/** /**
* 获取 事假(天) * 获取 事假(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getPersonalLeaveDays(){ public BigDecimal getPersonalLeaveDays(){
return personalLeaveDays; return personalLeaveDays;
} }
/** /**
* 设置 事假(天) * 设置 事假(天)
* @param personalLeaveDays * @param personalLeaveDays
*/ */
public void setPersonalLeaveDays(BigDecimal personalLeaveDays){ public void setPersonalLeaveDays(BigDecimal personalLeaveDays){
this.personalLeaveDays = personalLeaveDays; this.personalLeaveDays = personalLeaveDays;
} }
/** /**
* 获取 调休(天) * 获取 调休(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getCompensatedLeaveDays(){ public BigDecimal getCompensatedLeaveDays(){
return compensatedLeaveDays; return compensatedLeaveDays;
} }
/** /**
* 设置 调休(天) * 设置 调休(天)
* @param compensatedLeaveDays * @param compensatedLeaveDays
*/ */
public void setCompensatedLeaveDays(BigDecimal compensatedLeaveDays){ public void setCompensatedLeaveDays(BigDecimal compensatedLeaveDays){
this.compensatedLeaveDays = compensatedLeaveDays; this.compensatedLeaveDays = compensatedLeaveDays;
} }
/** /**
* 获取 病假(天) * 获取 病假(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getSickLeaveDays(){ public BigDecimal getSickLeaveDays(){
return sickLeaveDays; return sickLeaveDays;
} }
/** /**
* 设置 病假(天) * 设置 病假(天)
* @param sickLeaveDays * @param sickLeaveDays
*/ */
public void setSickLeaveDays(BigDecimal sickLeaveDays){ public void setSickLeaveDays(BigDecimal sickLeaveDays){
this.sickLeaveDays = sickLeaveDays; this.sickLeaveDays = sickLeaveDays;
} }
/** /**
* 获取 年假(天) * 获取 年假(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getAnnualLeaveDays(){ public BigDecimal getAnnualLeaveDays(){
return annualLeaveDays; return annualLeaveDays;
} }
/** /**
* 设置 年假(天) * 设置 年假(天)
* @param annualLeaveDays * @param annualLeaveDays
*/ */
public void setAnnualLeaveDays(BigDecimal annualLeaveDays){ public void setAnnualLeaveDays(BigDecimal annualLeaveDays){
this.annualLeaveDays = annualLeaveDays; this.annualLeaveDays = annualLeaveDays;
} }
/** /**
* 获取 婚假(天) * 获取 产假(天)
* @return BigDecimal * @return BigDecimal
*/ */
public BigDecimal getMaternityLeaveDays(){
return maternityLeaveDays;
}
/**
* 设置 产假(天)
* @param maternityLeaveDays
*/
public void setMaternityLeaveDays(BigDecimal maternityLeaveDays){
this.maternityLeaveDays = maternityLeaveDays;
}
/**
* 获取 陪产假(天)
* @return BigDecimal
*/
public BigDecimal getPaternityLeaveDays(){
return paternityLeaveDays;
}
/**
* 设置 陪产假(天)
* @param paternityLeaveDays
*/
public void setPaternityLeaveDays(BigDecimal paternityLeaveDays){
this.paternityLeaveDays = paternityLeaveDays;
}
/**
* 获取 婚假(天)
* @return BigDecimal
*/
public BigDecimal getMarriageLeaveDays(){ public BigDecimal getMarriageLeaveDays(){
return marriageLeaveDays; return marriageLeaveDays;
} }
/** /**
* 设置 婚假(天) * 设置 婚假(天)
* @param marriageLeaveDays * @param marriageLeaveDays
*/ */
public void setMarriageLeaveDays(BigDecimal marriageLeaveDays){ public void setMarriageLeaveDays(BigDecimal marriageLeaveDays){
this.marriageLeaveDays = marriageLeaveDays; this.marriageLeaveDays = marriageLeaveDays;
} }
/** /**
* 获取 备注 * 获取 例假(天)
* @return String * @return BigDecimal
*/ */
public BigDecimal getMenstrualLeaveDays(){
return menstrualLeaveDays;
}
/**
* 设置 例假(天)
* @param menstrualLeaveDays
*/
public void setMenstrualLeaveDays(BigDecimal menstrualLeaveDays){
this.menstrualLeaveDays = menstrualLeaveDays;
}
/**
* 获取 哺乳假(天)
* @return BigDecimal
*/
public BigDecimal getBreastfeedingLeaveDays(){
return breastfeedingLeaveDays;
}
/**
* 设置 哺乳假(天)
* @param breastfeedingLeaveDays
*/
public void setBreastfeedingLeaveDays(BigDecimal breastfeedingLeaveDays){
this.breastfeedingLeaveDays = breastfeedingLeaveDays;
}
/**
* 获取 丧假(天)
* @return BigDecimal
*/
public BigDecimal getBereavementLeaveDays(){
return bereavementLeaveDays;
}
/**
* 设置 丧假(天)
* @param bereavementLeaveDays
*/
public void setBereavementLeaveDays(BigDecimal bereavementLeaveDays){
this.bereavementLeaveDays = bereavementLeaveDays;
}
/**
* 获取 备注
* @return String
*/
public String getRemark(){ public String getRemark(){
return remark; return remark;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public void setRemark(String remark){ public void setRemark(String remark){
this.remark = remark; this.remark = remark;
} }
...@@ -227,7 +317,7 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo ...@@ -227,7 +317,7 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -235,7 +325,7 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo ...@@ -235,7 +325,7 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo
if (obj instanceof AttendanceVacationBalanceEntity) { if (obj instanceof AttendanceVacationBalanceEntity) {
AttendanceVacationBalanceEntity tmp = (AttendanceVacationBalanceEntity) obj; AttendanceVacationBalanceEntity tmp = (AttendanceVacationBalanceEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
...@@ -252,33 +342,48 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo ...@@ -252,33 +342,48 @@ public class AttendanceVacationBalanceEntity extends AttendanceVacationBalanceVo
sb.append(",compensatedLeaveDays:").append(getCompensatedLeaveDays()); sb.append(",compensatedLeaveDays:").append(getCompensatedLeaveDays());
sb.append(",sickLeaveDays:").append(getSickLeaveDays()); sb.append(",sickLeaveDays:").append(getSickLeaveDays());
sb.append(",annualLeaveDays:").append(getAnnualLeaveDays()); sb.append(",annualLeaveDays:").append(getAnnualLeaveDays());
sb.append(",maternityLeaveDays:").append(getMaternityLeaveDays());
sb.append(",paternityLeaveDays:").append(getPaternityLeaveDays());
sb.append(",marriageLeaveDays:").append(getMarriageLeaveDays()); sb.append(",marriageLeaveDays:").append(getMarriageLeaveDays());
sb.append(",menstrualLeaveDays:").append(getMenstrualLeaveDays());
sb.append(",breastfeedingLeaveDays:").append(getBreastfeedingLeaveDays());
sb.append(",bereavementLeaveDays:").append(getBereavementLeaveDays());
sb.append(",remark:").append(getRemark()); sb.append(",remark:").append(getRemark());
return sb.toString(); return sb.toString();
} }
public void initAttrValue(){ public void initAttrValue(){
this.staffId = null; this.staffId = null;
this.staffName = "";
this.deptId = null;
this.deptName = "";
this.entryTime = null;
this.personalLeaveDays = BigDecimal.valueOf(0);
this.staffName = ""; this.compensatedLeaveDays = BigDecimal.valueOf(0);
this.deptId = null; this.sickLeaveDays = BigDecimal.valueOf(0);
this.deptName = ""; this.annualLeaveDays = BigDecimal.valueOf(0);
this.entryTime = null; this.maternityLeaveDays = BigDecimal.valueOf(0);
this.personalLeaveDays = BigDecimal.valueOf(0); this.paternityLeaveDays = BigDecimal.valueOf(0);
this.compensatedLeaveDays = BigDecimal.valueOf(0); this.marriageLeaveDays = BigDecimal.valueOf(0);
this.sickLeaveDays = BigDecimal.valueOf(0); this.menstrualLeaveDays = BigDecimal.valueOf(0);
this.annualLeaveDays = BigDecimal.valueOf(0); this.breastfeedingLeaveDays = BigDecimal.valueOf(0);
this.marriageLeaveDays = BigDecimal.valueOf(0); this.bereavementLeaveDays = BigDecimal.valueOf(0);
this.remark = ""; this.remark = "";
} }
} }
\ No newline at end of file
...@@ -5,11 +5,11 @@ import java.util.Date; ...@@ -5,11 +5,11 @@ import java.util.Date;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.attendance.model.AttendanceVacationBalanceEntity; import com.mortals.xhx.module.attendance.model.AttendanceVacationBalanceEntity;
/** /**
* 员工假期余额信息查询对象 * 员工假期余额信息查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-07 * @date 2023-04-11
*/ */
public class AttendanceVacationBalanceQuery extends AttendanceVacationBalanceEntity { public class AttendanceVacationBalanceQuery extends AttendanceVacationBalanceEntity {
/** 开始 序号,主键,自增长 */ /** 开始 序号,主键,自增长 */
private Long idStart; private Long idStart;
...@@ -132,6 +132,36 @@ public class AttendanceVacationBalanceQuery extends AttendanceVacationBalanceEnt ...@@ -132,6 +132,36 @@ public class AttendanceVacationBalanceQuery extends AttendanceVacationBalanceEnt
/** 年假(天)排除列表 */ /** 年假(天)排除列表 */
private List <BigDecimal> annualLeaveDaysNotList; private List <BigDecimal> annualLeaveDaysNotList;
/** 开始 产假(天) */
private BigDecimal maternityLeaveDaysStart;
/** 结束 产假(天) */
private BigDecimal maternityLeaveDaysEnd;
/** 增加 产假(天) */
private BigDecimal maternityLeaveDaysIncrement;
/** 产假(天)列表 */
private List <BigDecimal> maternityLeaveDaysList;
/** 产假(天)排除列表 */
private List <BigDecimal> maternityLeaveDaysNotList;
/** 开始 陪产假(天) */
private BigDecimal paternityLeaveDaysStart;
/** 结束 陪产假(天) */
private BigDecimal paternityLeaveDaysEnd;
/** 增加 陪产假(天) */
private BigDecimal paternityLeaveDaysIncrement;
/** 陪产假(天)列表 */
private List <BigDecimal> paternityLeaveDaysList;
/** 陪产假(天)排除列表 */
private List <BigDecimal> paternityLeaveDaysNotList;
/** 开始 婚假(天) */ /** 开始 婚假(天) */
private BigDecimal marriageLeaveDaysStart; private BigDecimal marriageLeaveDaysStart;
...@@ -147,6 +177,51 @@ public class AttendanceVacationBalanceQuery extends AttendanceVacationBalanceEnt ...@@ -147,6 +177,51 @@ public class AttendanceVacationBalanceQuery extends AttendanceVacationBalanceEnt
/** 婚假(天)排除列表 */ /** 婚假(天)排除列表 */
private List <BigDecimal> marriageLeaveDaysNotList; private List <BigDecimal> marriageLeaveDaysNotList;
/** 开始 例假(天) */
private BigDecimal menstrualLeaveDaysStart;
/** 结束 例假(天) */
private BigDecimal menstrualLeaveDaysEnd;
/** 增加 例假(天) */
private BigDecimal menstrualLeaveDaysIncrement;
/** 例假(天)列表 */
private List <BigDecimal> menstrualLeaveDaysList;
/** 例假(天)排除列表 */
private List <BigDecimal> menstrualLeaveDaysNotList;
/** 开始 哺乳假(天) */
private BigDecimal breastfeedingLeaveDaysStart;
/** 结束 哺乳假(天) */
private BigDecimal breastfeedingLeaveDaysEnd;
/** 增加 哺乳假(天) */
private BigDecimal breastfeedingLeaveDaysIncrement;
/** 哺乳假(天)列表 */
private List <BigDecimal> breastfeedingLeaveDaysList;
/** 哺乳假(天)排除列表 */
private List <BigDecimal> breastfeedingLeaveDaysNotList;
/** 开始 丧假(天) */
private BigDecimal bereavementLeaveDaysStart;
/** 结束 丧假(天) */
private BigDecimal bereavementLeaveDaysEnd;
/** 增加 丧假(天) */
private BigDecimal bereavementLeaveDaysIncrement;
/** 丧假(天)列表 */
private List <BigDecimal> bereavementLeaveDaysList;
/** 丧假(天)排除列表 */
private List <BigDecimal> bereavementLeaveDaysNotList;
/** 备注 */ /** 备注 */
private List<String> remarkList; private List<String> remarkList;
...@@ -203,1635 +278,2310 @@ public class AttendanceVacationBalanceQuery extends AttendanceVacationBalanceEnt ...@@ -203,1635 +278,2310 @@ public class AttendanceVacationBalanceQuery extends AttendanceVacationBalanceEnt
public AttendanceVacationBalanceQuery(){} public AttendanceVacationBalanceQuery(){}
/** /**
* 获取 开始 序号,主键,自增长 * 获取 开始 序号,主键,自增长
* @return idStart * @return idStart
*/ */
public Long getIdStart(){ public Long getIdStart(){
return this.idStart; return this.idStart;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 序号,主键,自增长
* @param idStart * @param idStart
*/ */
public void setIdStart(Long idStart){ public void setIdStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
} }
/** /**
* 获取 结束 序号,主键,自增长 * 获取 结束 序号,主键,自增长
* @return $idEnd * @return $idEnd
*/ */
public Long getIdEnd(){ public Long getIdEnd(){
return this.idEnd; return this.idEnd;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 设置 结束 序号,主键,自增长
* @param idEnd * @param idEnd
*/ */
public void setIdEnd(Long idEnd){ public void setIdEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
} }
/** /**
* 获取 增加 序号,主键,自增长 * 获取 增加 序号,主键,自增长
* @return idIncrement * @return idIncrement
*/ */
public Long getIdIncrement(){ public Long getIdIncrement(){
return this.idIncrement; return this.idIncrement;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 增加 序号,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public void setIdIncrement(Long idIncrement){ public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
} }
/** /**
* 获取 序号,主键,自增长 * 获取 序号,主键,自增长
* @return idList * @return idList
*/ */
public List<Long> getIdList(){ public List<Long> getIdList(){
return this.idList; return this.idList;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idList * @param idList
*/ */
public void setIdList(List<Long> idList){ public void setIdList(List<Long> idList){
this.idList = idList; this.idList = idList;
} }
/** /**
* 获取 序号,主键,自增长 * 获取 序号,主键,自增长
* @return idNotList * @return idNotList
*/ */
public List<Long> getIdNotList(){ public List<Long> getIdNotList(){
return this.idNotList; return this.idNotList;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idNotList * @param idNotList
*/ */
public void setIdNotList(List<Long> idNotList){ public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
} }
/** /**
* 获取 开始 员工id * 获取 开始 员工id
* @return staffIdStart * @return staffIdStart
*/ */
public Long getStaffIdStart(){ public Long getStaffIdStart(){
return this.staffIdStart; return this.staffIdStart;
} }
/** /**
* 设置 开始 员工id * 设置 开始 员工id
* @param staffIdStart * @param staffIdStart
*/ */
public void setStaffIdStart(Long staffIdStart){ public void setStaffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart; this.staffIdStart = staffIdStart;
} }
/** /**
* 获取 结束 员工id * 获取 结束 员工id
* @return $staffIdEnd * @return $staffIdEnd
*/ */
public Long getStaffIdEnd(){ public Long getStaffIdEnd(){
return this.staffIdEnd; return this.staffIdEnd;
} }
/** /**
* 设置 结束 员工id * 设置 结束 员工id
* @param staffIdEnd * @param staffIdEnd
*/ */
public void setStaffIdEnd(Long staffIdEnd){ public void setStaffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd; this.staffIdEnd = staffIdEnd;
} }
/** /**
* 获取 增加 员工id * 获取 增加 员工id
* @return staffIdIncrement * @return staffIdIncrement
*/ */
public Long getStaffIdIncrement(){ public Long getStaffIdIncrement(){
return this.staffIdIncrement; return this.staffIdIncrement;
} }
/** /**
* 设置 增加 员工id * 设置 增加 员工id
* @param staffIdIncrement * @param staffIdIncrement
*/ */
public void setStaffIdIncrement(Long staffIdIncrement){ public void setStaffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement; this.staffIdIncrement = staffIdIncrement;
} }
/** /**
* 获取 员工id * 获取 员工id
* @return staffIdList * @return staffIdList
*/ */
public List<Long> getStaffIdList(){ public List<Long> getStaffIdList(){
return this.staffIdList; return this.staffIdList;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffIdList * @param staffIdList
*/ */
public void setStaffIdList(List<Long> staffIdList){ public void setStaffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList; this.staffIdList = staffIdList;
} }
/** /**
* 获取 员工id * 获取 员工id
* @return staffIdNotList * @return staffIdNotList
*/ */
public List<Long> getStaffIdNotList(){ public List<Long> getStaffIdNotList(){
return this.staffIdNotList; return this.staffIdNotList;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffIdNotList * @param staffIdNotList
*/ */
public void setStaffIdNotList(List<Long> staffIdNotList){ public void setStaffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList; this.staffIdNotList = staffIdNotList;
} }
/** /**
* 获取 员工姓名 * 获取 员工姓名
* @return staffNameList * @return staffNameList
*/ */
public List<String> getStaffNameList(){ public List<String> getStaffNameList(){
return this.staffNameList; return this.staffNameList;
} }
/** /**
* 设置 员工姓名 * 设置 员工姓名
* @param staffNameList * @param staffNameList
*/ */
public void setStaffNameList(List<String> staffNameList){ public void setStaffNameList(List<String> staffNameList){
this.staffNameList = staffNameList; this.staffNameList = staffNameList;
} }
/** /**
* 获取 员工姓名 * 获取 员工姓名
* @return staffNameNotList * @return staffNameNotList
*/ */
public List<String> getStaffNameNotList(){ public List<String> getStaffNameNotList(){
return this.staffNameNotList; return this.staffNameNotList;
} }
/** /**
* 设置 员工姓名 * 设置 员工姓名
* @param staffNameNotList * @param staffNameNotList
*/ */
public void setStaffNameNotList(List<String> staffNameNotList){ public void setStaffNameNotList(List<String> staffNameNotList){
this.staffNameNotList = staffNameNotList; this.staffNameNotList = staffNameNotList;
} }
/** /**
* 获取 开始 部门id * 获取 开始 部门id
* @return deptIdStart * @return deptIdStart
*/ */
public Long getDeptIdStart(){ public Long getDeptIdStart(){
return this.deptIdStart; return this.deptIdStart;
} }
/** /**
* 设置 开始 部门id * 设置 开始 部门id
* @param deptIdStart * @param deptIdStart
*/ */
public void setDeptIdStart(Long deptIdStart){ public void setDeptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart; this.deptIdStart = deptIdStart;
} }
/** /**
* 获取 结束 部门id * 获取 结束 部门id
* @return $deptIdEnd * @return $deptIdEnd
*/ */
public Long getDeptIdEnd(){ public Long getDeptIdEnd(){
return this.deptIdEnd; return this.deptIdEnd;
} }
/** /**
* 设置 结束 部门id * 设置 结束 部门id
* @param deptIdEnd * @param deptIdEnd
*/ */
public void setDeptIdEnd(Long deptIdEnd){ public void setDeptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd; this.deptIdEnd = deptIdEnd;
} }
/** /**
* 获取 增加 部门id * 获取 增加 部门id
* @return deptIdIncrement * @return deptIdIncrement
*/ */
public Long getDeptIdIncrement(){ public Long getDeptIdIncrement(){
return this.deptIdIncrement; return this.deptIdIncrement;
} }
/** /**
* 设置 增加 部门id * 设置 增加 部门id
* @param deptIdIncrement * @param deptIdIncrement
*/ */
public void setDeptIdIncrement(Long deptIdIncrement){ public void setDeptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement; this.deptIdIncrement = deptIdIncrement;
} }
/** /**
* 获取 部门id * 获取 部门id
* @return deptIdList * @return deptIdList
*/ */
public List<Long> getDeptIdList(){ public List<Long> getDeptIdList(){
return this.deptIdList; return this.deptIdList;
} }
/** /**
* 设置 部门id * 设置 部门id
* @param deptIdList * @param deptIdList
*/ */
public void setDeptIdList(List<Long> deptIdList){ public void setDeptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList; this.deptIdList = deptIdList;
} }
/** /**
* 获取 部门id * 获取 部门id
* @return deptIdNotList * @return deptIdNotList
*/ */
public List<Long> getDeptIdNotList(){ public List<Long> getDeptIdNotList(){
return this.deptIdNotList; return this.deptIdNotList;
} }
/** /**
* 设置 部门id * 设置 部门id
* @param deptIdNotList * @param deptIdNotList
*/ */
public void setDeptIdNotList(List<Long> deptIdNotList){ public void setDeptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList; this.deptIdNotList = deptIdNotList;
} }
/** /**
* 获取 部门名称 * 获取 部门名称
* @return deptNameList * @return deptNameList
*/ */
public List<String> getDeptNameList(){ public List<String> getDeptNameList(){
return this.deptNameList; return this.deptNameList;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptNameList * @param deptNameList
*/ */
public void setDeptNameList(List<String> deptNameList){ public void setDeptNameList(List<String> deptNameList){
this.deptNameList = deptNameList; this.deptNameList = deptNameList;
} }
/** /**
* 获取 部门名称 * 获取 部门名称
* @return deptNameNotList * @return deptNameNotList
*/ */
public List<String> getDeptNameNotList(){ public List<String> getDeptNameNotList(){
return this.deptNameNotList; return this.deptNameNotList;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptNameNotList * @param deptNameNotList
*/ */
public void setDeptNameNotList(List<String> deptNameNotList){ public void setDeptNameNotList(List<String> deptNameNotList){
this.deptNameNotList = deptNameNotList; this.deptNameNotList = deptNameNotList;
} }
/** /**
* 获取 开始 入职时间 * 获取 开始 入职时间
* @return entryTimeStart * @return entryTimeStart
*/ */
public String getEntryTimeStart(){ public String getEntryTimeStart(){
return this.entryTimeStart; return this.entryTimeStart;
} }
/** /**
* 设置 开始 入职时间 * 设置 开始 入职时间
* @param entryTimeStart * @param entryTimeStart
*/ */
public void setEntryTimeStart(String entryTimeStart){ public void setEntryTimeStart(String entryTimeStart){
this.entryTimeStart = entryTimeStart; this.entryTimeStart = entryTimeStart;
} }
/** /**
* 获取 结束 入职时间 * 获取 结束 入职时间
* @return entryTimeEnd * @return entryTimeEnd
*/ */
public String getEntryTimeEnd(){ public String getEntryTimeEnd(){
return this.entryTimeEnd; return this.entryTimeEnd;
} }
/** /**
* 设置 结束 入职时间 * 设置 结束 入职时间
* @param entryTimeEnd * @param entryTimeEnd
*/ */
public void setEntryTimeEnd(String entryTimeEnd){ public void setEntryTimeEnd(String entryTimeEnd){
this.entryTimeEnd = entryTimeEnd; this.entryTimeEnd = entryTimeEnd;
} }
/** /**
* 获取 开始 事假(天) * 获取 开始 事假(天)
* @return personalLeaveDaysStart * @return personalLeaveDaysStart
*/ */
public BigDecimal getPersonalLeaveDaysStart(){ public BigDecimal getPersonalLeaveDaysStart(){
return this.personalLeaveDaysStart; return this.personalLeaveDaysStart;
} }
/** /**
* 设置 开始 事假(天) * 设置 开始 事假(天)
* @param personalLeaveDaysStart * @param personalLeaveDaysStart
*/ */
public void setPersonalLeaveDaysStart(BigDecimal personalLeaveDaysStart){ public void setPersonalLeaveDaysStart(BigDecimal personalLeaveDaysStart){
this.personalLeaveDaysStart = personalLeaveDaysStart; this.personalLeaveDaysStart = personalLeaveDaysStart;
} }
/** /**
* 获取 结束 事假(天) * 获取 结束 事假(天)
* @return $personalLeaveDaysEnd * @return $personalLeaveDaysEnd
*/ */
public BigDecimal getPersonalLeaveDaysEnd(){ public BigDecimal getPersonalLeaveDaysEnd(){
return this.personalLeaveDaysEnd; return this.personalLeaveDaysEnd;
} }
/** /**
* 设置 结束 事假(天) * 设置 结束 事假(天)
* @param personalLeaveDaysEnd * @param personalLeaveDaysEnd
*/ */
public void setPersonalLeaveDaysEnd(BigDecimal personalLeaveDaysEnd){ public void setPersonalLeaveDaysEnd(BigDecimal personalLeaveDaysEnd){
this.personalLeaveDaysEnd = personalLeaveDaysEnd; this.personalLeaveDaysEnd = personalLeaveDaysEnd;
} }
/** /**
* 获取 增加 事假(天) * 获取 增加 事假(天)
* @return personalLeaveDaysIncrement * @return personalLeaveDaysIncrement
*/ */
public BigDecimal getPersonalLeaveDaysIncrement(){ public BigDecimal getPersonalLeaveDaysIncrement(){
return this.personalLeaveDaysIncrement; return this.personalLeaveDaysIncrement;
} }
/** /**
* 设置 增加 事假(天) * 设置 增加 事假(天)
* @param personalLeaveDaysIncrement * @param personalLeaveDaysIncrement
*/ */
public void setPersonalLeaveDaysIncrement(BigDecimal personalLeaveDaysIncrement){ public void setPersonalLeaveDaysIncrement(BigDecimal personalLeaveDaysIncrement){
this.personalLeaveDaysIncrement = personalLeaveDaysIncrement; this.personalLeaveDaysIncrement = personalLeaveDaysIncrement;
} }
/** /**
* 获取 事假(天) * 获取 事假(天)
* @return personalLeaveDaysList * @return personalLeaveDaysList
*/ */
public List<BigDecimal> getPersonalLeaveDaysList(){ public List<BigDecimal> getPersonalLeaveDaysList(){
return this.personalLeaveDaysList; return this.personalLeaveDaysList;
} }
/** /**
* 设置 事假(天) * 设置 事假(天)
* @param personalLeaveDaysList * @param personalLeaveDaysList
*/ */
public void setPersonalLeaveDaysList(List<BigDecimal> personalLeaveDaysList){ public void setPersonalLeaveDaysList(List<BigDecimal> personalLeaveDaysList){
this.personalLeaveDaysList = personalLeaveDaysList; this.personalLeaveDaysList = personalLeaveDaysList;
} }
/** /**
* 获取 事假(天) * 获取 事假(天)
* @return personalLeaveDaysNotList * @return personalLeaveDaysNotList
*/ */
public List<BigDecimal> getPersonalLeaveDaysNotList(){ public List<BigDecimal> getPersonalLeaveDaysNotList(){
return this.personalLeaveDaysNotList; return this.personalLeaveDaysNotList;
} }
/** /**
* 设置 事假(天) * 设置 事假(天)
* @param personalLeaveDaysNotList * @param personalLeaveDaysNotList
*/ */
public void setPersonalLeaveDaysNotList(List<BigDecimal> personalLeaveDaysNotList){ public void setPersonalLeaveDaysNotList(List<BigDecimal> personalLeaveDaysNotList){
this.personalLeaveDaysNotList = personalLeaveDaysNotList; this.personalLeaveDaysNotList = personalLeaveDaysNotList;
} }
/** /**
* 获取 开始 调休(天) * 获取 开始 调休(天)
* @return compensatedLeaveDaysStart * @return compensatedLeaveDaysStart
*/ */
public BigDecimal getCompensatedLeaveDaysStart(){ public BigDecimal getCompensatedLeaveDaysStart(){
return this.compensatedLeaveDaysStart; return this.compensatedLeaveDaysStart;
} }
/** /**
* 设置 开始 调休(天) * 设置 开始 调休(天)
* @param compensatedLeaveDaysStart * @param compensatedLeaveDaysStart
*/ */
public void setCompensatedLeaveDaysStart(BigDecimal compensatedLeaveDaysStart){ public void setCompensatedLeaveDaysStart(BigDecimal compensatedLeaveDaysStart){
this.compensatedLeaveDaysStart = compensatedLeaveDaysStart; this.compensatedLeaveDaysStart = compensatedLeaveDaysStart;
} }
/** /**
* 获取 结束 调休(天) * 获取 结束 调休(天)
* @return $compensatedLeaveDaysEnd * @return $compensatedLeaveDaysEnd
*/ */
public BigDecimal getCompensatedLeaveDaysEnd(){ public BigDecimal getCompensatedLeaveDaysEnd(){
return this.compensatedLeaveDaysEnd; return this.compensatedLeaveDaysEnd;
} }
/** /**
* 设置 结束 调休(天) * 设置 结束 调休(天)
* @param compensatedLeaveDaysEnd * @param compensatedLeaveDaysEnd
*/ */
public void setCompensatedLeaveDaysEnd(BigDecimal compensatedLeaveDaysEnd){ public void setCompensatedLeaveDaysEnd(BigDecimal compensatedLeaveDaysEnd){
this.compensatedLeaveDaysEnd = compensatedLeaveDaysEnd; this.compensatedLeaveDaysEnd = compensatedLeaveDaysEnd;
} }
/** /**
* 获取 增加 调休(天) * 获取 增加 调休(天)
* @return compensatedLeaveDaysIncrement * @return compensatedLeaveDaysIncrement
*/ */
public BigDecimal getCompensatedLeaveDaysIncrement(){ public BigDecimal getCompensatedLeaveDaysIncrement(){
return this.compensatedLeaveDaysIncrement; return this.compensatedLeaveDaysIncrement;
} }
/** /**
* 设置 增加 调休(天) * 设置 增加 调休(天)
* @param compensatedLeaveDaysIncrement * @param compensatedLeaveDaysIncrement
*/ */
public void setCompensatedLeaveDaysIncrement(BigDecimal compensatedLeaveDaysIncrement){ public void setCompensatedLeaveDaysIncrement(BigDecimal compensatedLeaveDaysIncrement){
this.compensatedLeaveDaysIncrement = compensatedLeaveDaysIncrement; this.compensatedLeaveDaysIncrement = compensatedLeaveDaysIncrement;
} }
/** /**
* 获取 调休(天) * 获取 调休(天)
* @return compensatedLeaveDaysList * @return compensatedLeaveDaysList
*/ */
public List<BigDecimal> getCompensatedLeaveDaysList(){ public List<BigDecimal> getCompensatedLeaveDaysList(){
return this.compensatedLeaveDaysList; return this.compensatedLeaveDaysList;
} }
/** /**
* 设置 调休(天) * 设置 调休(天)
* @param compensatedLeaveDaysList * @param compensatedLeaveDaysList
*/ */
public void setCompensatedLeaveDaysList(List<BigDecimal> compensatedLeaveDaysList){ public void setCompensatedLeaveDaysList(List<BigDecimal> compensatedLeaveDaysList){
this.compensatedLeaveDaysList = compensatedLeaveDaysList; this.compensatedLeaveDaysList = compensatedLeaveDaysList;
} }
/** /**
* 获取 调休(天) * 获取 调休(天)
* @return compensatedLeaveDaysNotList * @return compensatedLeaveDaysNotList
*/ */
public List<BigDecimal> getCompensatedLeaveDaysNotList(){ public List<BigDecimal> getCompensatedLeaveDaysNotList(){
return this.compensatedLeaveDaysNotList; return this.compensatedLeaveDaysNotList;
} }
/** /**
* 设置 调休(天) * 设置 调休(天)
* @param compensatedLeaveDaysNotList * @param compensatedLeaveDaysNotList
*/ */
public void setCompensatedLeaveDaysNotList(List<BigDecimal> compensatedLeaveDaysNotList){ public void setCompensatedLeaveDaysNotList(List<BigDecimal> compensatedLeaveDaysNotList){
this.compensatedLeaveDaysNotList = compensatedLeaveDaysNotList; this.compensatedLeaveDaysNotList = compensatedLeaveDaysNotList;
} }
/** /**
* 获取 开始 病假(天) * 获取 开始 病假(天)
* @return sickLeaveDaysStart * @return sickLeaveDaysStart
*/ */
public BigDecimal getSickLeaveDaysStart(){ public BigDecimal getSickLeaveDaysStart(){
return this.sickLeaveDaysStart; return this.sickLeaveDaysStart;
} }
/** /**
* 设置 开始 病假(天) * 设置 开始 病假(天)
* @param sickLeaveDaysStart * @param sickLeaveDaysStart
*/ */
public void setSickLeaveDaysStart(BigDecimal sickLeaveDaysStart){ public void setSickLeaveDaysStart(BigDecimal sickLeaveDaysStart){
this.sickLeaveDaysStart = sickLeaveDaysStart; this.sickLeaveDaysStart = sickLeaveDaysStart;
} }
/** /**
* 获取 结束 病假(天) * 获取 结束 病假(天)
* @return $sickLeaveDaysEnd * @return $sickLeaveDaysEnd
*/ */
public BigDecimal getSickLeaveDaysEnd(){ public BigDecimal getSickLeaveDaysEnd(){
return this.sickLeaveDaysEnd; return this.sickLeaveDaysEnd;
} }
/** /**
* 设置 结束 病假(天) * 设置 结束 病假(天)
* @param sickLeaveDaysEnd * @param sickLeaveDaysEnd
*/ */
public void setSickLeaveDaysEnd(BigDecimal sickLeaveDaysEnd){ public void setSickLeaveDaysEnd(BigDecimal sickLeaveDaysEnd){
this.sickLeaveDaysEnd = sickLeaveDaysEnd; this.sickLeaveDaysEnd = sickLeaveDaysEnd;
} }
/** /**
* 获取 增加 病假(天) * 获取 增加 病假(天)
* @return sickLeaveDaysIncrement * @return sickLeaveDaysIncrement
*/ */
public BigDecimal getSickLeaveDaysIncrement(){ public BigDecimal getSickLeaveDaysIncrement(){
return this.sickLeaveDaysIncrement; return this.sickLeaveDaysIncrement;
} }
/** /**
* 设置 增加 病假(天) * 设置 增加 病假(天)
* @param sickLeaveDaysIncrement * @param sickLeaveDaysIncrement
*/ */
public void setSickLeaveDaysIncrement(BigDecimal sickLeaveDaysIncrement){ public void setSickLeaveDaysIncrement(BigDecimal sickLeaveDaysIncrement){
this.sickLeaveDaysIncrement = sickLeaveDaysIncrement; this.sickLeaveDaysIncrement = sickLeaveDaysIncrement;
} }
/** /**
* 获取 病假(天) * 获取 病假(天)
* @return sickLeaveDaysList * @return sickLeaveDaysList
*/ */
public List<BigDecimal> getSickLeaveDaysList(){ public List<BigDecimal> getSickLeaveDaysList(){
return this.sickLeaveDaysList; return this.sickLeaveDaysList;
} }
/** /**
* 设置 病假(天) * 设置 病假(天)
* @param sickLeaveDaysList * @param sickLeaveDaysList
*/ */
public void setSickLeaveDaysList(List<BigDecimal> sickLeaveDaysList){ public void setSickLeaveDaysList(List<BigDecimal> sickLeaveDaysList){
this.sickLeaveDaysList = sickLeaveDaysList; this.sickLeaveDaysList = sickLeaveDaysList;
} }
/** /**
* 获取 病假(天) * 获取 病假(天)
* @return sickLeaveDaysNotList * @return sickLeaveDaysNotList
*/ */
public List<BigDecimal> getSickLeaveDaysNotList(){ public List<BigDecimal> getSickLeaveDaysNotList(){
return this.sickLeaveDaysNotList; return this.sickLeaveDaysNotList;
} }
/** /**
* 设置 病假(天) * 设置 病假(天)
* @param sickLeaveDaysNotList * @param sickLeaveDaysNotList
*/ */
public void setSickLeaveDaysNotList(List<BigDecimal> sickLeaveDaysNotList){ public void setSickLeaveDaysNotList(List<BigDecimal> sickLeaveDaysNotList){
this.sickLeaveDaysNotList = sickLeaveDaysNotList; this.sickLeaveDaysNotList = sickLeaveDaysNotList;
} }
/** /**
* 获取 开始 年假(天) * 获取 开始 年假(天)
* @return annualLeaveDaysStart * @return annualLeaveDaysStart
*/ */
public BigDecimal getAnnualLeaveDaysStart(){ public BigDecimal getAnnualLeaveDaysStart(){
return this.annualLeaveDaysStart; return this.annualLeaveDaysStart;
} }
/** /**
* 设置 开始 年假(天) * 设置 开始 年假(天)
* @param annualLeaveDaysStart * @param annualLeaveDaysStart
*/ */
public void setAnnualLeaveDaysStart(BigDecimal annualLeaveDaysStart){ public void setAnnualLeaveDaysStart(BigDecimal annualLeaveDaysStart){
this.annualLeaveDaysStart = annualLeaveDaysStart; this.annualLeaveDaysStart = annualLeaveDaysStart;
} }
/** /**
* 获取 结束 年假(天) * 获取 结束 年假(天)
* @return $annualLeaveDaysEnd * @return $annualLeaveDaysEnd
*/ */
public BigDecimal getAnnualLeaveDaysEnd(){ public BigDecimal getAnnualLeaveDaysEnd(){
return this.annualLeaveDaysEnd; return this.annualLeaveDaysEnd;
} }
/** /**
* 设置 结束 年假(天) * 设置 结束 年假(天)
* @param annualLeaveDaysEnd * @param annualLeaveDaysEnd
*/ */
public void setAnnualLeaveDaysEnd(BigDecimal annualLeaveDaysEnd){ public void setAnnualLeaveDaysEnd(BigDecimal annualLeaveDaysEnd){
this.annualLeaveDaysEnd = annualLeaveDaysEnd; this.annualLeaveDaysEnd = annualLeaveDaysEnd;
} }
/** /**
* 获取 增加 年假(天) * 获取 增加 年假(天)
* @return annualLeaveDaysIncrement * @return annualLeaveDaysIncrement
*/ */
public BigDecimal getAnnualLeaveDaysIncrement(){ public BigDecimal getAnnualLeaveDaysIncrement(){
return this.annualLeaveDaysIncrement; return this.annualLeaveDaysIncrement;
} }
/** /**
* 设置 增加 年假(天) * 设置 增加 年假(天)
* @param annualLeaveDaysIncrement * @param annualLeaveDaysIncrement
*/ */
public void setAnnualLeaveDaysIncrement(BigDecimal annualLeaveDaysIncrement){ public void setAnnualLeaveDaysIncrement(BigDecimal annualLeaveDaysIncrement){
this.annualLeaveDaysIncrement = annualLeaveDaysIncrement; this.annualLeaveDaysIncrement = annualLeaveDaysIncrement;
} }
/** /**
* 获取 年假(天) * 获取 年假(天)
* @return annualLeaveDaysList * @return annualLeaveDaysList
*/ */
public List<BigDecimal> getAnnualLeaveDaysList(){ public List<BigDecimal> getAnnualLeaveDaysList(){
return this.annualLeaveDaysList; return this.annualLeaveDaysList;
} }
/** /**
* 设置 年假(天) * 设置 年假(天)
* @param annualLeaveDaysList * @param annualLeaveDaysList
*/ */
public void setAnnualLeaveDaysList(List<BigDecimal> annualLeaveDaysList){ public void setAnnualLeaveDaysList(List<BigDecimal> annualLeaveDaysList){
this.annualLeaveDaysList = annualLeaveDaysList; this.annualLeaveDaysList = annualLeaveDaysList;
} }
/** /**
* 获取 年假(天) * 获取 年假(天)
* @return annualLeaveDaysNotList * @return annualLeaveDaysNotList
*/ */
public List<BigDecimal> getAnnualLeaveDaysNotList(){ public List<BigDecimal> getAnnualLeaveDaysNotList(){
return this.annualLeaveDaysNotList; return this.annualLeaveDaysNotList;
} }
/** /**
* 设置 年假(天) * 设置 年假(天)
* @param annualLeaveDaysNotList * @param annualLeaveDaysNotList
*/ */
public void setAnnualLeaveDaysNotList(List<BigDecimal> annualLeaveDaysNotList){ public void setAnnualLeaveDaysNotList(List<BigDecimal> annualLeaveDaysNotList){
this.annualLeaveDaysNotList = annualLeaveDaysNotList; this.annualLeaveDaysNotList = annualLeaveDaysNotList;
} }
/** /**
* 获取 开始 婚假(天) * 获取 开始 产假(天)
* @return marriageLeaveDaysStart * @return maternityLeaveDaysStart
*/ */
public BigDecimal getMaternityLeaveDaysStart(){
return this.maternityLeaveDaysStart;
}
/**
* 设置 开始 产假(天)
* @param maternityLeaveDaysStart
*/
public void setMaternityLeaveDaysStart(BigDecimal maternityLeaveDaysStart){
this.maternityLeaveDaysStart = maternityLeaveDaysStart;
}
/**
* 获取 结束 产假(天)
* @return $maternityLeaveDaysEnd
*/
public BigDecimal getMaternityLeaveDaysEnd(){
return this.maternityLeaveDaysEnd;
}
/**
* 设置 结束 产假(天)
* @param maternityLeaveDaysEnd
*/
public void setMaternityLeaveDaysEnd(BigDecimal maternityLeaveDaysEnd){
this.maternityLeaveDaysEnd = maternityLeaveDaysEnd;
}
/**
* 获取 增加 产假(天)
* @return maternityLeaveDaysIncrement
*/
public BigDecimal getMaternityLeaveDaysIncrement(){
return this.maternityLeaveDaysIncrement;
}
/**
* 设置 增加 产假(天)
* @param maternityLeaveDaysIncrement
*/
public void setMaternityLeaveDaysIncrement(BigDecimal maternityLeaveDaysIncrement){
this.maternityLeaveDaysIncrement = maternityLeaveDaysIncrement;
}
/**
* 获取 产假(天)
* @return maternityLeaveDaysList
*/
public List<BigDecimal> getMaternityLeaveDaysList(){
return this.maternityLeaveDaysList;
}
/**
* 设置 产假(天)
* @param maternityLeaveDaysList
*/
public void setMaternityLeaveDaysList(List<BigDecimal> maternityLeaveDaysList){
this.maternityLeaveDaysList = maternityLeaveDaysList;
}
/**
* 获取 产假(天)
* @return maternityLeaveDaysNotList
*/
public List<BigDecimal> getMaternityLeaveDaysNotList(){
return this.maternityLeaveDaysNotList;
}
/**
* 设置 产假(天)
* @param maternityLeaveDaysNotList
*/
public void setMaternityLeaveDaysNotList(List<BigDecimal> maternityLeaveDaysNotList){
this.maternityLeaveDaysNotList = maternityLeaveDaysNotList;
}
/**
* 获取 开始 陪产假(天)
* @return paternityLeaveDaysStart
*/
public BigDecimal getPaternityLeaveDaysStart(){
return this.paternityLeaveDaysStart;
}
/**
* 设置 开始 陪产假(天)
* @param paternityLeaveDaysStart
*/
public void setPaternityLeaveDaysStart(BigDecimal paternityLeaveDaysStart){
this.paternityLeaveDaysStart = paternityLeaveDaysStart;
}
/**
* 获取 结束 陪产假(天)
* @return $paternityLeaveDaysEnd
*/
public BigDecimal getPaternityLeaveDaysEnd(){
return this.paternityLeaveDaysEnd;
}
/**
* 设置 结束 陪产假(天)
* @param paternityLeaveDaysEnd
*/
public void setPaternityLeaveDaysEnd(BigDecimal paternityLeaveDaysEnd){
this.paternityLeaveDaysEnd = paternityLeaveDaysEnd;
}
/**
* 获取 增加 陪产假(天)
* @return paternityLeaveDaysIncrement
*/
public BigDecimal getPaternityLeaveDaysIncrement(){
return this.paternityLeaveDaysIncrement;
}
/**
* 设置 增加 陪产假(天)
* @param paternityLeaveDaysIncrement
*/
public void setPaternityLeaveDaysIncrement(BigDecimal paternityLeaveDaysIncrement){
this.paternityLeaveDaysIncrement = paternityLeaveDaysIncrement;
}
/**
* 获取 陪产假(天)
* @return paternityLeaveDaysList
*/
public List<BigDecimal> getPaternityLeaveDaysList(){
return this.paternityLeaveDaysList;
}
/**
* 设置 陪产假(天)
* @param paternityLeaveDaysList
*/
public void setPaternityLeaveDaysList(List<BigDecimal> paternityLeaveDaysList){
this.paternityLeaveDaysList = paternityLeaveDaysList;
}
/**
* 获取 陪产假(天)
* @return paternityLeaveDaysNotList
*/
public List<BigDecimal> getPaternityLeaveDaysNotList(){
return this.paternityLeaveDaysNotList;
}
/**
* 设置 陪产假(天)
* @param paternityLeaveDaysNotList
*/
public void setPaternityLeaveDaysNotList(List<BigDecimal> paternityLeaveDaysNotList){
this.paternityLeaveDaysNotList = paternityLeaveDaysNotList;
}
/**
* 获取 开始 婚假(天)
* @return marriageLeaveDaysStart
*/
public BigDecimal getMarriageLeaveDaysStart(){ public BigDecimal getMarriageLeaveDaysStart(){
return this.marriageLeaveDaysStart; return this.marriageLeaveDaysStart;
} }
/** /**
* 设置 开始 婚假(天) * 设置 开始 婚假(天)
* @param marriageLeaveDaysStart * @param marriageLeaveDaysStart
*/ */
public void setMarriageLeaveDaysStart(BigDecimal marriageLeaveDaysStart){ public void setMarriageLeaveDaysStart(BigDecimal marriageLeaveDaysStart){
this.marriageLeaveDaysStart = marriageLeaveDaysStart; this.marriageLeaveDaysStart = marriageLeaveDaysStart;
} }
/** /**
* 获取 结束 婚假(天) * 获取 结束 婚假(天)
* @return $marriageLeaveDaysEnd * @return $marriageLeaveDaysEnd
*/ */
public BigDecimal getMarriageLeaveDaysEnd(){ public BigDecimal getMarriageLeaveDaysEnd(){
return this.marriageLeaveDaysEnd; return this.marriageLeaveDaysEnd;
} }
/** /**
* 设置 结束 婚假(天) * 设置 结束 婚假(天)
* @param marriageLeaveDaysEnd * @param marriageLeaveDaysEnd
*/ */
public void setMarriageLeaveDaysEnd(BigDecimal marriageLeaveDaysEnd){ public void setMarriageLeaveDaysEnd(BigDecimal marriageLeaveDaysEnd){
this.marriageLeaveDaysEnd = marriageLeaveDaysEnd; this.marriageLeaveDaysEnd = marriageLeaveDaysEnd;
} }
/** /**
* 获取 增加 婚假(天) * 获取 增加 婚假(天)
* @return marriageLeaveDaysIncrement * @return marriageLeaveDaysIncrement
*/ */
public BigDecimal getMarriageLeaveDaysIncrement(){ public BigDecimal getMarriageLeaveDaysIncrement(){
return this.marriageLeaveDaysIncrement; return this.marriageLeaveDaysIncrement;
} }
/** /**
* 设置 增加 婚假(天) * 设置 增加 婚假(天)
* @param marriageLeaveDaysIncrement * @param marriageLeaveDaysIncrement
*/ */
public void setMarriageLeaveDaysIncrement(BigDecimal marriageLeaveDaysIncrement){ public void setMarriageLeaveDaysIncrement(BigDecimal marriageLeaveDaysIncrement){
this.marriageLeaveDaysIncrement = marriageLeaveDaysIncrement; this.marriageLeaveDaysIncrement = marriageLeaveDaysIncrement;
} }
/** /**
* 获取 婚假(天) * 获取 婚假(天)
* @return marriageLeaveDaysList * @return marriageLeaveDaysList
*/ */
public List<BigDecimal> getMarriageLeaveDaysList(){ public List<BigDecimal> getMarriageLeaveDaysList(){
return this.marriageLeaveDaysList; return this.marriageLeaveDaysList;
} }
/** /**
* 设置 婚假(天) * 设置 婚假(天)
* @param marriageLeaveDaysList * @param marriageLeaveDaysList
*/ */
public void setMarriageLeaveDaysList(List<BigDecimal> marriageLeaveDaysList){ public void setMarriageLeaveDaysList(List<BigDecimal> marriageLeaveDaysList){
this.marriageLeaveDaysList = marriageLeaveDaysList; this.marriageLeaveDaysList = marriageLeaveDaysList;
} }
/** /**
* 获取 婚假(天) * 获取 婚假(天)
* @return marriageLeaveDaysNotList * @return marriageLeaveDaysNotList
*/ */
public List<BigDecimal> getMarriageLeaveDaysNotList(){ public List<BigDecimal> getMarriageLeaveDaysNotList(){
return this.marriageLeaveDaysNotList; return this.marriageLeaveDaysNotList;
} }
/** /**
* 设置 婚假(天) * 设置 婚假(天)
* @param marriageLeaveDaysNotList * @param marriageLeaveDaysNotList
*/ */
public void setMarriageLeaveDaysNotList(List<BigDecimal> marriageLeaveDaysNotList){ public void setMarriageLeaveDaysNotList(List<BigDecimal> marriageLeaveDaysNotList){
this.marriageLeaveDaysNotList = marriageLeaveDaysNotList; this.marriageLeaveDaysNotList = marriageLeaveDaysNotList;
} }
/** /**
* 获取 备注 * 获取 开始 例假(天)
* @return remarkList * @return menstrualLeaveDaysStart
*/ */
public BigDecimal getMenstrualLeaveDaysStart(){
return this.menstrualLeaveDaysStart;
}
/**
* 设置 开始 例假(天)
* @param menstrualLeaveDaysStart
*/
public void setMenstrualLeaveDaysStart(BigDecimal menstrualLeaveDaysStart){
this.menstrualLeaveDaysStart = menstrualLeaveDaysStart;
}
/**
* 获取 结束 例假(天)
* @return $menstrualLeaveDaysEnd
*/
public BigDecimal getMenstrualLeaveDaysEnd(){
return this.menstrualLeaveDaysEnd;
}
/**
* 设置 结束 例假(天)
* @param menstrualLeaveDaysEnd
*/
public void setMenstrualLeaveDaysEnd(BigDecimal menstrualLeaveDaysEnd){
this.menstrualLeaveDaysEnd = menstrualLeaveDaysEnd;
}
/**
* 获取 增加 例假(天)
* @return menstrualLeaveDaysIncrement
*/
public BigDecimal getMenstrualLeaveDaysIncrement(){
return this.menstrualLeaveDaysIncrement;
}
/**
* 设置 增加 例假(天)
* @param menstrualLeaveDaysIncrement
*/
public void setMenstrualLeaveDaysIncrement(BigDecimal menstrualLeaveDaysIncrement){
this.menstrualLeaveDaysIncrement = menstrualLeaveDaysIncrement;
}
/**
* 获取 例假(天)
* @return menstrualLeaveDaysList
*/
public List<BigDecimal> getMenstrualLeaveDaysList(){
return this.menstrualLeaveDaysList;
}
/**
* 设置 例假(天)
* @param menstrualLeaveDaysList
*/
public void setMenstrualLeaveDaysList(List<BigDecimal> menstrualLeaveDaysList){
this.menstrualLeaveDaysList = menstrualLeaveDaysList;
}
/**
* 获取 例假(天)
* @return menstrualLeaveDaysNotList
*/
public List<BigDecimal> getMenstrualLeaveDaysNotList(){
return this.menstrualLeaveDaysNotList;
}
/**
* 设置 例假(天)
* @param menstrualLeaveDaysNotList
*/
public void setMenstrualLeaveDaysNotList(List<BigDecimal> menstrualLeaveDaysNotList){
this.menstrualLeaveDaysNotList = menstrualLeaveDaysNotList;
}
/**
* 获取 开始 哺乳假(天)
* @return breastfeedingLeaveDaysStart
*/
public BigDecimal getBreastfeedingLeaveDaysStart(){
return this.breastfeedingLeaveDaysStart;
}
/**
* 设置 开始 哺乳假(天)
* @param breastfeedingLeaveDaysStart
*/
public void setBreastfeedingLeaveDaysStart(BigDecimal breastfeedingLeaveDaysStart){
this.breastfeedingLeaveDaysStart = breastfeedingLeaveDaysStart;
}
/**
* 获取 结束 哺乳假(天)
* @return $breastfeedingLeaveDaysEnd
*/
public BigDecimal getBreastfeedingLeaveDaysEnd(){
return this.breastfeedingLeaveDaysEnd;
}
/**
* 设置 结束 哺乳假(天)
* @param breastfeedingLeaveDaysEnd
*/
public void setBreastfeedingLeaveDaysEnd(BigDecimal breastfeedingLeaveDaysEnd){
this.breastfeedingLeaveDaysEnd = breastfeedingLeaveDaysEnd;
}
/**
* 获取 增加 哺乳假(天)
* @return breastfeedingLeaveDaysIncrement
*/
public BigDecimal getBreastfeedingLeaveDaysIncrement(){
return this.breastfeedingLeaveDaysIncrement;
}
/**
* 设置 增加 哺乳假(天)
* @param breastfeedingLeaveDaysIncrement
*/
public void setBreastfeedingLeaveDaysIncrement(BigDecimal breastfeedingLeaveDaysIncrement){
this.breastfeedingLeaveDaysIncrement = breastfeedingLeaveDaysIncrement;
}
/**
* 获取 哺乳假(天)
* @return breastfeedingLeaveDaysList
*/
public List<BigDecimal> getBreastfeedingLeaveDaysList(){
return this.breastfeedingLeaveDaysList;
}
/**
* 设置 哺乳假(天)
* @param breastfeedingLeaveDaysList
*/
public void setBreastfeedingLeaveDaysList(List<BigDecimal> breastfeedingLeaveDaysList){
this.breastfeedingLeaveDaysList = breastfeedingLeaveDaysList;
}
/**
* 获取 哺乳假(天)
* @return breastfeedingLeaveDaysNotList
*/
public List<BigDecimal> getBreastfeedingLeaveDaysNotList(){
return this.breastfeedingLeaveDaysNotList;
}
/**
* 设置 哺乳假(天)
* @param breastfeedingLeaveDaysNotList
*/
public void setBreastfeedingLeaveDaysNotList(List<BigDecimal> breastfeedingLeaveDaysNotList){
this.breastfeedingLeaveDaysNotList = breastfeedingLeaveDaysNotList;
}
/**
* 获取 开始 丧假(天)
* @return bereavementLeaveDaysStart
*/
public BigDecimal getBereavementLeaveDaysStart(){
return this.bereavementLeaveDaysStart;
}
/**
* 设置 开始 丧假(天)
* @param bereavementLeaveDaysStart
*/
public void setBereavementLeaveDaysStart(BigDecimal bereavementLeaveDaysStart){
this.bereavementLeaveDaysStart = bereavementLeaveDaysStart;
}
/**
* 获取 结束 丧假(天)
* @return $bereavementLeaveDaysEnd
*/
public BigDecimal getBereavementLeaveDaysEnd(){
return this.bereavementLeaveDaysEnd;
}
/**
* 设置 结束 丧假(天)
* @param bereavementLeaveDaysEnd
*/
public void setBereavementLeaveDaysEnd(BigDecimal bereavementLeaveDaysEnd){
this.bereavementLeaveDaysEnd = bereavementLeaveDaysEnd;
}
/**
* 获取 增加 丧假(天)
* @return bereavementLeaveDaysIncrement
*/
public BigDecimal getBereavementLeaveDaysIncrement(){
return this.bereavementLeaveDaysIncrement;
}
/**
* 设置 增加 丧假(天)
* @param bereavementLeaveDaysIncrement
*/
public void setBereavementLeaveDaysIncrement(BigDecimal bereavementLeaveDaysIncrement){
this.bereavementLeaveDaysIncrement = bereavementLeaveDaysIncrement;
}
/**
* 获取 丧假(天)
* @return bereavementLeaveDaysList
*/
public List<BigDecimal> getBereavementLeaveDaysList(){
return this.bereavementLeaveDaysList;
}
/**
* 设置 丧假(天)
* @param bereavementLeaveDaysList
*/
public void setBereavementLeaveDaysList(List<BigDecimal> bereavementLeaveDaysList){
this.bereavementLeaveDaysList = bereavementLeaveDaysList;
}
/**
* 获取 丧假(天)
* @return bereavementLeaveDaysNotList
*/
public List<BigDecimal> getBereavementLeaveDaysNotList(){
return this.bereavementLeaveDaysNotList;
}
/**
* 设置 丧假(天)
* @param bereavementLeaveDaysNotList
*/
public void setBereavementLeaveDaysNotList(List<BigDecimal> bereavementLeaveDaysNotList){
this.bereavementLeaveDaysNotList = bereavementLeaveDaysNotList;
}
/**
* 获取 备注
* @return remarkList
*/
public List<String> getRemarkList(){ public List<String> getRemarkList(){
return this.remarkList; return this.remarkList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public void setRemarkList(List<String> remarkList){ public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkNotList * @return remarkNotList
*/ */
public List<String> getRemarkNotList(){ public List<String> getRemarkNotList(){
return this.remarkNotList; return this.remarkNotList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkNotList * @param remarkNotList
*/ */
public void setRemarkNotList(List<String> remarkNotList){ public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList; this.remarkNotList = remarkNotList;
} }
/** /**
* 获取 开始 创建用户 * 获取 开始 创建用户
* @return createUserIdStart * @return createUserIdStart
*/ */
public Long getCreateUserIdStart(){ public Long getCreateUserIdStart(){
return this.createUserIdStart; return this.createUserIdStart;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public void setCreateUserIdStart(Long createUserIdStart){ public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
} }
/** /**
* 获取 结束 创建用户 * 获取 结束 创建用户
* @return $createUserIdEnd * @return $createUserIdEnd
*/ */
public Long getCreateUserIdEnd(){ public Long getCreateUserIdEnd(){
return this.createUserIdEnd; return this.createUserIdEnd;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public void setCreateUserIdEnd(Long createUserIdEnd){ public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
} }
/** /**
* 获取 增加 创建用户 * 获取 增加 创建用户
* @return createUserIdIncrement * @return createUserIdIncrement
*/ */
public Long getCreateUserIdIncrement(){ public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement; return this.createUserIdIncrement;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public void setCreateUserIdIncrement(Long createUserIdIncrement){ public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdList * @return createUserIdList
*/ */
public List<Long> getCreateUserIdList(){ public List<Long> getCreateUserIdList(){
return this.createUserIdList; return this.createUserIdList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public void setCreateUserIdList(List<Long> createUserIdList){ public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdNotList * @return createUserIdNotList
*/ */
public List<Long> getCreateUserIdNotList(){ public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList; return this.createUserIdNotList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public void setCreateUserIdNotList(List<Long> createUserIdNotList){ public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
} }
/** /**
* 获取 开始 创建时间 * 获取 开始 创建时间
* @return createTimeStart * @return createTimeStart
*/ */
public String getCreateTimeStart(){ public String getCreateTimeStart(){
return this.createTimeStart; return this.createTimeStart;
} }
/** /**
* 设置 开始 创建时间 * 设置 开始 创建时间
* @param createTimeStart * @param createTimeStart
*/ */
public void setCreateTimeStart(String createTimeStart){ public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart; this.createTimeStart = createTimeStart;
} }
/** /**
* 获取 结束 创建时间 * 获取 结束 创建时间
* @return createTimeEnd * @return createTimeEnd
*/ */
public String getCreateTimeEnd(){ public String getCreateTimeEnd(){
return this.createTimeEnd; return this.createTimeEnd;
} }
/** /**
* 设置 结束 创建时间 * 设置 结束 创建时间
* @param createTimeEnd * @param createTimeEnd
*/ */
public void setCreateTimeEnd(String createTimeEnd){ public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd; this.createTimeEnd = createTimeEnd;
} }
/** /**
* 获取 开始 更新用户 * 获取 开始 更新用户
* @return updateUserIdStart * @return updateUserIdStart
*/ */
public Long getUpdateUserIdStart(){ public Long getUpdateUserIdStart(){
return this.updateUserIdStart; return this.updateUserIdStart;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public void setUpdateUserIdStart(Long updateUserIdStart){ public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
} }
/** /**
* 获取 结束 更新用户 * 获取 结束 更新用户
* @return $updateUserIdEnd * @return $updateUserIdEnd
*/ */
public Long getUpdateUserIdEnd(){ public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd; return this.updateUserIdEnd;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public void setUpdateUserIdEnd(Long updateUserIdEnd){ public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
} }
/** /**
* 获取 增加 更新用户 * 获取 增加 更新用户
* @return updateUserIdIncrement * @return updateUserIdIncrement
*/ */
public Long getUpdateUserIdIncrement(){ public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement; return this.updateUserIdIncrement;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){ public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdList * @return updateUserIdList
*/ */
public List<Long> getUpdateUserIdList(){ public List<Long> getUpdateUserIdList(){
return this.updateUserIdList; return this.updateUserIdList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public void setUpdateUserIdList(List<Long> updateUserIdList){ public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdNotList * @return updateUserIdNotList
*/ */
public List<Long> getUpdateUserIdNotList(){ public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList; return this.updateUserIdNotList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){ public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
} }
/** /**
* 获取 开始 更新时间 * 获取 开始 更新时间
* @return updateTimeStart * @return updateTimeStart
*/ */
public String getUpdateTimeStart(){ public String getUpdateTimeStart(){
return this.updateTimeStart; return this.updateTimeStart;
} }
/** /**
* 设置 开始 更新时间 * 设置 开始 更新时间
* @param updateTimeStart * @param updateTimeStart
*/ */
public void setUpdateTimeStart(String updateTimeStart){ public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart; this.updateTimeStart = updateTimeStart;
} }
/** /**
* 获取 结束 更新时间 * 获取 结束 更新时间
* @return updateTimeEnd * @return updateTimeEnd
*/ */
public String getUpdateTimeEnd(){ public String getUpdateTimeEnd(){
return this.updateTimeEnd; return this.updateTimeEnd;
} }
/** /**
* 设置 结束 更新时间 * 设置 结束 更新时间
* @param updateTimeEnd * @param updateTimeEnd
*/ */
public void setUpdateTimeEnd(String updateTimeEnd){ public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd; this.updateTimeEnd = updateTimeEnd;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param id * @param id
*/ */
public AttendanceVacationBalanceQuery id(Long id){ public AttendanceVacationBalanceQuery id(Long id){
setId(id); setId(id);
return this; return this;
} }
/** /**
* 设置 开始 序号,主键,自增长 * 设置 开始 序号,主键,自增长
* @param idStart * @param idStart
*/ */
public AttendanceVacationBalanceQuery idStart(Long idStart){ public AttendanceVacationBalanceQuery idStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
return this; return this;
} }
/** /**
* 设置 结束 序号,主键,自增长 * 设置 结束 序号,主键,自增长
* @param idEnd * @param idEnd
*/ */
public AttendanceVacationBalanceQuery idEnd(Long idEnd){ public AttendanceVacationBalanceQuery idEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
return this; return this;
} }
/** /**
* 设置 增加 序号,主键,自增长 * 设置 增加 序号,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public AttendanceVacationBalanceQuery idIncrement(Long idIncrement){ public AttendanceVacationBalanceQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
return this; return this;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idList * @param idList
*/ */
public AttendanceVacationBalanceQuery idList(List<Long> idList){ public AttendanceVacationBalanceQuery idList(List<Long> idList){
this.idList = idList; this.idList = idList;
return this; return this;
} }
/** /**
* 设置 序号,主键,自增长 * 设置 序号,主键,自增长
* @param idNotList * @param idNotList
*/ */
public AttendanceVacationBalanceQuery idNotList(List<Long> idNotList){ public AttendanceVacationBalanceQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
return this; return this;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffId * @param staffId
*/ */
public AttendanceVacationBalanceQuery staffId(Long staffId){ public AttendanceVacationBalanceQuery staffId(Long staffId){
setStaffId(staffId); setStaffId(staffId);
return this; return this;
} }
/** /**
* 设置 开始 员工id * 设置 开始 员工id
* @param staffIdStart * @param staffIdStart
*/ */
public AttendanceVacationBalanceQuery staffIdStart(Long staffIdStart){ public AttendanceVacationBalanceQuery staffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart; this.staffIdStart = staffIdStart;
return this; return this;
} }
/** /**
* 设置 结束 员工id * 设置 结束 员工id
* @param staffIdEnd * @param staffIdEnd
*/ */
public AttendanceVacationBalanceQuery staffIdEnd(Long staffIdEnd){ public AttendanceVacationBalanceQuery staffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd; this.staffIdEnd = staffIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 员工id * 设置 增加 员工id
* @param staffIdIncrement * @param staffIdIncrement
*/ */
public AttendanceVacationBalanceQuery staffIdIncrement(Long staffIdIncrement){ public AttendanceVacationBalanceQuery staffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement; this.staffIdIncrement = staffIdIncrement;
return this; return this;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffIdList * @param staffIdList
*/ */
public AttendanceVacationBalanceQuery staffIdList(List<Long> staffIdList){ public AttendanceVacationBalanceQuery staffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList; this.staffIdList = staffIdList;
return this; return this;
} }
/** /**
* 设置 员工id * 设置 员工id
* @param staffIdNotList * @param staffIdNotList
*/ */
public AttendanceVacationBalanceQuery staffIdNotList(List<Long> staffIdNotList){ public AttendanceVacationBalanceQuery staffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList; this.staffIdNotList = staffIdNotList;
return this; return this;
} }
/** /**
* 设置 员工姓名 * 设置 员工姓名
* @param staffName * @param staffName
*/ */
public AttendanceVacationBalanceQuery staffName(String staffName){ public AttendanceVacationBalanceQuery staffName(String staffName){
setStaffName(staffName); setStaffName(staffName);
return this; return this;
} }
/** /**
* 设置 员工姓名 * 设置 员工姓名
* @param staffNameList * @param staffNameList
*/ */
public AttendanceVacationBalanceQuery staffNameList(List<String> staffNameList){ public AttendanceVacationBalanceQuery staffNameList(List<String> staffNameList){
this.staffNameList = staffNameList; this.staffNameList = staffNameList;
return this; return this;
} }
/** /**
* 设置 部门id * 设置 部门id
* @param deptId * @param deptId
*/ */
public AttendanceVacationBalanceQuery deptId(Long deptId){ public AttendanceVacationBalanceQuery deptId(Long deptId){
setDeptId(deptId); setDeptId(deptId);
return this; return this;
} }
/** /**
* 设置 开始 部门id * 设置 开始 部门id
* @param deptIdStart * @param deptIdStart
*/ */
public AttendanceVacationBalanceQuery deptIdStart(Long deptIdStart){ public AttendanceVacationBalanceQuery deptIdStart(Long deptIdStart){
this.deptIdStart = deptIdStart; this.deptIdStart = deptIdStart;
return this; return this;
} }
/** /**
* 设置 结束 部门id * 设置 结束 部门id
* @param deptIdEnd * @param deptIdEnd
*/ */
public AttendanceVacationBalanceQuery deptIdEnd(Long deptIdEnd){ public AttendanceVacationBalanceQuery deptIdEnd(Long deptIdEnd){
this.deptIdEnd = deptIdEnd; this.deptIdEnd = deptIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 部门id * 设置 增加 部门id
* @param deptIdIncrement * @param deptIdIncrement
*/ */
public AttendanceVacationBalanceQuery deptIdIncrement(Long deptIdIncrement){ public AttendanceVacationBalanceQuery deptIdIncrement(Long deptIdIncrement){
this.deptIdIncrement = deptIdIncrement; this.deptIdIncrement = deptIdIncrement;
return this; return this;
} }
/** /**
* 设置 部门id * 设置 部门id
* @param deptIdList * @param deptIdList
*/ */
public AttendanceVacationBalanceQuery deptIdList(List<Long> deptIdList){ public AttendanceVacationBalanceQuery deptIdList(List<Long> deptIdList){
this.deptIdList = deptIdList; this.deptIdList = deptIdList;
return this; return this;
} }
/** /**
* 设置 部门id * 设置 部门id
* @param deptIdNotList * @param deptIdNotList
*/ */
public AttendanceVacationBalanceQuery deptIdNotList(List<Long> deptIdNotList){ public AttendanceVacationBalanceQuery deptIdNotList(List<Long> deptIdNotList){
this.deptIdNotList = deptIdNotList; this.deptIdNotList = deptIdNotList;
return this; return this;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptName * @param deptName
*/ */
public AttendanceVacationBalanceQuery deptName(String deptName){ public AttendanceVacationBalanceQuery deptName(String deptName){
setDeptName(deptName); setDeptName(deptName);
return this; return this;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptNameList * @param deptNameList
*/ */
public AttendanceVacationBalanceQuery deptNameList(List<String> deptNameList){ public AttendanceVacationBalanceQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList; this.deptNameList = deptNameList;
return this; return this;
} }
/** /**
* 设置 事假(天) * 设置 事假(天)
* @param personalLeaveDays * @param personalLeaveDays
*/ */
public AttendanceVacationBalanceQuery personalLeaveDays(BigDecimal personalLeaveDays){ public AttendanceVacationBalanceQuery personalLeaveDays(BigDecimal personalLeaveDays){
setPersonalLeaveDays(personalLeaveDays); setPersonalLeaveDays(personalLeaveDays);
return this; return this;
} }
/** /**
* 设置 开始 事假(天) * 设置 开始 事假(天)
* @param personalLeaveDaysStart * @param personalLeaveDaysStart
*/ */
public AttendanceVacationBalanceQuery personalLeaveDaysStart(BigDecimal personalLeaveDaysStart){ public AttendanceVacationBalanceQuery personalLeaveDaysStart(BigDecimal personalLeaveDaysStart){
this.personalLeaveDaysStart = personalLeaveDaysStart; this.personalLeaveDaysStart = personalLeaveDaysStart;
return this; return this;
} }
/** /**
* 设置 结束 事假(天) * 设置 结束 事假(天)
* @param personalLeaveDaysEnd * @param personalLeaveDaysEnd
*/ */
public AttendanceVacationBalanceQuery personalLeaveDaysEnd(BigDecimal personalLeaveDaysEnd){ public AttendanceVacationBalanceQuery personalLeaveDaysEnd(BigDecimal personalLeaveDaysEnd){
this.personalLeaveDaysEnd = personalLeaveDaysEnd; this.personalLeaveDaysEnd = personalLeaveDaysEnd;
return this; return this;
} }
/** /**
* 设置 增加 事假(天) * 设置 增加 事假(天)
* @param personalLeaveDaysIncrement * @param personalLeaveDaysIncrement
*/ */
public AttendanceVacationBalanceQuery personalLeaveDaysIncrement(BigDecimal personalLeaveDaysIncrement){ public AttendanceVacationBalanceQuery personalLeaveDaysIncrement(BigDecimal personalLeaveDaysIncrement){
this.personalLeaveDaysIncrement = personalLeaveDaysIncrement; this.personalLeaveDaysIncrement = personalLeaveDaysIncrement;
return this; return this;
} }
/** /**
* 设置 事假(天) * 设置 事假(天)
* @param personalLeaveDaysList * @param personalLeaveDaysList
*/ */
public AttendanceVacationBalanceQuery personalLeaveDaysList(List<BigDecimal> personalLeaveDaysList){ public AttendanceVacationBalanceQuery personalLeaveDaysList(List<BigDecimal> personalLeaveDaysList){
this.personalLeaveDaysList = personalLeaveDaysList; this.personalLeaveDaysList = personalLeaveDaysList;
return this; return this;
} }
/** /**
* 设置 事假(天) * 设置 事假(天)
* @param personalLeaveDaysNotList * @param personalLeaveDaysNotList
*/ */
public AttendanceVacationBalanceQuery personalLeaveDaysNotList(List<BigDecimal> personalLeaveDaysNotList){ public AttendanceVacationBalanceQuery personalLeaveDaysNotList(List<BigDecimal> personalLeaveDaysNotList){
this.personalLeaveDaysNotList = personalLeaveDaysNotList; this.personalLeaveDaysNotList = personalLeaveDaysNotList;
return this; return this;
} }
/** /**
* 设置 调休(天) * 设置 调休(天)
* @param compensatedLeaveDays * @param compensatedLeaveDays
*/ */
public AttendanceVacationBalanceQuery compensatedLeaveDays(BigDecimal compensatedLeaveDays){ public AttendanceVacationBalanceQuery compensatedLeaveDays(BigDecimal compensatedLeaveDays){
setCompensatedLeaveDays(compensatedLeaveDays); setCompensatedLeaveDays(compensatedLeaveDays);
return this; return this;
} }
/** /**
* 设置 开始 调休(天) * 设置 开始 调休(天)
* @param compensatedLeaveDaysStart * @param compensatedLeaveDaysStart
*/ */
public AttendanceVacationBalanceQuery compensatedLeaveDaysStart(BigDecimal compensatedLeaveDaysStart){ public AttendanceVacationBalanceQuery compensatedLeaveDaysStart(BigDecimal compensatedLeaveDaysStart){
this.compensatedLeaveDaysStart = compensatedLeaveDaysStart; this.compensatedLeaveDaysStart = compensatedLeaveDaysStart;
return this; return this;
} }
/** /**
* 设置 结束 调休(天) * 设置 结束 调休(天)
* @param compensatedLeaveDaysEnd * @param compensatedLeaveDaysEnd
*/ */
public AttendanceVacationBalanceQuery compensatedLeaveDaysEnd(BigDecimal compensatedLeaveDaysEnd){ public AttendanceVacationBalanceQuery compensatedLeaveDaysEnd(BigDecimal compensatedLeaveDaysEnd){
this.compensatedLeaveDaysEnd = compensatedLeaveDaysEnd; this.compensatedLeaveDaysEnd = compensatedLeaveDaysEnd;
return this; return this;
} }
/** /**
* 设置 增加 调休(天) * 设置 增加 调休(天)
* @param compensatedLeaveDaysIncrement * @param compensatedLeaveDaysIncrement
*/ */
public AttendanceVacationBalanceQuery compensatedLeaveDaysIncrement(BigDecimal compensatedLeaveDaysIncrement){ public AttendanceVacationBalanceQuery compensatedLeaveDaysIncrement(BigDecimal compensatedLeaveDaysIncrement){
this.compensatedLeaveDaysIncrement = compensatedLeaveDaysIncrement; this.compensatedLeaveDaysIncrement = compensatedLeaveDaysIncrement;
return this; return this;
} }
/** /**
* 设置 调休(天) * 设置 调休(天)
* @param compensatedLeaveDaysList * @param compensatedLeaveDaysList
*/ */
public AttendanceVacationBalanceQuery compensatedLeaveDaysList(List<BigDecimal> compensatedLeaveDaysList){ public AttendanceVacationBalanceQuery compensatedLeaveDaysList(List<BigDecimal> compensatedLeaveDaysList){
this.compensatedLeaveDaysList = compensatedLeaveDaysList; this.compensatedLeaveDaysList = compensatedLeaveDaysList;
return this; return this;
} }
/** /**
* 设置 调休(天) * 设置 调休(天)
* @param compensatedLeaveDaysNotList * @param compensatedLeaveDaysNotList
*/ */
public AttendanceVacationBalanceQuery compensatedLeaveDaysNotList(List<BigDecimal> compensatedLeaveDaysNotList){ public AttendanceVacationBalanceQuery compensatedLeaveDaysNotList(List<BigDecimal> compensatedLeaveDaysNotList){
this.compensatedLeaveDaysNotList = compensatedLeaveDaysNotList; this.compensatedLeaveDaysNotList = compensatedLeaveDaysNotList;
return this; return this;
} }
/** /**
* 设置 病假(天) * 设置 病假(天)
* @param sickLeaveDays * @param sickLeaveDays
*/ */
public AttendanceVacationBalanceQuery sickLeaveDays(BigDecimal sickLeaveDays){ public AttendanceVacationBalanceQuery sickLeaveDays(BigDecimal sickLeaveDays){
setSickLeaveDays(sickLeaveDays); setSickLeaveDays(sickLeaveDays);
return this; return this;
} }
/** /**
* 设置 开始 病假(天) * 设置 开始 病假(天)
* @param sickLeaveDaysStart * @param sickLeaveDaysStart
*/ */
public AttendanceVacationBalanceQuery sickLeaveDaysStart(BigDecimal sickLeaveDaysStart){ public AttendanceVacationBalanceQuery sickLeaveDaysStart(BigDecimal sickLeaveDaysStart){
this.sickLeaveDaysStart = sickLeaveDaysStart; this.sickLeaveDaysStart = sickLeaveDaysStart;
return this; return this;
} }
/** /**
* 设置 结束 病假(天) * 设置 结束 病假(天)
* @param sickLeaveDaysEnd * @param sickLeaveDaysEnd
*/ */
public AttendanceVacationBalanceQuery sickLeaveDaysEnd(BigDecimal sickLeaveDaysEnd){ public AttendanceVacationBalanceQuery sickLeaveDaysEnd(BigDecimal sickLeaveDaysEnd){
this.sickLeaveDaysEnd = sickLeaveDaysEnd; this.sickLeaveDaysEnd = sickLeaveDaysEnd;
return this; return this;
} }
/** /**
* 设置 增加 病假(天) * 设置 增加 病假(天)
* @param sickLeaveDaysIncrement * @param sickLeaveDaysIncrement
*/ */
public AttendanceVacationBalanceQuery sickLeaveDaysIncrement(BigDecimal sickLeaveDaysIncrement){ public AttendanceVacationBalanceQuery sickLeaveDaysIncrement(BigDecimal sickLeaveDaysIncrement){
this.sickLeaveDaysIncrement = sickLeaveDaysIncrement; this.sickLeaveDaysIncrement = sickLeaveDaysIncrement;
return this; return this;
} }
/** /**
* 设置 病假(天) * 设置 病假(天)
* @param sickLeaveDaysList * @param sickLeaveDaysList
*/ */
public AttendanceVacationBalanceQuery sickLeaveDaysList(List<BigDecimal> sickLeaveDaysList){ public AttendanceVacationBalanceQuery sickLeaveDaysList(List<BigDecimal> sickLeaveDaysList){
this.sickLeaveDaysList = sickLeaveDaysList; this.sickLeaveDaysList = sickLeaveDaysList;
return this; return this;
} }
/** /**
* 设置 病假(天) * 设置 病假(天)
* @param sickLeaveDaysNotList * @param sickLeaveDaysNotList
*/ */
public AttendanceVacationBalanceQuery sickLeaveDaysNotList(List<BigDecimal> sickLeaveDaysNotList){ public AttendanceVacationBalanceQuery sickLeaveDaysNotList(List<BigDecimal> sickLeaveDaysNotList){
this.sickLeaveDaysNotList = sickLeaveDaysNotList; this.sickLeaveDaysNotList = sickLeaveDaysNotList;
return this; return this;
} }
/** /**
* 设置 年假(天) * 设置 年假(天)
* @param annualLeaveDays * @param annualLeaveDays
*/ */
public AttendanceVacationBalanceQuery annualLeaveDays(BigDecimal annualLeaveDays){ public AttendanceVacationBalanceQuery annualLeaveDays(BigDecimal annualLeaveDays){
setAnnualLeaveDays(annualLeaveDays); setAnnualLeaveDays(annualLeaveDays);
return this; return this;
} }
/** /**
* 设置 开始 年假(天) * 设置 开始 年假(天)
* @param annualLeaveDaysStart * @param annualLeaveDaysStart
*/ */
public AttendanceVacationBalanceQuery annualLeaveDaysStart(BigDecimal annualLeaveDaysStart){ public AttendanceVacationBalanceQuery annualLeaveDaysStart(BigDecimal annualLeaveDaysStart){
this.annualLeaveDaysStart = annualLeaveDaysStart; this.annualLeaveDaysStart = annualLeaveDaysStart;
return this; return this;
} }
/** /**
* 设置 结束 年假(天) * 设置 结束 年假(天)
* @param annualLeaveDaysEnd * @param annualLeaveDaysEnd
*/ */
public AttendanceVacationBalanceQuery annualLeaveDaysEnd(BigDecimal annualLeaveDaysEnd){ public AttendanceVacationBalanceQuery annualLeaveDaysEnd(BigDecimal annualLeaveDaysEnd){
this.annualLeaveDaysEnd = annualLeaveDaysEnd; this.annualLeaveDaysEnd = annualLeaveDaysEnd;
return this; return this;
} }
/** /**
* 设置 增加 年假(天) * 设置 增加 年假(天)
* @param annualLeaveDaysIncrement * @param annualLeaveDaysIncrement
*/ */
public AttendanceVacationBalanceQuery annualLeaveDaysIncrement(BigDecimal annualLeaveDaysIncrement){ public AttendanceVacationBalanceQuery annualLeaveDaysIncrement(BigDecimal annualLeaveDaysIncrement){
this.annualLeaveDaysIncrement = annualLeaveDaysIncrement; this.annualLeaveDaysIncrement = annualLeaveDaysIncrement;
return this; return this;
} }
/** /**
* 设置 年假(天) * 设置 年假(天)
* @param annualLeaveDaysList * @param annualLeaveDaysList
*/ */
public AttendanceVacationBalanceQuery annualLeaveDaysList(List<BigDecimal> annualLeaveDaysList){ public AttendanceVacationBalanceQuery annualLeaveDaysList(List<BigDecimal> annualLeaveDaysList){
this.annualLeaveDaysList = annualLeaveDaysList; this.annualLeaveDaysList = annualLeaveDaysList;
return this; return this;
} }
/** /**
* 设置 年假(天) * 设置 年假(天)
* @param annualLeaveDaysNotList * @param annualLeaveDaysNotList
*/ */
public AttendanceVacationBalanceQuery annualLeaveDaysNotList(List<BigDecimal> annualLeaveDaysNotList){ public AttendanceVacationBalanceQuery annualLeaveDaysNotList(List<BigDecimal> annualLeaveDaysNotList){
this.annualLeaveDaysNotList = annualLeaveDaysNotList; this.annualLeaveDaysNotList = annualLeaveDaysNotList;
return this; return this;
} }
/**
* 设置 产假(天)
* @param maternityLeaveDays
*/
public AttendanceVacationBalanceQuery maternityLeaveDays(BigDecimal maternityLeaveDays){
setMaternityLeaveDays(maternityLeaveDays);
return this;
}
/**
* 设置 开始 产假(天)
* @param maternityLeaveDaysStart
*/
public AttendanceVacationBalanceQuery maternityLeaveDaysStart(BigDecimal maternityLeaveDaysStart){
this.maternityLeaveDaysStart = maternityLeaveDaysStart;
return this;
}
/**
* 设置 结束 产假(天)
* @param maternityLeaveDaysEnd
*/
public AttendanceVacationBalanceQuery maternityLeaveDaysEnd(BigDecimal maternityLeaveDaysEnd){
this.maternityLeaveDaysEnd = maternityLeaveDaysEnd;
return this;
}
/** /**
* 设置 婚假(天) * 设置 增加 产假(天)
* @param marriageLeaveDays * @param maternityLeaveDaysIncrement
*/ */
public AttendanceVacationBalanceQuery maternityLeaveDaysIncrement(BigDecimal maternityLeaveDaysIncrement){
this.maternityLeaveDaysIncrement = maternityLeaveDaysIncrement;
return this;
}
/**
* 设置 产假(天)
* @param maternityLeaveDaysList
*/
public AttendanceVacationBalanceQuery maternityLeaveDaysList(List<BigDecimal> maternityLeaveDaysList){
this.maternityLeaveDaysList = maternityLeaveDaysList;
return this;
}
/**
* 设置 产假(天)
* @param maternityLeaveDaysNotList
*/
public AttendanceVacationBalanceQuery maternityLeaveDaysNotList(List<BigDecimal> maternityLeaveDaysNotList){
this.maternityLeaveDaysNotList = maternityLeaveDaysNotList;
return this;
}
/**
* 设置 陪产假(天)
* @param paternityLeaveDays
*/
public AttendanceVacationBalanceQuery paternityLeaveDays(BigDecimal paternityLeaveDays){
setPaternityLeaveDays(paternityLeaveDays);
return this;
}
/**
* 设置 开始 陪产假(天)
* @param paternityLeaveDaysStart
*/
public AttendanceVacationBalanceQuery paternityLeaveDaysStart(BigDecimal paternityLeaveDaysStart){
this.paternityLeaveDaysStart = paternityLeaveDaysStart;
return this;
}
/**
* 设置 结束 陪产假(天)
* @param paternityLeaveDaysEnd
*/
public AttendanceVacationBalanceQuery paternityLeaveDaysEnd(BigDecimal paternityLeaveDaysEnd){
this.paternityLeaveDaysEnd = paternityLeaveDaysEnd;
return this;
}
/**
* 设置 增加 陪产假(天)
* @param paternityLeaveDaysIncrement
*/
public AttendanceVacationBalanceQuery paternityLeaveDaysIncrement(BigDecimal paternityLeaveDaysIncrement){
this.paternityLeaveDaysIncrement = paternityLeaveDaysIncrement;
return this;
}
/**
* 设置 陪产假(天)
* @param paternityLeaveDaysList
*/
public AttendanceVacationBalanceQuery paternityLeaveDaysList(List<BigDecimal> paternityLeaveDaysList){
this.paternityLeaveDaysList = paternityLeaveDaysList;
return this;
}
/**
* 设置 陪产假(天)
* @param paternityLeaveDaysNotList
*/
public AttendanceVacationBalanceQuery paternityLeaveDaysNotList(List<BigDecimal> paternityLeaveDaysNotList){
this.paternityLeaveDaysNotList = paternityLeaveDaysNotList;
return this;
}
/**
* 设置 婚假(天)
* @param marriageLeaveDays
*/
public AttendanceVacationBalanceQuery marriageLeaveDays(BigDecimal marriageLeaveDays){ public AttendanceVacationBalanceQuery marriageLeaveDays(BigDecimal marriageLeaveDays){
setMarriageLeaveDays(marriageLeaveDays); setMarriageLeaveDays(marriageLeaveDays);
return this; return this;
} }
/** /**
* 设置 开始 婚假(天) * 设置 开始 婚假(天)
* @param marriageLeaveDaysStart * @param marriageLeaveDaysStart
*/ */
public AttendanceVacationBalanceQuery marriageLeaveDaysStart(BigDecimal marriageLeaveDaysStart){ public AttendanceVacationBalanceQuery marriageLeaveDaysStart(BigDecimal marriageLeaveDaysStart){
this.marriageLeaveDaysStart = marriageLeaveDaysStart; this.marriageLeaveDaysStart = marriageLeaveDaysStart;
return this; return this;
} }
/** /**
* 设置 结束 婚假(天) * 设置 结束 婚假(天)
* @param marriageLeaveDaysEnd * @param marriageLeaveDaysEnd
*/ */
public AttendanceVacationBalanceQuery marriageLeaveDaysEnd(BigDecimal marriageLeaveDaysEnd){ public AttendanceVacationBalanceQuery marriageLeaveDaysEnd(BigDecimal marriageLeaveDaysEnd){
this.marriageLeaveDaysEnd = marriageLeaveDaysEnd; this.marriageLeaveDaysEnd = marriageLeaveDaysEnd;
return this; return this;
} }
/** /**
* 设置 增加 婚假(天) * 设置 增加 婚假(天)
* @param marriageLeaveDaysIncrement * @param marriageLeaveDaysIncrement
*/ */
public AttendanceVacationBalanceQuery marriageLeaveDaysIncrement(BigDecimal marriageLeaveDaysIncrement){ public AttendanceVacationBalanceQuery marriageLeaveDaysIncrement(BigDecimal marriageLeaveDaysIncrement){
this.marriageLeaveDaysIncrement = marriageLeaveDaysIncrement; this.marriageLeaveDaysIncrement = marriageLeaveDaysIncrement;
return this; return this;
} }
/** /**
* 设置 婚假(天) * 设置 婚假(天)
* @param marriageLeaveDaysList * @param marriageLeaveDaysList
*/ */
public AttendanceVacationBalanceQuery marriageLeaveDaysList(List<BigDecimal> marriageLeaveDaysList){ public AttendanceVacationBalanceQuery marriageLeaveDaysList(List<BigDecimal> marriageLeaveDaysList){
this.marriageLeaveDaysList = marriageLeaveDaysList; this.marriageLeaveDaysList = marriageLeaveDaysList;
return this; return this;
} }
/** /**
* 设置 婚假(天) * 设置 婚假(天)
* @param marriageLeaveDaysNotList * @param marriageLeaveDaysNotList
*/ */
public AttendanceVacationBalanceQuery marriageLeaveDaysNotList(List<BigDecimal> marriageLeaveDaysNotList){ public AttendanceVacationBalanceQuery marriageLeaveDaysNotList(List<BigDecimal> marriageLeaveDaysNotList){
this.marriageLeaveDaysNotList = marriageLeaveDaysNotList; this.marriageLeaveDaysNotList = marriageLeaveDaysNotList;
return this; return this;
} }
/**
* 设置 例假(天)
* @param menstrualLeaveDays
*/
public AttendanceVacationBalanceQuery menstrualLeaveDays(BigDecimal menstrualLeaveDays){
setMenstrualLeaveDays(menstrualLeaveDays);
return this;
}
/**
* 设置 开始 例假(天)
* @param menstrualLeaveDaysStart
*/
public AttendanceVacationBalanceQuery menstrualLeaveDaysStart(BigDecimal menstrualLeaveDaysStart){
this.menstrualLeaveDaysStart = menstrualLeaveDaysStart;
return this;
}
/**
* 设置 结束 例假(天)
* @param menstrualLeaveDaysEnd
*/
public AttendanceVacationBalanceQuery menstrualLeaveDaysEnd(BigDecimal menstrualLeaveDaysEnd){
this.menstrualLeaveDaysEnd = menstrualLeaveDaysEnd;
return this;
}
/**
* 设置 增加 例假(天)
* @param menstrualLeaveDaysIncrement
*/
public AttendanceVacationBalanceQuery menstrualLeaveDaysIncrement(BigDecimal menstrualLeaveDaysIncrement){
this.menstrualLeaveDaysIncrement = menstrualLeaveDaysIncrement;
return this;
}
/**
* 设置 例假(天)
* @param menstrualLeaveDaysList
*/
public AttendanceVacationBalanceQuery menstrualLeaveDaysList(List<BigDecimal> menstrualLeaveDaysList){
this.menstrualLeaveDaysList = menstrualLeaveDaysList;
return this;
}
/**
* 设置 例假(天)
* @param menstrualLeaveDaysNotList
*/
public AttendanceVacationBalanceQuery menstrualLeaveDaysNotList(List<BigDecimal> menstrualLeaveDaysNotList){
this.menstrualLeaveDaysNotList = menstrualLeaveDaysNotList;
return this;
}
/**
* 设置 哺乳假(天)
* @param breastfeedingLeaveDays
*/
public AttendanceVacationBalanceQuery breastfeedingLeaveDays(BigDecimal breastfeedingLeaveDays){
setBreastfeedingLeaveDays(breastfeedingLeaveDays);
return this;
}
/**
* 设置 开始 哺乳假(天)
* @param breastfeedingLeaveDaysStart
*/
public AttendanceVacationBalanceQuery breastfeedingLeaveDaysStart(BigDecimal breastfeedingLeaveDaysStart){
this.breastfeedingLeaveDaysStart = breastfeedingLeaveDaysStart;
return this;
}
/**
* 设置 结束 哺乳假(天)
* @param breastfeedingLeaveDaysEnd
*/
public AttendanceVacationBalanceQuery breastfeedingLeaveDaysEnd(BigDecimal breastfeedingLeaveDaysEnd){
this.breastfeedingLeaveDaysEnd = breastfeedingLeaveDaysEnd;
return this;
}
/**
* 设置 增加 哺乳假(天)
* @param breastfeedingLeaveDaysIncrement
*/
public AttendanceVacationBalanceQuery breastfeedingLeaveDaysIncrement(BigDecimal breastfeedingLeaveDaysIncrement){
this.breastfeedingLeaveDaysIncrement = breastfeedingLeaveDaysIncrement;
return this;
}
/**
* 设置 哺乳假(天)
* @param breastfeedingLeaveDaysList
*/
public AttendanceVacationBalanceQuery breastfeedingLeaveDaysList(List<BigDecimal> breastfeedingLeaveDaysList){
this.breastfeedingLeaveDaysList = breastfeedingLeaveDaysList;
return this;
}
/**
* 设置 哺乳假(天)
* @param breastfeedingLeaveDaysNotList
*/
public AttendanceVacationBalanceQuery breastfeedingLeaveDaysNotList(List<BigDecimal> breastfeedingLeaveDaysNotList){
this.breastfeedingLeaveDaysNotList = breastfeedingLeaveDaysNotList;
return this;
}
/**
* 设置 丧假(天)
* @param bereavementLeaveDays
*/
public AttendanceVacationBalanceQuery bereavementLeaveDays(BigDecimal bereavementLeaveDays){
setBereavementLeaveDays(bereavementLeaveDays);
return this;
}
/**
* 设置 开始 丧假(天)
* @param bereavementLeaveDaysStart
*/
public AttendanceVacationBalanceQuery bereavementLeaveDaysStart(BigDecimal bereavementLeaveDaysStart){
this.bereavementLeaveDaysStart = bereavementLeaveDaysStart;
return this;
}
/**
* 设置 结束 丧假(天)
* @param bereavementLeaveDaysEnd
*/
public AttendanceVacationBalanceQuery bereavementLeaveDaysEnd(BigDecimal bereavementLeaveDaysEnd){
this.bereavementLeaveDaysEnd = bereavementLeaveDaysEnd;
return this;
}
/**
* 设置 增加 丧假(天)
* @param bereavementLeaveDaysIncrement
*/
public AttendanceVacationBalanceQuery bereavementLeaveDaysIncrement(BigDecimal bereavementLeaveDaysIncrement){
this.bereavementLeaveDaysIncrement = bereavementLeaveDaysIncrement;
return this;
}
/** /**
* 设置 备注 * 设置 丧假(天)
* @param remark * @param bereavementLeaveDaysList
*/ */
public AttendanceVacationBalanceQuery bereavementLeaveDaysList(List<BigDecimal> bereavementLeaveDaysList){
this.bereavementLeaveDaysList = bereavementLeaveDaysList;
return this;
}
/**
* 设置 丧假(天)
* @param bereavementLeaveDaysNotList
*/
public AttendanceVacationBalanceQuery bereavementLeaveDaysNotList(List<BigDecimal> bereavementLeaveDaysNotList){
this.bereavementLeaveDaysNotList = bereavementLeaveDaysNotList;
return this;
}
/**
* 设置 备注
* @param remark
*/
public AttendanceVacationBalanceQuery remark(String remark){ public AttendanceVacationBalanceQuery remark(String remark){
setRemark(remark); setRemark(remark);
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public AttendanceVacationBalanceQuery remarkList(List<String> remarkList){ public AttendanceVacationBalanceQuery remarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserId * @param createUserId
*/ */
public AttendanceVacationBalanceQuery createUserId(Long createUserId){ public AttendanceVacationBalanceQuery createUserId(Long createUserId){
setCreateUserId(createUserId); setCreateUserId(createUserId);
return this; return this;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public AttendanceVacationBalanceQuery createUserIdStart(Long createUserIdStart){ public AttendanceVacationBalanceQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public AttendanceVacationBalanceQuery createUserIdEnd(Long createUserIdEnd){ public AttendanceVacationBalanceQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public AttendanceVacationBalanceQuery createUserIdIncrement(Long createUserIdIncrement){ public AttendanceVacationBalanceQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public AttendanceVacationBalanceQuery createUserIdList(List<Long> createUserIdList){ public AttendanceVacationBalanceQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public AttendanceVacationBalanceQuery createUserIdNotList(List<Long> createUserIdNotList){ public AttendanceVacationBalanceQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserId * @param updateUserId
*/ */
public AttendanceVacationBalanceQuery updateUserId(Long updateUserId){ public AttendanceVacationBalanceQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId); setUpdateUserId(updateUserId);
return this; return this;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public AttendanceVacationBalanceQuery updateUserIdStart(Long updateUserIdStart){ public AttendanceVacationBalanceQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public AttendanceVacationBalanceQuery updateUserIdEnd(Long updateUserIdEnd){ public AttendanceVacationBalanceQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public AttendanceVacationBalanceQuery updateUserIdIncrement(Long updateUserIdIncrement){ public AttendanceVacationBalanceQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public AttendanceVacationBalanceQuery updateUserIdList(List<Long> updateUserIdList){ public AttendanceVacationBalanceQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public AttendanceVacationBalanceQuery updateUserIdNotList(List<Long> updateUserIdNotList){ public AttendanceVacationBalanceQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
return this; return this;
} }
/** /**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList * @return orConditionList
*/ */
public List<AttendanceVacationBalanceQuery> getOrConditionList(){ public List<AttendanceVacationBalanceQuery> getOrConditionList(){
return this.orConditionList; return this.orConditionList;
} }
/** /**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList * @param orConditionList
*/ */
public void setOrConditionList(List<AttendanceVacationBalanceQuery> orConditionList){ public void setOrConditionList(List<AttendanceVacationBalanceQuery> orConditionList){
this.orConditionList = orConditionList; this.orConditionList = orConditionList;
} }
/** /**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList * @return andConditionList
*/ */
public List<AttendanceVacationBalanceQuery> getAndConditionList(){ public List<AttendanceVacationBalanceQuery> getAndConditionList(){
return this.andConditionList; return this.andConditionList;
} }
/** /**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList * @param andConditionList
*/ */
public void setAndConditionList(List<AttendanceVacationBalanceQuery> andConditionList){ public void setAndConditionList(List<AttendanceVacationBalanceQuery> andConditionList){
this.andConditionList = andConditionList; this.andConditionList = andConditionList;
} }
......
package com.mortals.xhx.module.attendance.model;
import java.math.BigDecimal;
import java.util.List;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.attendance.model.vo.AttendanceVacationRecordVo;
/**
* 员工假期记录信息实体对象
*
* @author zxfei
* @date 2023-04-12
*/
public class AttendanceVacationRecordEntity extends AttendanceVacationRecordVo {
private static final long serialVersionUID = 1L;
/**
* 员工id
*/
@Excel(name = "员工id")
private Long staffId;
/**
* 员工姓名
*/
private String staffName;
/**
* 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
*/
private Integer type;
/**
* 增减类型(1.增加,2.扣除)
*/
private Integer subAddType;
/**
* 有效期
*/
private String validityPeriod;
/**
* 增加或扣减天数(天)
*/
private BigDecimal subOrAddDays;
/**
* 内容
*/
private String content;
/**
* 规则
*/
private String rule;
/**
* 理由
*/
private String reason;
/**
* 备注
*/
private String remark;
public AttendanceVacationRecordEntity(){}
/**
* 获取 员工id
* @return Long
*/
public Long getStaffId(){
return staffId;
}
/**
* 设置 员工id
* @param staffId
*/
public void setStaffId(Long staffId){
this.staffId = staffId;
}
/**
* 获取 员工姓名
* @return String
*/
public String getStaffName(){
return staffName;
}
/**
* 设置 员工姓名
* @param staffName
*/
public void setStaffName(String staffName){
this.staffName = staffName;
}
/**
* 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @return Integer
*/
public Integer getType(){
return type;
}
/**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @param type
*/
public void setType(Integer type){
this.type = type;
}
/**
* 获取 增减类型(1.增加,2.扣除)
* @return Integer
*/
public Integer getSubAddType(){
return subAddType;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddType
*/
public void setSubAddType(Integer subAddType){
this.subAddType = subAddType;
}
/**
* 获取 有效期
* @return String
*/
public String getValidityPeriod(){
return validityPeriod;
}
/**
* 设置 有效期
* @param validityPeriod
*/
public void setValidityPeriod(String validityPeriod){
this.validityPeriod = validityPeriod;
}
/**
* 获取 增加或扣减天数(天)
* @return BigDecimal
*/
public BigDecimal getSubOrAddDays(){
return subOrAddDays;
}
/**
* 设置 增加或扣减天数(天)
* @param subOrAddDays
*/
public void setSubOrAddDays(BigDecimal subOrAddDays){
this.subOrAddDays = subOrAddDays;
}
/**
* 获取 内容
* @return String
*/
public String getContent(){
return content;
}
/**
* 设置 内容
* @param content
*/
public void setContent(String content){
this.content = content;
}
/**
* 获取 规则
* @return String
*/
public String getRule(){
return rule;
}
/**
* 设置 规则
* @param rule
*/
public void setRule(String rule){
this.rule = rule;
}
/**
* 获取 理由
* @return String
*/
public String getReason(){
return reason;
}
/**
* 设置 理由
* @param reason
*/
public void setReason(String reason){
this.reason = reason;
}
/**
* 获取 备注
* @return String
*/
public String getRemark(){
return remark;
}
/**
* 设置 备注
* @param remark
*/
public void setRemark(String remark){
this.remark = remark;
}
@Override
public int hashCode() {
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj instanceof AttendanceVacationRecordEntity) {
AttendanceVacationRecordEntity tmp = (AttendanceVacationRecordEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
}
}
return false;
}
public String toString(){
StringBuilder sb = new StringBuilder("");
sb.append(",staffId:").append(getStaffId());
sb.append(",staffName:").append(getStaffName());
sb.append(",type:").append(getType());
sb.append(",subAddType:").append(getSubAddType());
sb.append(",validityPeriod:").append(getValidityPeriod());
sb.append(",subOrAddDays:").append(getSubOrAddDays());
sb.append(",content:").append(getContent());
sb.append(",rule:").append(getRule());
sb.append(",reason:").append(getReason());
sb.append(",remark:").append(getRemark());
return sb.toString();
}
public void initAttrValue(){
this.staffId = null;
this.staffName = "";
this.type = null;
this.subAddType = 1;
this.validityPeriod = "0";
this.subOrAddDays = BigDecimal.valueOf(0);
this.content = "";
this.rule = "";
this.reason = "";
this.remark = "";
}
}
\ No newline at end of file
package com.mortals.xhx.module.attendance.model;
import java.math.BigDecimal;
import java.util.List;
import com.mortals.xhx.module.attendance.model.AttendanceVacationRecordEntity;
/**
* 员工假期记录信息查询对象
*
* @author zxfei
* @date 2023-04-12
*/
public class AttendanceVacationRecordQuery extends AttendanceVacationRecordEntity {
/** 开始 序号,主键,自增长 */
private Long idStart;
/** 结束 序号,主键,自增长 */
private Long idEnd;
/** 增加 序号,主键,自增长 */
private Long idIncrement;
/** 序号,主键,自增长列表 */
private List <Long> idList;
/** 序号,主键,自增长排除列表 */
private List <Long> idNotList;
/** 开始 员工id */
private Long staffIdStart;
/** 结束 员工id */
private Long staffIdEnd;
/** 增加 员工id */
private Long staffIdIncrement;
/** 员工id列表 */
private List <Long> staffIdList;
/** 员工id排除列表 */
private List <Long> staffIdNotList;
/** 员工姓名 */
private List<String> staffNameList;
/** 员工姓名排除列表 */
private List <String> staffNameNotList;
/** 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) */
private Integer typeStart;
/** 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) */
private Integer typeEnd;
/** 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假) */
private Integer typeIncrement;
/** 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)列表 */
private List <Integer> typeList;
/** 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)排除列表 */
private List <Integer> typeNotList;
/** 开始 增减类型(1.增加,2.扣除) */
private Integer subAddTypeStart;
/** 结束 增减类型(1.增加,2.扣除) */
private Integer subAddTypeEnd;
/** 增加 增减类型(1.增加,2.扣除) */
private Integer subAddTypeIncrement;
/** 增减类型(1.增加,2.扣除)列表 */
private List <Integer> subAddTypeList;
/** 增减类型(1.增加,2.扣除)排除列表 */
private List <Integer> subAddTypeNotList;
/** 有效期 */
private List<String> validityPeriodList;
/** 有效期排除列表 */
private List <String> validityPeriodNotList;
/** 开始 增加或扣减天数(天) */
private BigDecimal subOrAddDaysStart;
/** 结束 增加或扣减天数(天) */
private BigDecimal subOrAddDaysEnd;
/** 增加 增加或扣减天数(天) */
private BigDecimal subOrAddDaysIncrement;
/** 增加或扣减天数(天)列表 */
private List <BigDecimal> subOrAddDaysList;
/** 增加或扣减天数(天)排除列表 */
private List <BigDecimal> subOrAddDaysNotList;
/** 内容 */
private List<String> contentList;
/** 内容排除列表 */
private List <String> contentNotList;
/** 规则 */
private List<String> ruleList;
/** 规则排除列表 */
private List <String> ruleNotList;
/** 理由 */
private List<String> reasonList;
/** 理由排除列表 */
private List <String> reasonNotList;
/** 备注 */
private List<String> remarkList;
/** 备注排除列表 */
private List <String> remarkNotList;
/** 开始 创建用户 */
private Long createUserIdStart;
/** 结束 创建用户 */
private Long createUserIdEnd;
/** 增加 创建用户 */
private Long createUserIdIncrement;
/** 创建用户列表 */
private List <Long> createUserIdList;
/** 创建用户排除列表 */
private List <Long> createUserIdNotList;
/** 开始 创建时间 */
private String createTimeStart;
/** 结束 创建时间 */
private String createTimeEnd;
/** 开始 更新用户 */
private Long updateUserIdStart;
/** 结束 更新用户 */
private Long updateUserIdEnd;
/** 增加 更新用户 */
private Long updateUserIdIncrement;
/** 更新用户列表 */
private List <Long> updateUserIdList;
/** 更新用户排除列表 */
private List <Long> updateUserIdNotList;
/** 开始 更新时间 */
private String updateTimeStart;
/** 结束 更新时间 */
private String updateTimeEnd;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<AttendanceVacationRecordQuery> orConditionList;
/** AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) */
private List<AttendanceVacationRecordQuery> andConditionList;
public AttendanceVacationRecordQuery(){}
/**
* 获取 开始 序号,主键,自增长
* @return idStart
*/
public Long getIdStart(){
return this.idStart;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public void setIdStart(Long idStart){
this.idStart = idStart;
}
/**
* 获取 结束 序号,主键,自增长
* @return $idEnd
*/
public Long getIdEnd(){
return this.idEnd;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public void setIdEnd(Long idEnd){
this.idEnd = idEnd;
}
/**
* 获取 增加 序号,主键,自增长
* @return idIncrement
*/
public Long getIdIncrement(){
return this.idIncrement;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement;
}
/**
* 获取 序号,主键,自增长
* @return idList
*/
public List<Long> getIdList(){
return this.idList;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
public void setIdList(List<Long> idList){
this.idList = idList;
}
/**
* 获取 序号,主键,自增长
* @return idNotList
*/
public List<Long> getIdNotList(){
return this.idNotList;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList;
}
/**
* 获取 开始 员工id
* @return staffIdStart
*/
public Long getStaffIdStart(){
return this.staffIdStart;
}
/**
* 设置 开始 员工id
* @param staffIdStart
*/
public void setStaffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart;
}
/**
* 获取 结束 员工id
* @return $staffIdEnd
*/
public Long getStaffIdEnd(){
return this.staffIdEnd;
}
/**
* 设置 结束 员工id
* @param staffIdEnd
*/
public void setStaffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd;
}
/**
* 获取 增加 员工id
* @return staffIdIncrement
*/
public Long getStaffIdIncrement(){
return this.staffIdIncrement;
}
/**
* 设置 增加 员工id
* @param staffIdIncrement
*/
public void setStaffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement;
}
/**
* 获取 员工id
* @return staffIdList
*/
public List<Long> getStaffIdList(){
return this.staffIdList;
}
/**
* 设置 员工id
* @param staffIdList
*/
public void setStaffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList;
}
/**
* 获取 员工id
* @return staffIdNotList
*/
public List<Long> getStaffIdNotList(){
return this.staffIdNotList;
}
/**
* 设置 员工id
* @param staffIdNotList
*/
public void setStaffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList;
}
/**
* 获取 员工姓名
* @return staffNameList
*/
public List<String> getStaffNameList(){
return this.staffNameList;
}
/**
* 设置 员工姓名
* @param staffNameList
*/
public void setStaffNameList(List<String> staffNameList){
this.staffNameList = staffNameList;
}
/**
* 获取 员工姓名
* @return staffNameNotList
*/
public List<String> getStaffNameNotList(){
return this.staffNameNotList;
}
/**
* 设置 员工姓名
* @param staffNameNotList
*/
public void setStaffNameNotList(List<String> staffNameNotList){
this.staffNameNotList = staffNameNotList;
}
/**
* 获取 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @return typeStart
*/
public Integer getTypeStart(){
return this.typeStart;
}
/**
* 设置 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @param typeStart
*/
public void setTypeStart(Integer typeStart){
this.typeStart = typeStart;
}
/**
* 获取 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @return $typeEnd
*/
public Integer getTypeEnd(){
return this.typeEnd;
}
/**
* 设置 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @param typeEnd
*/
public void setTypeEnd(Integer typeEnd){
this.typeEnd = typeEnd;
}
/**
* 获取 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @return typeIncrement
*/
public Integer getTypeIncrement(){
return this.typeIncrement;
}
/**
* 设置 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @param typeIncrement
*/
public void setTypeIncrement(Integer typeIncrement){
this.typeIncrement = typeIncrement;
}
/**
* 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @return typeList
*/
public List<Integer> getTypeList(){
return this.typeList;
}
/**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @param typeList
*/
public void setTypeList(List<Integer> typeList){
this.typeList = typeList;
}
/**
* 获取 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @return typeNotList
*/
public List<Integer> getTypeNotList(){
return this.typeNotList;
}
/**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @param typeNotList
*/
public void setTypeNotList(List<Integer> typeNotList){
this.typeNotList = typeNotList;
}
/**
* 获取 开始 增减类型(1.增加,2.扣除)
* @return subAddTypeStart
*/
public Integer getSubAddTypeStart(){
return this.subAddTypeStart;
}
/**
* 设置 开始 增减类型(1.增加,2.扣除)
* @param subAddTypeStart
*/
public void setSubAddTypeStart(Integer subAddTypeStart){
this.subAddTypeStart = subAddTypeStart;
}
/**
* 获取 结束 增减类型(1.增加,2.扣除)
* @return $subAddTypeEnd
*/
public Integer getSubAddTypeEnd(){
return this.subAddTypeEnd;
}
/**
* 设置 结束 增减类型(1.增加,2.扣除)
* @param subAddTypeEnd
*/
public void setSubAddTypeEnd(Integer subAddTypeEnd){
this.subAddTypeEnd = subAddTypeEnd;
}
/**
* 获取 增加 增减类型(1.增加,2.扣除)
* @return subAddTypeIncrement
*/
public Integer getSubAddTypeIncrement(){
return this.subAddTypeIncrement;
}
/**
* 设置 增加 增减类型(1.增加,2.扣除)
* @param subAddTypeIncrement
*/
public void setSubAddTypeIncrement(Integer subAddTypeIncrement){
this.subAddTypeIncrement = subAddTypeIncrement;
}
/**
* 获取 增减类型(1.增加,2.扣除)
* @return subAddTypeList
*/
public List<Integer> getSubAddTypeList(){
return this.subAddTypeList;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeList
*/
public void setSubAddTypeList(List<Integer> subAddTypeList){
this.subAddTypeList = subAddTypeList;
}
/**
* 获取 增减类型(1.增加,2.扣除)
* @return subAddTypeNotList
*/
public List<Integer> getSubAddTypeNotList(){
return this.subAddTypeNotList;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeNotList
*/
public void setSubAddTypeNotList(List<Integer> subAddTypeNotList){
this.subAddTypeNotList = subAddTypeNotList;
}
/**
* 获取 有效期
* @return validityPeriodList
*/
public List<String> getValidityPeriodList(){
return this.validityPeriodList;
}
/**
* 设置 有效期
* @param validityPeriodList
*/
public void setValidityPeriodList(List<String> validityPeriodList){
this.validityPeriodList = validityPeriodList;
}
/**
* 获取 有效期
* @return validityPeriodNotList
*/
public List<String> getValidityPeriodNotList(){
return this.validityPeriodNotList;
}
/**
* 设置 有效期
* @param validityPeriodNotList
*/
public void setValidityPeriodNotList(List<String> validityPeriodNotList){
this.validityPeriodNotList = validityPeriodNotList;
}
/**
* 获取 开始 增加或扣减天数(天)
* @return subOrAddDaysStart
*/
public BigDecimal getSubOrAddDaysStart(){
return this.subOrAddDaysStart;
}
/**
* 设置 开始 增加或扣减天数(天)
* @param subOrAddDaysStart
*/
public void setSubOrAddDaysStart(BigDecimal subOrAddDaysStart){
this.subOrAddDaysStart = subOrAddDaysStart;
}
/**
* 获取 结束 增加或扣减天数(天)
* @return $subOrAddDaysEnd
*/
public BigDecimal getSubOrAddDaysEnd(){
return this.subOrAddDaysEnd;
}
/**
* 设置 结束 增加或扣减天数(天)
* @param subOrAddDaysEnd
*/
public void setSubOrAddDaysEnd(BigDecimal subOrAddDaysEnd){
this.subOrAddDaysEnd = subOrAddDaysEnd;
}
/**
* 获取 增加 增加或扣减天数(天)
* @return subOrAddDaysIncrement
*/
public BigDecimal getSubOrAddDaysIncrement(){
return this.subOrAddDaysIncrement;
}
/**
* 设置 增加 增加或扣减天数(天)
* @param subOrAddDaysIncrement
*/
public void setSubOrAddDaysIncrement(BigDecimal subOrAddDaysIncrement){
this.subOrAddDaysIncrement = subOrAddDaysIncrement;
}
/**
* 获取 增加或扣减天数(天)
* @return subOrAddDaysList
*/
public List<BigDecimal> getSubOrAddDaysList(){
return this.subOrAddDaysList;
}
/**
* 设置 增加或扣减天数(天)
* @param subOrAddDaysList
*/
public void setSubOrAddDaysList(List<BigDecimal> subOrAddDaysList){
this.subOrAddDaysList = subOrAddDaysList;
}
/**
* 获取 增加或扣减天数(天)
* @return subOrAddDaysNotList
*/
public List<BigDecimal> getSubOrAddDaysNotList(){
return this.subOrAddDaysNotList;
}
/**
* 设置 增加或扣减天数(天)
* @param subOrAddDaysNotList
*/
public void setSubOrAddDaysNotList(List<BigDecimal> subOrAddDaysNotList){
this.subOrAddDaysNotList = subOrAddDaysNotList;
}
/**
* 获取 内容
* @return contentList
*/
public List<String> getContentList(){
return this.contentList;
}
/**
* 设置 内容
* @param contentList
*/
public void setContentList(List<String> contentList){
this.contentList = contentList;
}
/**
* 获取 内容
* @return contentNotList
*/
public List<String> getContentNotList(){
return this.contentNotList;
}
/**
* 设置 内容
* @param contentNotList
*/
public void setContentNotList(List<String> contentNotList){
this.contentNotList = contentNotList;
}
/**
* 获取 规则
* @return ruleList
*/
public List<String> getRuleList(){
return this.ruleList;
}
/**
* 设置 规则
* @param ruleList
*/
public void setRuleList(List<String> ruleList){
this.ruleList = ruleList;
}
/**
* 获取 规则
* @return ruleNotList
*/
public List<String> getRuleNotList(){
return this.ruleNotList;
}
/**
* 设置 规则
* @param ruleNotList
*/
public void setRuleNotList(List<String> ruleNotList){
this.ruleNotList = ruleNotList;
}
/**
* 获取 理由
* @return reasonList
*/
public List<String> getReasonList(){
return this.reasonList;
}
/**
* 设置 理由
* @param reasonList
*/
public void setReasonList(List<String> reasonList){
this.reasonList = reasonList;
}
/**
* 获取 理由
* @return reasonNotList
*/
public List<String> getReasonNotList(){
return this.reasonNotList;
}
/**
* 设置 理由
* @param reasonNotList
*/
public void setReasonNotList(List<String> reasonNotList){
this.reasonNotList = reasonNotList;
}
/**
* 获取 备注
* @return remarkList
*/
public List<String> getRemarkList(){
return this.remarkList;
}
/**
* 设置 备注
* @param remarkList
*/
public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList;
}
/**
* 获取 备注
* @return remarkNotList
*/
public List<String> getRemarkNotList(){
return this.remarkNotList;
}
/**
* 设置 备注
* @param remarkNotList
*/
public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList;
}
/**
* 获取 开始 创建用户
* @return createUserIdStart
*/
public Long getCreateUserIdStart(){
return this.createUserIdStart;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
}
/**
* 获取 结束 创建用户
* @return $createUserIdEnd
*/
public Long getCreateUserIdEnd(){
return this.createUserIdEnd;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
}
/**
* 获取 增加 创建用户
* @return createUserIdIncrement
*/
public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
}
/**
* 获取 创建用户
* @return createUserIdList
*/
public List<Long> getCreateUserIdList(){
return this.createUserIdList;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
}
/**
* 获取 创建用户
* @return createUserIdNotList
*/
public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
}
/**
* 获取 开始 创建时间
* @return createTimeStart
*/
public String getCreateTimeStart(){
return this.createTimeStart;
}
/**
* 设置 开始 创建时间
* @param createTimeStart
*/
public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart;
}
/**
* 获取 结束 创建时间
* @return createTimeEnd
*/
public String getCreateTimeEnd(){
return this.createTimeEnd;
}
/**
* 设置 结束 创建时间
* @param createTimeEnd
*/
public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd;
}
/**
* 获取 开始 更新用户
* @return updateUserIdStart
*/
public Long getUpdateUserIdStart(){
return this.updateUserIdStart;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
}
/**
* 获取 结束 更新用户
* @return $updateUserIdEnd
*/
public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
}
/**
* 获取 增加 更新用户
* @return updateUserIdIncrement
*/
public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
}
/**
* 获取 更新用户
* @return updateUserIdList
*/
public List<Long> getUpdateUserIdList(){
return this.updateUserIdList;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
}
/**
* 获取 更新用户
* @return updateUserIdNotList
*/
public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
}
/**
* 获取 开始 更新时间
* @return updateTimeStart
*/
public String getUpdateTimeStart(){
return this.updateTimeStart;
}
/**
* 设置 开始 更新时间
* @param updateTimeStart
*/
public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart;
}
/**
* 获取 结束 更新时间
* @return updateTimeEnd
*/
public String getUpdateTimeEnd(){
return this.updateTimeEnd;
}
/**
* 设置 结束 更新时间
* @param updateTimeEnd
*/
public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd;
}
/**
* 设置 序号,主键,自增长
* @param id
*/
public AttendanceVacationRecordQuery id(Long id){
setId(id);
return this;
}
/**
* 设置 开始 序号,主键,自增长
* @param idStart
*/
public AttendanceVacationRecordQuery idStart(Long idStart){
this.idStart = idStart;
return this;
}
/**
* 设置 结束 序号,主键,自增长
* @param idEnd
*/
public AttendanceVacationRecordQuery idEnd(Long idEnd){
this.idEnd = idEnd;
return this;
}
/**
* 设置 增加 序号,主键,自增长
* @param idIncrement
*/
public AttendanceVacationRecordQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idList
*/
public AttendanceVacationRecordQuery idList(List<Long> idList){
this.idList = idList;
return this;
}
/**
* 设置 序号,主键,自增长
* @param idNotList
*/
public AttendanceVacationRecordQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList;
return this;
}
/**
* 设置 员工id
* @param staffId
*/
public AttendanceVacationRecordQuery staffId(Long staffId){
setStaffId(staffId);
return this;
}
/**
* 设置 开始 员工id
* @param staffIdStart
*/
public AttendanceVacationRecordQuery staffIdStart(Long staffIdStart){
this.staffIdStart = staffIdStart;
return this;
}
/**
* 设置 结束 员工id
* @param staffIdEnd
*/
public AttendanceVacationRecordQuery staffIdEnd(Long staffIdEnd){
this.staffIdEnd = staffIdEnd;
return this;
}
/**
* 设置 增加 员工id
* @param staffIdIncrement
*/
public AttendanceVacationRecordQuery staffIdIncrement(Long staffIdIncrement){
this.staffIdIncrement = staffIdIncrement;
return this;
}
/**
* 设置 员工id
* @param staffIdList
*/
public AttendanceVacationRecordQuery staffIdList(List<Long> staffIdList){
this.staffIdList = staffIdList;
return this;
}
/**
* 设置 员工id
* @param staffIdNotList
*/
public AttendanceVacationRecordQuery staffIdNotList(List<Long> staffIdNotList){
this.staffIdNotList = staffIdNotList;
return this;
}
/**
* 设置 员工姓名
* @param staffName
*/
public AttendanceVacationRecordQuery staffName(String staffName){
setStaffName(staffName);
return this;
}
/**
* 设置 员工姓名
* @param staffNameList
*/
public AttendanceVacationRecordQuery staffNameList(List<String> staffNameList){
this.staffNameList = staffNameList;
return this;
}
/**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @param type
*/
public AttendanceVacationRecordQuery type(Integer type){
setType(type);
return this;
}
/**
* 设置 开始 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @param typeStart
*/
public AttendanceVacationRecordQuery typeStart(Integer typeStart){
this.typeStart = typeStart;
return this;
}
/**
* 设置 结束 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @param typeEnd
*/
public AttendanceVacationRecordQuery typeEnd(Integer typeEnd){
this.typeEnd = typeEnd;
return this;
}
/**
* 设置 增加 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @param typeIncrement
*/
public AttendanceVacationRecordQuery typeIncrement(Integer typeIncrement){
this.typeIncrement = typeIncrement;
return this;
}
/**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @param typeList
*/
public AttendanceVacationRecordQuery typeList(List<Integer> typeList){
this.typeList = typeList;
return this;
}
/**
* 设置 请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)
* @param typeNotList
*/
public AttendanceVacationRecordQuery typeNotList(List<Integer> typeNotList){
this.typeNotList = typeNotList;
return this;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddType
*/
public AttendanceVacationRecordQuery subAddType(Integer subAddType){
setSubAddType(subAddType);
return this;
}
/**
* 设置 开始 增减类型(1.增加,2.扣除)
* @param subAddTypeStart
*/
public AttendanceVacationRecordQuery subAddTypeStart(Integer subAddTypeStart){
this.subAddTypeStart = subAddTypeStart;
return this;
}
/**
* 设置 结束 增减类型(1.增加,2.扣除)
* @param subAddTypeEnd
*/
public AttendanceVacationRecordQuery subAddTypeEnd(Integer subAddTypeEnd){
this.subAddTypeEnd = subAddTypeEnd;
return this;
}
/**
* 设置 增加 增减类型(1.增加,2.扣除)
* @param subAddTypeIncrement
*/
public AttendanceVacationRecordQuery subAddTypeIncrement(Integer subAddTypeIncrement){
this.subAddTypeIncrement = subAddTypeIncrement;
return this;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeList
*/
public AttendanceVacationRecordQuery subAddTypeList(List<Integer> subAddTypeList){
this.subAddTypeList = subAddTypeList;
return this;
}
/**
* 设置 增减类型(1.增加,2.扣除)
* @param subAddTypeNotList
*/
public AttendanceVacationRecordQuery subAddTypeNotList(List<Integer> subAddTypeNotList){
this.subAddTypeNotList = subAddTypeNotList;
return this;
}
/**
* 设置 有效期
* @param validityPeriod
*/
public AttendanceVacationRecordQuery validityPeriod(String validityPeriod){
setValidityPeriod(validityPeriod);
return this;
}
/**
* 设置 有效期
* @param validityPeriodList
*/
public AttendanceVacationRecordQuery validityPeriodList(List<String> validityPeriodList){
this.validityPeriodList = validityPeriodList;
return this;
}
/**
* 设置 增加或扣减天数(天)
* @param subOrAddDays
*/
public AttendanceVacationRecordQuery subOrAddDays(BigDecimal subOrAddDays){
setSubOrAddDays(subOrAddDays);
return this;
}
/**
* 设置 开始 增加或扣减天数(天)
* @param subOrAddDaysStart
*/
public AttendanceVacationRecordQuery subOrAddDaysStart(BigDecimal subOrAddDaysStart){
this.subOrAddDaysStart = subOrAddDaysStart;
return this;
}
/**
* 设置 结束 增加或扣减天数(天)
* @param subOrAddDaysEnd
*/
public AttendanceVacationRecordQuery subOrAddDaysEnd(BigDecimal subOrAddDaysEnd){
this.subOrAddDaysEnd = subOrAddDaysEnd;
return this;
}
/**
* 设置 增加 增加或扣减天数(天)
* @param subOrAddDaysIncrement
*/
public AttendanceVacationRecordQuery subOrAddDaysIncrement(BigDecimal subOrAddDaysIncrement){
this.subOrAddDaysIncrement = subOrAddDaysIncrement;
return this;
}
/**
* 设置 增加或扣减天数(天)
* @param subOrAddDaysList
*/
public AttendanceVacationRecordQuery subOrAddDaysList(List<BigDecimal> subOrAddDaysList){
this.subOrAddDaysList = subOrAddDaysList;
return this;
}
/**
* 设置 增加或扣减天数(天)
* @param subOrAddDaysNotList
*/
public AttendanceVacationRecordQuery subOrAddDaysNotList(List<BigDecimal> subOrAddDaysNotList){
this.subOrAddDaysNotList = subOrAddDaysNotList;
return this;
}
/**
* 设置 内容
* @param content
*/
public AttendanceVacationRecordQuery content(String content){
setContent(content);
return this;
}
/**
* 设置 内容
* @param contentList
*/
public AttendanceVacationRecordQuery contentList(List<String> contentList){
this.contentList = contentList;
return this;
}
/**
* 设置 规则
* @param rule
*/
public AttendanceVacationRecordQuery rule(String rule){
setRule(rule);
return this;
}
/**
* 设置 规则
* @param ruleList
*/
public AttendanceVacationRecordQuery ruleList(List<String> ruleList){
this.ruleList = ruleList;
return this;
}
/**
* 设置 理由
* @param reason
*/
public AttendanceVacationRecordQuery reason(String reason){
setReason(reason);
return this;
}
/**
* 设置 理由
* @param reasonList
*/
public AttendanceVacationRecordQuery reasonList(List<String> reasonList){
this.reasonList = reasonList;
return this;
}
/**
* 设置 备注
* @param remark
*/
public AttendanceVacationRecordQuery remark(String remark){
setRemark(remark);
return this;
}
/**
* 设置 备注
* @param remarkList
*/
public AttendanceVacationRecordQuery remarkList(List<String> remarkList){
this.remarkList = remarkList;
return this;
}
/**
* 设置 创建用户
* @param createUserId
*/
public AttendanceVacationRecordQuery createUserId(Long createUserId){
setCreateUserId(createUserId);
return this;
}
/**
* 设置 开始 创建用户
* @param createUserIdStart
*/
public AttendanceVacationRecordQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart;
return this;
}
/**
* 设置 结束 创建用户
* @param createUserIdEnd
*/
public AttendanceVacationRecordQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd;
return this;
}
/**
* 设置 增加 创建用户
* @param createUserIdIncrement
*/
public AttendanceVacationRecordQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement;
return this;
}
/**
* 设置 创建用户
* @param createUserIdList
*/
public AttendanceVacationRecordQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList;
return this;
}
/**
* 设置 创建用户
* @param createUserIdNotList
*/
public AttendanceVacationRecordQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList;
return this;
}
/**
* 设置 更新用户
* @param updateUserId
*/
public AttendanceVacationRecordQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId);
return this;
}
/**
* 设置 开始 更新用户
* @param updateUserIdStart
*/
public AttendanceVacationRecordQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart;
return this;
}
/**
* 设置 结束 更新用户
* @param updateUserIdEnd
*/
public AttendanceVacationRecordQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd;
return this;
}
/**
* 设置 增加 更新用户
* @param updateUserIdIncrement
*/
public AttendanceVacationRecordQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdList
*/
public AttendanceVacationRecordQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList;
return this;
}
/**
* 设置 更新用户
* @param updateUserIdNotList
*/
public AttendanceVacationRecordQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public List<AttendanceVacationRecordQuery> getOrConditionList(){
return this.orConditionList;
}
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public void setOrConditionList(List<AttendanceVacationRecordQuery> orConditionList){
this.orConditionList = orConditionList;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public List<AttendanceVacationRecordQuery> getAndConditionList(){
return this.andConditionList;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public void setAndConditionList(List<AttendanceVacationRecordQuery> andConditionList){
this.andConditionList = andConditionList;
}
}
\ No newline at end of file
package com.mortals.xhx.module.attendance.model.vo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.attendance.model.AttendanceVacationRecordEntity;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;
/**
* 员工假期记录信息视图对象
*
* @author zxfei
* @date 2023-04-12
*/
@Data
public class AttendanceVacationRecordVo extends BaseEntityLong {
}
\ No newline at end of file
package com.mortals.xhx.module.attendance.service;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.attendance.model.AttendanceVacationRecordEntity;
/**
* AttendanceVacationRecordService
*
* 员工假期记录信息 service接口
*
* @author zxfei
* @date 2023-04-12
*/
public interface AttendanceVacationRecordService extends ICRUDService<AttendanceVacationRecordEntity,Long>{
}
\ No newline at end of file
package com.mortals.xhx.module.attendance.service.impl;
import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.xhx.module.attendance.dao.AttendanceVacationRecordDao;
import com.mortals.xhx.module.attendance.model.AttendanceVacationRecordEntity;
import com.mortals.xhx.module.attendance.service.AttendanceVacationRecordService;
/**
* AttendanceVacationRecordService
* 员工假期记录信息 service实现
*
* @author zxfei
* @date 2023-04-12
*/
@Service("attendanceVacationRecordService")
public class AttendanceVacationRecordServiceImpl extends AbstractCRUDServiceImpl<AttendanceVacationRecordDao, AttendanceVacationRecordEntity, Long> implements AttendanceVacationRecordService {
}
\ No newline at end of file
package com.mortals.xhx.module.attendance.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import com.mortals.framework.model.Context;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.module.attendance.model.AttendanceVacationRecordEntity;
import com.mortals.xhx.module.attendance.service.AttendanceVacationRecordService;
import org.apache.commons.lang3.ArrayUtils;
import com.mortals.framework.util.StringUtils;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import com.alibaba.fastjson.JSONObject;
import java.util.Arrays;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import static com.mortals.framework.ap.SysConstains.*;
/**
*
* 员工假期记录信息
*
* @author zxfei
* @date 2023-04-12
*/
@RestController
@RequestMapping("attendance/vacation/record")
public class AttendanceVacationRecordController extends BaseCRUDJsonBodyMappingController<AttendanceVacationRecordService,AttendanceVacationRecordEntity,Long> {
@Autowired
private ParamService paramService;
public AttendanceVacationRecordController(){
super.setModuleDesc( "员工假期记录信息");
}
@Override
protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "type", paramService.getParamBySecondOrganize("AttendanceVacationRecord","type"));
this.addDict(model, "subAddType", paramService.getParamBySecondOrganize("AttendanceVacationRecord","subAddType"));
super.init(model, context);
}
}
\ No newline at end of file
...@@ -26,4 +26,9 @@ public interface DeptDao extends ICRUDDao<DeptEntity,Long>{ ...@@ -26,4 +26,9 @@ public interface DeptDao extends ICRUDDao<DeptEntity,Long>{
* */ * */
List<DeptEntity> queryAllList(); List<DeptEntity> queryAllList();
/**
* 统计部门人数
* */
} }
...@@ -24,7 +24,6 @@ public class DeptDaoImpl extends BaseCRUDDaoMybatis<DeptEntity,Long> implements ...@@ -24,7 +24,6 @@ public class DeptDaoImpl extends BaseCRUDDaoMybatis<DeptEntity,Long> implements
@Override @Override
public List<DeptEntity> queryAllList() { public List<DeptEntity> queryAllList() {
return this.getList(new DeptEntity()); return this.getList(new DeptEntity());
} }
......
...@@ -6,126 +6,199 @@ import com.mortals.framework.annotation.Excel; ...@@ -6,126 +6,199 @@ import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.dept.model.vo.DeptVo; import com.mortals.xhx.module.dept.model.vo.DeptVo;
/** /**
* 部门信息实体对象 * 部门信息实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-03-06 * @date 2023-04-11
*/ */
public class DeptEntity extends DeptVo { public class DeptEntity extends DeptVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 父id * 父id
*/ */
private Long parentId; private Long parentId;
/** /**
* 祖级列表 * 祖级列表
*/ */
@Excel(name = "祖级列表") @Excel(name = "祖级列表")
private String ancestors; private String ancestors;
/** /**
* 部门名称 * 部门名称
*/ */
@Excel(name = "部门名称") @Excel(name = "部门名称")
private String deptName; private String deptName;
/** /**
* 部门状态(0.停用,1.启用) * 部门编码
*/ */
@Excel(name = "部门编码")
private String deptCode;
/**
* 部门状态(0.停用,1.启用)
*/
private Integer deptStatus; private Integer deptStatus;
/** /**
* 顺序 * 顺序
*/ */
private Integer orderNum; private Integer orderNum;
/** /**
* 备注 * 部门人数
*/ */
private Integer personNum;
/**
* 负责人id
*/
private Long workId;
/**
* 负责人名称
*/
private String workName;
/**
* 备注
*/
private String remark; private String remark;
public DeptEntity(){} public DeptEntity(){}
/** /**
* 获取 父id * 获取 父id
* @return Long * @return Long
*/ */
public Long getParentId(){ public Long getParentId(){
return parentId; return parentId;
} }
/** /**
* 设置 父id * 设置 父id
* @param parentId * @param parentId
*/ */
public void setParentId(Long parentId){ public void setParentId(Long parentId){
this.parentId = parentId; this.parentId = parentId;
} }
/** /**
* 获取 祖级列表 * 获取 祖级列表
* @return String * @return String
*/ */
public String getAncestors(){ public String getAncestors(){
return ancestors; return ancestors;
} }
/** /**
* 设置 祖级列表 * 设置 祖级列表
* @param ancestors * @param ancestors
*/ */
public void setAncestors(String ancestors){ public void setAncestors(String ancestors){
this.ancestors = ancestors; this.ancestors = ancestors;
} }
/** /**
* 获取 部门名称 * 获取 部门名称
* @return String * @return String
*/ */
public String getDeptName(){ public String getDeptName(){
return deptName; return deptName;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptName * @param deptName
*/ */
public void setDeptName(String deptName){ public void setDeptName(String deptName){
this.deptName = deptName; this.deptName = deptName;
} }
/** /**
* 获取 部门状态(0.停用,1.启用) * 获取 部门编码
* @return Integer * @return String
*/ */
public String getDeptCode(){
return deptCode;
}
/**
* 设置 部门编码
* @param deptCode
*/
public void setDeptCode(String deptCode){
this.deptCode = deptCode;
}
/**
* 获取 部门状态(0.停用,1.启用)
* @return Integer
*/
public Integer getDeptStatus(){ public Integer getDeptStatus(){
return deptStatus; return deptStatus;
} }
/** /**
* 设置 部门状态(0.停用,1.启用) * 设置 部门状态(0.停用,1.启用)
* @param deptStatus * @param deptStatus
*/ */
public void setDeptStatus(Integer deptStatus){ public void setDeptStatus(Integer deptStatus){
this.deptStatus = deptStatus; this.deptStatus = deptStatus;
} }
/** /**
* 获取 顺序 * 获取 顺序
* @return Integer * @return Integer
*/ */
public Integer getOrderNum(){ public Integer getOrderNum(){
return orderNum; return orderNum;
} }
/** /**
* 设置 顺序 * 设置 顺序
* @param orderNum * @param orderNum
*/ */
public void setOrderNum(Integer orderNum){ public void setOrderNum(Integer orderNum){
this.orderNum = orderNum; this.orderNum = orderNum;
} }
/** /**
* 获取 备注 * 获取 部门人数
* @return String * @return Integer
*/ */
public Integer getPersonNum(){
return personNum;
}
/**
* 设置 部门人数
* @param personNum
*/
public void setPersonNum(Integer personNum){
this.personNum = personNum;
}
/**
* 获取 负责人id
* @return Long
*/
public Long getWorkId(){
return workId;
}
/**
* 设置 负责人id
* @param workId
*/
public void setWorkId(Long workId){
this.workId = workId;
}
/**
* 获取 负责人名称
* @return String
*/
public String getWorkName(){
return workName;
}
/**
* 设置 负责人名称
* @param workName
*/
public void setWorkName(String workName){
this.workName = workName;
}
/**
* 获取 备注
* @return String
*/
public String getRemark(){ public String getRemark(){
return remark; return remark;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public void setRemark(String remark){ public void setRemark(String remark){
this.remark = remark; this.remark = remark;
} }
...@@ -135,7 +208,7 @@ public class DeptEntity extends DeptVo { ...@@ -135,7 +208,7 @@ public class DeptEntity extends DeptVo {
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -143,7 +216,7 @@ public class DeptEntity extends DeptVo { ...@@ -143,7 +216,7 @@ public class DeptEntity extends DeptVo {
if (obj instanceof DeptEntity) { if (obj instanceof DeptEntity) {
DeptEntity tmp = (DeptEntity) obj; DeptEntity tmp = (DeptEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
...@@ -154,24 +227,36 @@ public class DeptEntity extends DeptVo { ...@@ -154,24 +227,36 @@ public class DeptEntity extends DeptVo {
sb.append(",parentId:").append(getParentId()); sb.append(",parentId:").append(getParentId());
sb.append(",ancestors:").append(getAncestors()); sb.append(",ancestors:").append(getAncestors());
sb.append(",deptName:").append(getDeptName()); sb.append(",deptName:").append(getDeptName());
sb.append(",deptCode:").append(getDeptCode());
sb.append(",deptStatus:").append(getDeptStatus()); sb.append(",deptStatus:").append(getDeptStatus());
sb.append(",orderNum:").append(getOrderNum()); sb.append(",orderNum:").append(getOrderNum());
sb.append(",personNum:").append(getPersonNum());
sb.append(",workId:").append(getWorkId());
sb.append(",workName:").append(getWorkName());
sb.append(",remark:").append(getRemark()); sb.append(",remark:").append(getRemark());
return sb.toString(); return sb.toString();
} }
public void initAttrValue(){ public void initAttrValue(){
this.parentId = null; this.parentId = 0L;
this.ancestors = "";
this.deptName = "";
this.deptCode = "";
this.deptStatus = 1;
this.ancestors = ""; this.orderNum = 0;
this.deptName = ""; this.personNum = 0;
this.deptStatus = 1; this.workId = null;
this.orderNum = 0; this.workName = "";
this.remark = ""; this.remark = "";
} }
} }
\ No newline at end of file
...@@ -3,11 +3,11 @@ package com.mortals.xhx.module.dept.model; ...@@ -3,11 +3,11 @@ package com.mortals.xhx.module.dept.model;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.dept.model.DeptEntity; import com.mortals.xhx.module.dept.model.DeptEntity;
/** /**
* 部门信息查询对象 * 部门信息查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-03-06 * @date 2023-04-11
*/ */
public class DeptQuery extends DeptEntity { public class DeptQuery extends DeptEntity {
/** 开始 主键ID,主键,自增长 */ /** 开始 主键ID,主键,自增长 */
private Long idStart; private Long idStart;
...@@ -49,6 +49,11 @@ public class DeptQuery extends DeptEntity { ...@@ -49,6 +49,11 @@ public class DeptQuery extends DeptEntity {
/** 部门名称排除列表 */ /** 部门名称排除列表 */
private List <String> deptNameNotList; private List <String> deptNameNotList;
/** 部门编码 */
private List<String> deptCodeList;
/** 部门编码排除列表 */
private List <String> deptCodeNotList;
/** 开始 部门状态(0.停用,1.启用) */ /** 开始 部门状态(0.停用,1.启用) */
private Integer deptStatusStart; private Integer deptStatusStart;
...@@ -79,6 +84,41 @@ public class DeptQuery extends DeptEntity { ...@@ -79,6 +84,41 @@ public class DeptQuery extends DeptEntity {
/** 顺序排除列表 */ /** 顺序排除列表 */
private List <Integer> orderNumNotList; private List <Integer> orderNumNotList;
/** 开始 部门人数 */
private Integer personNumStart;
/** 结束 部门人数 */
private Integer personNumEnd;
/** 增加 部门人数 */
private Integer personNumIncrement;
/** 部门人数列表 */
private List <Integer> personNumList;
/** 部门人数排除列表 */
private List <Integer> personNumNotList;
/** 开始 负责人id */
private Long workIdStart;
/** 结束 负责人id */
private Long workIdEnd;
/** 增加 负责人id */
private Long workIdIncrement;
/** 负责人id列表 */
private List <Long> workIdList;
/** 负责人id排除列表 */
private List <Long> workIdNotList;
/** 负责人名称 */
private List<String> workNameList;
/** 负责人名称排除列表 */
private List <String> workNameNotList;
/** 备注 */ /** 备注 */
private List<String> remarkList; private List<String> remarkList;
...@@ -135,1062 +175,1434 @@ public class DeptQuery extends DeptEntity { ...@@ -135,1062 +175,1434 @@ public class DeptQuery extends DeptEntity {
public DeptQuery(){} public DeptQuery(){}
/** /**
* 获取 开始 主键ID,主键,自增长 * 获取 开始 主键ID,主键,自增长
* @return idStart * @return idStart
*/ */
public Long getIdStart(){ public Long getIdStart(){
return this.idStart; return this.idStart;
} }
/** /**
* 设置 开始 主键ID,主键,自增长 * 设置 开始 主键ID,主键,自增长
* @param idStart * @param idStart
*/ */
public void setIdStart(Long idStart){ public void setIdStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
} }
/** /**
* 获取 结束 主键ID,主键,自增长 * 获取 结束 主键ID,主键,自增长
* @return $idEnd * @return $idEnd
*/ */
public Long getIdEnd(){ public Long getIdEnd(){
return this.idEnd; return this.idEnd;
} }
/** /**
* 设置 结束 主键ID,主键,自增长 * 设置 结束 主键ID,主键,自增长
* @param idEnd * @param idEnd
*/ */
public void setIdEnd(Long idEnd){ public void setIdEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
} }
/** /**
* 获取 增加 主键ID,主键,自增长 * 获取 增加 主键ID,主键,自增长
* @return idIncrement * @return idIncrement
*/ */
public Long getIdIncrement(){ public Long getIdIncrement(){
return this.idIncrement; return this.idIncrement;
} }
/** /**
* 设置 增加 主键ID,主键,自增长 * 设置 增加 主键ID,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public void setIdIncrement(Long idIncrement){ public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
} }
/** /**
* 获取 主键ID,主键,自增长 * 获取 主键ID,主键,自增长
* @return idList * @return idList
*/ */
public List<Long> getIdList(){ public List<Long> getIdList(){
return this.idList; return this.idList;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idList * @param idList
*/ */
public void setIdList(List<Long> idList){ public void setIdList(List<Long> idList){
this.idList = idList; this.idList = idList;
} }
/** /**
* 获取 主键ID,主键,自增长 * 获取 主键ID,主键,自增长
* @return idNotList * @return idNotList
*/ */
public List<Long> getIdNotList(){ public List<Long> getIdNotList(){
return this.idNotList; return this.idNotList;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idNotList * @param idNotList
*/ */
public void setIdNotList(List<Long> idNotList){ public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
} }
/** /**
* 获取 开始 父id * 获取 开始 父id
* @return parentIdStart * @return parentIdStart
*/ */
public Long getParentIdStart(){ public Long getParentIdStart(){
return this.parentIdStart; return this.parentIdStart;
} }
/** /**
* 设置 开始 父id * 设置 开始 父id
* @param parentIdStart * @param parentIdStart
*/ */
public void setParentIdStart(Long parentIdStart){ public void setParentIdStart(Long parentIdStart){
this.parentIdStart = parentIdStart; this.parentIdStart = parentIdStart;
} }
/** /**
* 获取 结束 父id * 获取 结束 父id
* @return $parentIdEnd * @return $parentIdEnd
*/ */
public Long getParentIdEnd(){ public Long getParentIdEnd(){
return this.parentIdEnd; return this.parentIdEnd;
} }
/** /**
* 设置 结束 父id * 设置 结束 父id
* @param parentIdEnd * @param parentIdEnd
*/ */
public void setParentIdEnd(Long parentIdEnd){ public void setParentIdEnd(Long parentIdEnd){
this.parentIdEnd = parentIdEnd; this.parentIdEnd = parentIdEnd;
} }
/** /**
* 获取 增加 父id * 获取 增加 父id
* @return parentIdIncrement * @return parentIdIncrement
*/ */
public Long getParentIdIncrement(){ public Long getParentIdIncrement(){
return this.parentIdIncrement; return this.parentIdIncrement;
} }
/** /**
* 设置 增加 父id * 设置 增加 父id
* @param parentIdIncrement * @param parentIdIncrement
*/ */
public void setParentIdIncrement(Long parentIdIncrement){ public void setParentIdIncrement(Long parentIdIncrement){
this.parentIdIncrement = parentIdIncrement; this.parentIdIncrement = parentIdIncrement;
} }
/** /**
* 获取 父id * 获取 父id
* @return parentIdList * @return parentIdList
*/ */
public List<Long> getParentIdList(){ public List<Long> getParentIdList(){
return this.parentIdList; return this.parentIdList;
} }
/** /**
* 设置 父id * 设置 父id
* @param parentIdList * @param parentIdList
*/ */
public void setParentIdList(List<Long> parentIdList){ public void setParentIdList(List<Long> parentIdList){
this.parentIdList = parentIdList; this.parentIdList = parentIdList;
} }
/** /**
* 获取 父id * 获取 父id
* @return parentIdNotList * @return parentIdNotList
*/ */
public List<Long> getParentIdNotList(){ public List<Long> getParentIdNotList(){
return this.parentIdNotList; return this.parentIdNotList;
} }
/** /**
* 设置 父id * 设置 父id
* @param parentIdNotList * @param parentIdNotList
*/ */
public void setParentIdNotList(List<Long> parentIdNotList){ public void setParentIdNotList(List<Long> parentIdNotList){
this.parentIdNotList = parentIdNotList; this.parentIdNotList = parentIdNotList;
} }
/** /**
* 获取 祖级列表 * 获取 祖级列表
* @return ancestorsList * @return ancestorsList
*/ */
public List<String> getAncestorsList(){ public List<String> getAncestorsList(){
return this.ancestorsList; return this.ancestorsList;
} }
/** /**
* 设置 祖级列表 * 设置 祖级列表
* @param ancestorsList * @param ancestorsList
*/ */
public void setAncestorsList(List<String> ancestorsList){ public void setAncestorsList(List<String> ancestorsList){
this.ancestorsList = ancestorsList; this.ancestorsList = ancestorsList;
} }
/** /**
* 获取 祖级列表 * 获取 祖级列表
* @return ancestorsNotList * @return ancestorsNotList
*/ */
public List<String> getAncestorsNotList(){ public List<String> getAncestorsNotList(){
return this.ancestorsNotList; return this.ancestorsNotList;
} }
/** /**
* 设置 祖级列表 * 设置 祖级列表
* @param ancestorsNotList * @param ancestorsNotList
*/ */
public void setAncestorsNotList(List<String> ancestorsNotList){ public void setAncestorsNotList(List<String> ancestorsNotList){
this.ancestorsNotList = ancestorsNotList; this.ancestorsNotList = ancestorsNotList;
} }
/** /**
* 获取 部门名称 * 获取 部门名称
* @return deptNameList * @return deptNameList
*/ */
public List<String> getDeptNameList(){ public List<String> getDeptNameList(){
return this.deptNameList; return this.deptNameList;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptNameList * @param deptNameList
*/ */
public void setDeptNameList(List<String> deptNameList){ public void setDeptNameList(List<String> deptNameList){
this.deptNameList = deptNameList; this.deptNameList = deptNameList;
} }
/** /**
* 获取 部门名称 * 获取 部门名称
* @return deptNameNotList * @return deptNameNotList
*/ */
public List<String> getDeptNameNotList(){ public List<String> getDeptNameNotList(){
return this.deptNameNotList; return this.deptNameNotList;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptNameNotList * @param deptNameNotList
*/ */
public void setDeptNameNotList(List<String> deptNameNotList){ public void setDeptNameNotList(List<String> deptNameNotList){
this.deptNameNotList = deptNameNotList; this.deptNameNotList = deptNameNotList;
} }
/** /**
* 获取 开始 部门状态(0.停用,1.启用) * 获取 部门编码
* @return deptStatusStart * @return deptCodeList
*/ */
public List<String> getDeptCodeList(){
return this.deptCodeList;
}
/**
* 设置 部门编码
* @param deptCodeList
*/
public void setDeptCodeList(List<String> deptCodeList){
this.deptCodeList = deptCodeList;
}
/**
* 获取 部门编码
* @return deptCodeNotList
*/
public List<String> getDeptCodeNotList(){
return this.deptCodeNotList;
}
/**
* 设置 部门编码
* @param deptCodeNotList
*/
public void setDeptCodeNotList(List<String> deptCodeNotList){
this.deptCodeNotList = deptCodeNotList;
}
/**
* 获取 开始 部门状态(0.停用,1.启用)
* @return deptStatusStart
*/
public Integer getDeptStatusStart(){ public Integer getDeptStatusStart(){
return this.deptStatusStart; return this.deptStatusStart;
} }
/** /**
* 设置 开始 部门状态(0.停用,1.启用) * 设置 开始 部门状态(0.停用,1.启用)
* @param deptStatusStart * @param deptStatusStart
*/ */
public void setDeptStatusStart(Integer deptStatusStart){ public void setDeptStatusStart(Integer deptStatusStart){
this.deptStatusStart = deptStatusStart; this.deptStatusStart = deptStatusStart;
} }
/** /**
* 获取 结束 部门状态(0.停用,1.启用) * 获取 结束 部门状态(0.停用,1.启用)
* @return $deptStatusEnd * @return $deptStatusEnd
*/ */
public Integer getDeptStatusEnd(){ public Integer getDeptStatusEnd(){
return this.deptStatusEnd; return this.deptStatusEnd;
} }
/** /**
* 设置 结束 部门状态(0.停用,1.启用) * 设置 结束 部门状态(0.停用,1.启用)
* @param deptStatusEnd * @param deptStatusEnd
*/ */
public void setDeptStatusEnd(Integer deptStatusEnd){ public void setDeptStatusEnd(Integer deptStatusEnd){
this.deptStatusEnd = deptStatusEnd; this.deptStatusEnd = deptStatusEnd;
} }
/** /**
* 获取 增加 部门状态(0.停用,1.启用) * 获取 增加 部门状态(0.停用,1.启用)
* @return deptStatusIncrement * @return deptStatusIncrement
*/ */
public Integer getDeptStatusIncrement(){ public Integer getDeptStatusIncrement(){
return this.deptStatusIncrement; return this.deptStatusIncrement;
} }
/** /**
* 设置 增加 部门状态(0.停用,1.启用) * 设置 增加 部门状态(0.停用,1.启用)
* @param deptStatusIncrement * @param deptStatusIncrement
*/ */
public void setDeptStatusIncrement(Integer deptStatusIncrement){ public void setDeptStatusIncrement(Integer deptStatusIncrement){
this.deptStatusIncrement = deptStatusIncrement; this.deptStatusIncrement = deptStatusIncrement;
} }
/** /**
* 获取 部门状态(0.停用,1.启用) * 获取 部门状态(0.停用,1.启用)
* @return deptStatusList * @return deptStatusList
*/ */
public List<Integer> getDeptStatusList(){ public List<Integer> getDeptStatusList(){
return this.deptStatusList; return this.deptStatusList;
} }
/** /**
* 设置 部门状态(0.停用,1.启用) * 设置 部门状态(0.停用,1.启用)
* @param deptStatusList * @param deptStatusList
*/ */
public void setDeptStatusList(List<Integer> deptStatusList){ public void setDeptStatusList(List<Integer> deptStatusList){
this.deptStatusList = deptStatusList; this.deptStatusList = deptStatusList;
} }
/** /**
* 获取 部门状态(0.停用,1.启用) * 获取 部门状态(0.停用,1.启用)
* @return deptStatusNotList * @return deptStatusNotList
*/ */
public List<Integer> getDeptStatusNotList(){ public List<Integer> getDeptStatusNotList(){
return this.deptStatusNotList; return this.deptStatusNotList;
} }
/** /**
* 设置 部门状态(0.停用,1.启用) * 设置 部门状态(0.停用,1.启用)
* @param deptStatusNotList * @param deptStatusNotList
*/ */
public void setDeptStatusNotList(List<Integer> deptStatusNotList){ public void setDeptStatusNotList(List<Integer> deptStatusNotList){
this.deptStatusNotList = deptStatusNotList; this.deptStatusNotList = deptStatusNotList;
} }
/** /**
* 获取 开始 顺序 * 获取 开始 顺序
* @return orderNumStart * @return orderNumStart
*/ */
public Integer getOrderNumStart(){ public Integer getOrderNumStart(){
return this.orderNumStart; return this.orderNumStart;
} }
/** /**
* 设置 开始 顺序 * 设置 开始 顺序
* @param orderNumStart * @param orderNumStart
*/ */
public void setOrderNumStart(Integer orderNumStart){ public void setOrderNumStart(Integer orderNumStart){
this.orderNumStart = orderNumStart; this.orderNumStart = orderNumStart;
} }
/** /**
* 获取 结束 顺序 * 获取 结束 顺序
* @return $orderNumEnd * @return $orderNumEnd
*/ */
public Integer getOrderNumEnd(){ public Integer getOrderNumEnd(){
return this.orderNumEnd; return this.orderNumEnd;
} }
/** /**
* 设置 结束 顺序 * 设置 结束 顺序
* @param orderNumEnd * @param orderNumEnd
*/ */
public void setOrderNumEnd(Integer orderNumEnd){ public void setOrderNumEnd(Integer orderNumEnd){
this.orderNumEnd = orderNumEnd; this.orderNumEnd = orderNumEnd;
} }
/** /**
* 获取 增加 顺序 * 获取 增加 顺序
* @return orderNumIncrement * @return orderNumIncrement
*/ */
public Integer getOrderNumIncrement(){ public Integer getOrderNumIncrement(){
return this.orderNumIncrement; return this.orderNumIncrement;
} }
/** /**
* 设置 增加 顺序 * 设置 增加 顺序
* @param orderNumIncrement * @param orderNumIncrement
*/ */
public void setOrderNumIncrement(Integer orderNumIncrement){ public void setOrderNumIncrement(Integer orderNumIncrement){
this.orderNumIncrement = orderNumIncrement; this.orderNumIncrement = orderNumIncrement;
} }
/** /**
* 获取 顺序 * 获取 顺序
* @return orderNumList * @return orderNumList
*/ */
public List<Integer> getOrderNumList(){ public List<Integer> getOrderNumList(){
return this.orderNumList; return this.orderNumList;
} }
/** /**
* 设置 顺序 * 设置 顺序
* @param orderNumList * @param orderNumList
*/ */
public void setOrderNumList(List<Integer> orderNumList){ public void setOrderNumList(List<Integer> orderNumList){
this.orderNumList = orderNumList; this.orderNumList = orderNumList;
} }
/** /**
* 获取 顺序 * 获取 顺序
* @return orderNumNotList * @return orderNumNotList
*/ */
public List<Integer> getOrderNumNotList(){ public List<Integer> getOrderNumNotList(){
return this.orderNumNotList; return this.orderNumNotList;
} }
/** /**
* 设置 顺序 * 设置 顺序
* @param orderNumNotList * @param orderNumNotList
*/ */
public void setOrderNumNotList(List<Integer> orderNumNotList){ public void setOrderNumNotList(List<Integer> orderNumNotList){
this.orderNumNotList = orderNumNotList; this.orderNumNotList = orderNumNotList;
} }
/** /**
* 获取 备注 * 获取 开始 部门人数
* @return remarkList * @return personNumStart
*/ */
public Integer getPersonNumStart(){
return this.personNumStart;
}
/**
* 设置 开始 部门人数
* @param personNumStart
*/
public void setPersonNumStart(Integer personNumStart){
this.personNumStart = personNumStart;
}
/**
* 获取 结束 部门人数
* @return $personNumEnd
*/
public Integer getPersonNumEnd(){
return this.personNumEnd;
}
/**
* 设置 结束 部门人数
* @param personNumEnd
*/
public void setPersonNumEnd(Integer personNumEnd){
this.personNumEnd = personNumEnd;
}
/**
* 获取 增加 部门人数
* @return personNumIncrement
*/
public Integer getPersonNumIncrement(){
return this.personNumIncrement;
}
/**
* 设置 增加 部门人数
* @param personNumIncrement
*/
public void setPersonNumIncrement(Integer personNumIncrement){
this.personNumIncrement = personNumIncrement;
}
/**
* 获取 部门人数
* @return personNumList
*/
public List<Integer> getPersonNumList(){
return this.personNumList;
}
/**
* 设置 部门人数
* @param personNumList
*/
public void setPersonNumList(List<Integer> personNumList){
this.personNumList = personNumList;
}
/**
* 获取 部门人数
* @return personNumNotList
*/
public List<Integer> getPersonNumNotList(){
return this.personNumNotList;
}
/**
* 设置 部门人数
* @param personNumNotList
*/
public void setPersonNumNotList(List<Integer> personNumNotList){
this.personNumNotList = personNumNotList;
}
/**
* 获取 开始 负责人id
* @return workIdStart
*/
public Long getWorkIdStart(){
return this.workIdStart;
}
/**
* 设置 开始 负责人id
* @param workIdStart
*/
public void setWorkIdStart(Long workIdStart){
this.workIdStart = workIdStart;
}
/**
* 获取 结束 负责人id
* @return $workIdEnd
*/
public Long getWorkIdEnd(){
return this.workIdEnd;
}
/**
* 设置 结束 负责人id
* @param workIdEnd
*/
public void setWorkIdEnd(Long workIdEnd){
this.workIdEnd = workIdEnd;
}
/**
* 获取 增加 负责人id
* @return workIdIncrement
*/
public Long getWorkIdIncrement(){
return this.workIdIncrement;
}
/**
* 设置 增加 负责人id
* @param workIdIncrement
*/
public void setWorkIdIncrement(Long workIdIncrement){
this.workIdIncrement = workIdIncrement;
}
/**
* 获取 负责人id
* @return workIdList
*/
public List<Long> getWorkIdList(){
return this.workIdList;
}
/**
* 设置 负责人id
* @param workIdList
*/
public void setWorkIdList(List<Long> workIdList){
this.workIdList = workIdList;
}
/**
* 获取 负责人id
* @return workIdNotList
*/
public List<Long> getWorkIdNotList(){
return this.workIdNotList;
}
/**
* 设置 负责人id
* @param workIdNotList
*/
public void setWorkIdNotList(List<Long> workIdNotList){
this.workIdNotList = workIdNotList;
}
/**
* 获取 负责人名称
* @return workNameList
*/
public List<String> getWorkNameList(){
return this.workNameList;
}
/**
* 设置 负责人名称
* @param workNameList
*/
public void setWorkNameList(List<String> workNameList){
this.workNameList = workNameList;
}
/**
* 获取 负责人名称
* @return workNameNotList
*/
public List<String> getWorkNameNotList(){
return this.workNameNotList;
}
/**
* 设置 负责人名称
* @param workNameNotList
*/
public void setWorkNameNotList(List<String> workNameNotList){
this.workNameNotList = workNameNotList;
}
/**
* 获取 备注
* @return remarkList
*/
public List<String> getRemarkList(){ public List<String> getRemarkList(){
return this.remarkList; return this.remarkList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public void setRemarkList(List<String> remarkList){ public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkNotList * @return remarkNotList
*/ */
public List<String> getRemarkNotList(){ public List<String> getRemarkNotList(){
return this.remarkNotList; return this.remarkNotList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkNotList * @param remarkNotList
*/ */
public void setRemarkNotList(List<String> remarkNotList){ public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList; this.remarkNotList = remarkNotList;
} }
/** /**
* 获取 开始 创建用户 * 获取 开始 创建用户
* @return createUserIdStart * @return createUserIdStart
*/ */
public Long getCreateUserIdStart(){ public Long getCreateUserIdStart(){
return this.createUserIdStart; return this.createUserIdStart;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public void setCreateUserIdStart(Long createUserIdStart){ public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
} }
/** /**
* 获取 结束 创建用户 * 获取 结束 创建用户
* @return $createUserIdEnd * @return $createUserIdEnd
*/ */
public Long getCreateUserIdEnd(){ public Long getCreateUserIdEnd(){
return this.createUserIdEnd; return this.createUserIdEnd;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public void setCreateUserIdEnd(Long createUserIdEnd){ public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
} }
/** /**
* 获取 增加 创建用户 * 获取 增加 创建用户
* @return createUserIdIncrement * @return createUserIdIncrement
*/ */
public Long getCreateUserIdIncrement(){ public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement; return this.createUserIdIncrement;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public void setCreateUserIdIncrement(Long createUserIdIncrement){ public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdList * @return createUserIdList
*/ */
public List<Long> getCreateUserIdList(){ public List<Long> getCreateUserIdList(){
return this.createUserIdList; return this.createUserIdList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public void setCreateUserIdList(List<Long> createUserIdList){ public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdNotList * @return createUserIdNotList
*/ */
public List<Long> getCreateUserIdNotList(){ public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList; return this.createUserIdNotList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public void setCreateUserIdNotList(List<Long> createUserIdNotList){ public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
} }
/** /**
* 获取 开始 创建时间 * 获取 开始 创建时间
* @return createTimeStart * @return createTimeStart
*/ */
public String getCreateTimeStart(){ public String getCreateTimeStart(){
return this.createTimeStart; return this.createTimeStart;
} }
/** /**
* 设置 开始 创建时间 * 设置 开始 创建时间
* @param createTimeStart * @param createTimeStart
*/ */
public void setCreateTimeStart(String createTimeStart){ public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart; this.createTimeStart = createTimeStart;
} }
/** /**
* 获取 结束 创建时间 * 获取 结束 创建时间
* @return createTimeEnd * @return createTimeEnd
*/ */
public String getCreateTimeEnd(){ public String getCreateTimeEnd(){
return this.createTimeEnd; return this.createTimeEnd;
} }
/** /**
* 设置 结束 创建时间 * 设置 结束 创建时间
* @param createTimeEnd * @param createTimeEnd
*/ */
public void setCreateTimeEnd(String createTimeEnd){ public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd; this.createTimeEnd = createTimeEnd;
} }
/** /**
* 获取 开始 更新用户 * 获取 开始 更新用户
* @return updateUserIdStart * @return updateUserIdStart
*/ */
public Long getUpdateUserIdStart(){ public Long getUpdateUserIdStart(){
return this.updateUserIdStart; return this.updateUserIdStart;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public void setUpdateUserIdStart(Long updateUserIdStart){ public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
} }
/** /**
* 获取 结束 更新用户 * 获取 结束 更新用户
* @return $updateUserIdEnd * @return $updateUserIdEnd
*/ */
public Long getUpdateUserIdEnd(){ public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd; return this.updateUserIdEnd;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public void setUpdateUserIdEnd(Long updateUserIdEnd){ public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
} }
/** /**
* 获取 增加 更新用户 * 获取 增加 更新用户
* @return updateUserIdIncrement * @return updateUserIdIncrement
*/ */
public Long getUpdateUserIdIncrement(){ public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement; return this.updateUserIdIncrement;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){ public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdList * @return updateUserIdList
*/ */
public List<Long> getUpdateUserIdList(){ public List<Long> getUpdateUserIdList(){
return this.updateUserIdList; return this.updateUserIdList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public void setUpdateUserIdList(List<Long> updateUserIdList){ public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdNotList * @return updateUserIdNotList
*/ */
public List<Long> getUpdateUserIdNotList(){ public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList; return this.updateUserIdNotList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){ public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
} }
/** /**
* 获取 开始 更新时间 * 获取 开始 更新时间
* @return updateTimeStart * @return updateTimeStart
*/ */
public String getUpdateTimeStart(){ public String getUpdateTimeStart(){
return this.updateTimeStart; return this.updateTimeStart;
} }
/** /**
* 设置 开始 更新时间 * 设置 开始 更新时间
* @param updateTimeStart * @param updateTimeStart
*/ */
public void setUpdateTimeStart(String updateTimeStart){ public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart; this.updateTimeStart = updateTimeStart;
} }
/** /**
* 获取 结束 更新时间 * 获取 结束 更新时间
* @return updateTimeEnd * @return updateTimeEnd
*/ */
public String getUpdateTimeEnd(){ public String getUpdateTimeEnd(){
return this.updateTimeEnd; return this.updateTimeEnd;
} }
/** /**
* 设置 结束 更新时间 * 设置 结束 更新时间
* @param updateTimeEnd * @param updateTimeEnd
*/ */
public void setUpdateTimeEnd(String updateTimeEnd){ public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd; this.updateTimeEnd = updateTimeEnd;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param id * @param id
*/ */
public DeptQuery id(Long id){ public DeptQuery id(Long id){
setId(id); setId(id);
return this; return this;
} }
/** /**
* 设置 开始 主键ID,主键,自增长 * 设置 开始 主键ID,主键,自增长
* @param idStart * @param idStart
*/ */
public DeptQuery idStart(Long idStart){ public DeptQuery idStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
return this; return this;
} }
/** /**
* 设置 结束 主键ID,主键,自增长 * 设置 结束 主键ID,主键,自增长
* @param idEnd * @param idEnd
*/ */
public DeptQuery idEnd(Long idEnd){ public DeptQuery idEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
return this; return this;
} }
/** /**
* 设置 增加 主键ID,主键,自增长 * 设置 增加 主键ID,主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public DeptQuery idIncrement(Long idIncrement){ public DeptQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
return this; return this;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idList * @param idList
*/ */
public DeptQuery idList(List<Long> idList){ public DeptQuery idList(List<Long> idList){
this.idList = idList; this.idList = idList;
return this; return this;
} }
/** /**
* 设置 主键ID,主键,自增长 * 设置 主键ID,主键,自增长
* @param idNotList * @param idNotList
*/ */
public DeptQuery idNotList(List<Long> idNotList){ public DeptQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
return this; return this;
} }
/** /**
* 设置 父id * 设置 父id
* @param parentId * @param parentId
*/ */
public DeptQuery parentId(Long parentId){ public DeptQuery parentId(Long parentId){
setParentId(parentId); setParentId(parentId);
return this; return this;
} }
/** /**
* 设置 开始 父id * 设置 开始 父id
* @param parentIdStart * @param parentIdStart
*/ */
public DeptQuery parentIdStart(Long parentIdStart){ public DeptQuery parentIdStart(Long parentIdStart){
this.parentIdStart = parentIdStart; this.parentIdStart = parentIdStart;
return this; return this;
} }
/** /**
* 设置 结束 父id * 设置 结束 父id
* @param parentIdEnd * @param parentIdEnd
*/ */
public DeptQuery parentIdEnd(Long parentIdEnd){ public DeptQuery parentIdEnd(Long parentIdEnd){
this.parentIdEnd = parentIdEnd; this.parentIdEnd = parentIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 父id * 设置 增加 父id
* @param parentIdIncrement * @param parentIdIncrement
*/ */
public DeptQuery parentIdIncrement(Long parentIdIncrement){ public DeptQuery parentIdIncrement(Long parentIdIncrement){
this.parentIdIncrement = parentIdIncrement; this.parentIdIncrement = parentIdIncrement;
return this; return this;
} }
/** /**
* 设置 父id * 设置 父id
* @param parentIdList * @param parentIdList
*/ */
public DeptQuery parentIdList(List<Long> parentIdList){ public DeptQuery parentIdList(List<Long> parentIdList){
this.parentIdList = parentIdList; this.parentIdList = parentIdList;
return this; return this;
} }
/** /**
* 设置 父id * 设置 父id
* @param parentIdNotList * @param parentIdNotList
*/ */
public DeptQuery parentIdNotList(List<Long> parentIdNotList){ public DeptQuery parentIdNotList(List<Long> parentIdNotList){
this.parentIdNotList = parentIdNotList; this.parentIdNotList = parentIdNotList;
return this; return this;
} }
/** /**
* 设置 祖级列表 * 设置 祖级列表
* @param ancestors * @param ancestors
*/ */
public DeptQuery ancestors(String ancestors){ public DeptQuery ancestors(String ancestors){
setAncestors(ancestors); setAncestors(ancestors);
return this; return this;
} }
/** /**
* 设置 祖级列表 * 设置 祖级列表
* @param ancestorsList * @param ancestorsList
*/ */
public DeptQuery ancestorsList(List<String> ancestorsList){ public DeptQuery ancestorsList(List<String> ancestorsList){
this.ancestorsList = ancestorsList; this.ancestorsList = ancestorsList;
return this; return this;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptName * @param deptName
*/ */
public DeptQuery deptName(String deptName){ public DeptQuery deptName(String deptName){
setDeptName(deptName); setDeptName(deptName);
return this; return this;
} }
/** /**
* 设置 部门名称 * 设置 部门名称
* @param deptNameList * @param deptNameList
*/ */
public DeptQuery deptNameList(List<String> deptNameList){ public DeptQuery deptNameList(List<String> deptNameList){
this.deptNameList = deptNameList; this.deptNameList = deptNameList;
return this; return this;
} }
/** /**
* 设置 部门状态(0.停用,1.启用) * 设置 部门编码
* @param deptStatus * @param deptCode
*/ */
public DeptQuery deptCode(String deptCode){
setDeptCode(deptCode);
return this;
}
/**
* 设置 部门编码
* @param deptCodeList
*/
public DeptQuery deptCodeList(List<String> deptCodeList){
this.deptCodeList = deptCodeList;
return this;
}
/**
* 设置 部门状态(0.停用,1.启用)
* @param deptStatus
*/
public DeptQuery deptStatus(Integer deptStatus){ public DeptQuery deptStatus(Integer deptStatus){
setDeptStatus(deptStatus); setDeptStatus(deptStatus);
return this; return this;
} }
/** /**
* 设置 开始 部门状态(0.停用,1.启用) * 设置 开始 部门状态(0.停用,1.启用)
* @param deptStatusStart * @param deptStatusStart
*/ */
public DeptQuery deptStatusStart(Integer deptStatusStart){ public DeptQuery deptStatusStart(Integer deptStatusStart){
this.deptStatusStart = deptStatusStart; this.deptStatusStart = deptStatusStart;
return this; return this;
} }
/** /**
* 设置 结束 部门状态(0.停用,1.启用) * 设置 结束 部门状态(0.停用,1.启用)
* @param deptStatusEnd * @param deptStatusEnd
*/ */
public DeptQuery deptStatusEnd(Integer deptStatusEnd){ public DeptQuery deptStatusEnd(Integer deptStatusEnd){
this.deptStatusEnd = deptStatusEnd; this.deptStatusEnd = deptStatusEnd;
return this; return this;
} }
/** /**
* 设置 增加 部门状态(0.停用,1.启用) * 设置 增加 部门状态(0.停用,1.启用)
* @param deptStatusIncrement * @param deptStatusIncrement
*/ */
public DeptQuery deptStatusIncrement(Integer deptStatusIncrement){ public DeptQuery deptStatusIncrement(Integer deptStatusIncrement){
this.deptStatusIncrement = deptStatusIncrement; this.deptStatusIncrement = deptStatusIncrement;
return this; return this;
} }
/** /**
* 设置 部门状态(0.停用,1.启用) * 设置 部门状态(0.停用,1.启用)
* @param deptStatusList * @param deptStatusList
*/ */
public DeptQuery deptStatusList(List<Integer> deptStatusList){ public DeptQuery deptStatusList(List<Integer> deptStatusList){
this.deptStatusList = deptStatusList; this.deptStatusList = deptStatusList;
return this; return this;
} }
/** /**
* 设置 部门状态(0.停用,1.启用) * 设置 部门状态(0.停用,1.启用)
* @param deptStatusNotList * @param deptStatusNotList
*/ */
public DeptQuery deptStatusNotList(List<Integer> deptStatusNotList){ public DeptQuery deptStatusNotList(List<Integer> deptStatusNotList){
this.deptStatusNotList = deptStatusNotList; this.deptStatusNotList = deptStatusNotList;
return this; return this;
} }
/** /**
* 设置 顺序 * 设置 顺序
* @param orderNum * @param orderNum
*/ */
public DeptQuery orderNum(Integer orderNum){ public DeptQuery orderNum(Integer orderNum){
setOrderNum(orderNum); setOrderNum(orderNum);
return this; return this;
} }
/** /**
* 设置 开始 顺序 * 设置 开始 顺序
* @param orderNumStart * @param orderNumStart
*/ */
public DeptQuery orderNumStart(Integer orderNumStart){ public DeptQuery orderNumStart(Integer orderNumStart){
this.orderNumStart = orderNumStart; this.orderNumStart = orderNumStart;
return this; return this;
} }
/** /**
* 设置 结束 顺序 * 设置 结束 顺序
* @param orderNumEnd * @param orderNumEnd
*/ */
public DeptQuery orderNumEnd(Integer orderNumEnd){ public DeptQuery orderNumEnd(Integer orderNumEnd){
this.orderNumEnd = orderNumEnd; this.orderNumEnd = orderNumEnd;
return this; return this;
} }
/** /**
* 设置 增加 顺序 * 设置 增加 顺序
* @param orderNumIncrement * @param orderNumIncrement
*/ */
public DeptQuery orderNumIncrement(Integer orderNumIncrement){ public DeptQuery orderNumIncrement(Integer orderNumIncrement){
this.orderNumIncrement = orderNumIncrement; this.orderNumIncrement = orderNumIncrement;
return this; return this;
} }
/** /**
* 设置 顺序 * 设置 顺序
* @param orderNumList * @param orderNumList
*/ */
public DeptQuery orderNumList(List<Integer> orderNumList){ public DeptQuery orderNumList(List<Integer> orderNumList){
this.orderNumList = orderNumList; this.orderNumList = orderNumList;
return this; return this;
} }
/** /**
* 设置 顺序 * 设置 顺序
* @param orderNumNotList * @param orderNumNotList
*/ */
public DeptQuery orderNumNotList(List<Integer> orderNumNotList){ public DeptQuery orderNumNotList(List<Integer> orderNumNotList){
this.orderNumNotList = orderNumNotList; this.orderNumNotList = orderNumNotList;
return this; return this;
} }
/**
* 设置 部门人数
* @param personNum
*/
public DeptQuery personNum(Integer personNum){
setPersonNum(personNum);
return this;
}
/**
* 设置 开始 部门人数
* @param personNumStart
*/
public DeptQuery personNumStart(Integer personNumStart){
this.personNumStart = personNumStart;
return this;
}
/** /**
* 设置 备注 * 设置 结束 部门人数
* @param remark * @param personNumEnd
*/ */
public DeptQuery personNumEnd(Integer personNumEnd){
this.personNumEnd = personNumEnd;
return this;
}
/**
* 设置 增加 部门人数
* @param personNumIncrement
*/
public DeptQuery personNumIncrement(Integer personNumIncrement){
this.personNumIncrement = personNumIncrement;
return this;
}
/**
* 设置 部门人数
* @param personNumList
*/
public DeptQuery personNumList(List<Integer> personNumList){
this.personNumList = personNumList;
return this;
}
/**
* 设置 部门人数
* @param personNumNotList
*/
public DeptQuery personNumNotList(List<Integer> personNumNotList){
this.personNumNotList = personNumNotList;
return this;
}
/**
* 设置 负责人id
* @param workId
*/
public DeptQuery workId(Long workId){
setWorkId(workId);
return this;
}
/**
* 设置 开始 负责人id
* @param workIdStart
*/
public DeptQuery workIdStart(Long workIdStart){
this.workIdStart = workIdStart;
return this;
}
/**
* 设置 结束 负责人id
* @param workIdEnd
*/
public DeptQuery workIdEnd(Long workIdEnd){
this.workIdEnd = workIdEnd;
return this;
}
/**
* 设置 增加 负责人id
* @param workIdIncrement
*/
public DeptQuery workIdIncrement(Long workIdIncrement){
this.workIdIncrement = workIdIncrement;
return this;
}
/**
* 设置 负责人id
* @param workIdList
*/
public DeptQuery workIdList(List<Long> workIdList){
this.workIdList = workIdList;
return this;
}
/**
* 设置 负责人id
* @param workIdNotList
*/
public DeptQuery workIdNotList(List<Long> workIdNotList){
this.workIdNotList = workIdNotList;
return this;
}
/**
* 设置 负责人名称
* @param workName
*/
public DeptQuery workName(String workName){
setWorkName(workName);
return this;
}
/**
* 设置 负责人名称
* @param workNameList
*/
public DeptQuery workNameList(List<String> workNameList){
this.workNameList = workNameList;
return this;
}
/**
* 设置 备注
* @param remark
*/
public DeptQuery remark(String remark){ public DeptQuery remark(String remark){
setRemark(remark); setRemark(remark);
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public DeptQuery remarkList(List<String> remarkList){ public DeptQuery remarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserId * @param createUserId
*/ */
public DeptQuery createUserId(Long createUserId){ public DeptQuery createUserId(Long createUserId){
setCreateUserId(createUserId); setCreateUserId(createUserId);
return this; return this;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public DeptQuery createUserIdStart(Long createUserIdStart){ public DeptQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public DeptQuery createUserIdEnd(Long createUserIdEnd){ public DeptQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public DeptQuery createUserIdIncrement(Long createUserIdIncrement){ public DeptQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public DeptQuery createUserIdList(List<Long> createUserIdList){ public DeptQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public DeptQuery createUserIdNotList(List<Long> createUserIdNotList){ public DeptQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserId * @param updateUserId
*/ */
public DeptQuery updateUserId(Long updateUserId){ public DeptQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId); setUpdateUserId(updateUserId);
return this; return this;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public DeptQuery updateUserIdStart(Long updateUserIdStart){ public DeptQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public DeptQuery updateUserIdEnd(Long updateUserIdEnd){ public DeptQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public DeptQuery updateUserIdIncrement(Long updateUserIdIncrement){ public DeptQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public DeptQuery updateUserIdList(List<Long> updateUserIdList){ public DeptQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public DeptQuery updateUserIdNotList(List<Long> updateUserIdNotList){ public DeptQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
return this; return this;
} }
/** /**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList * @return orConditionList
*/ */
public List<DeptQuery> getOrConditionList(){ public List<DeptQuery> getOrConditionList(){
return this.orConditionList; return this.orConditionList;
} }
/** /**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList * @param orConditionList
*/ */
public void setOrConditionList(List<DeptQuery> orConditionList){ public void setOrConditionList(List<DeptQuery> orConditionList){
this.orConditionList = orConditionList; this.orConditionList = orConditionList;
} }
/** /**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList * @return andConditionList
*/ */
public List<DeptQuery> getAndConditionList(){ public List<DeptQuery> getAndConditionList(){
return this.andConditionList; return this.andConditionList;
} }
/** /**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList * @param andConditionList
*/ */
public void setAndConditionList(List<DeptQuery> andConditionList){ public void setAndConditionList(List<DeptQuery> andConditionList){
this.andConditionList = andConditionList; this.andConditionList = andConditionList;
} }
......
...@@ -16,4 +16,7 @@ public class DeptVo extends BaseEntityLong { ...@@ -16,4 +16,7 @@ public class DeptVo extends BaseEntityLong {
/** 子部门信息 */ /** 子部门信息 */
private List<DeptEntity> children = new ArrayList<>(); private List<DeptEntity> children = new ArrayList<>();
//成员数量
} }
\ No newline at end of file
package com.mortals.xhx.module.dept.web; package com.mortals.xhx.module.dept.web;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.alibaba.fastjson.JSONObject;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.framework.exception.AppException;
import com.mortals.xhx.module.dept.model.DeptQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import com.mortals.framework.model.Context; import com.mortals.framework.model.Context;
import com.mortals.framework.util.StringUtils;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.module.dept.model.DeptEntity; import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.service.DeptService; import com.mortals.xhx.module.dept.model.DeptQuery;
import com.mortals.xhx.module.dept.model.DeptTreeSelect; import com.mortals.xhx.module.dept.model.DeptTreeSelect;
import com.mortals.xhx.module.dept.service.DeptService;
import com.mortals.xhx.module.workman.model.WorkmanQuery;
import com.mortals.xhx.module.workman.service.WorkmanService;
import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.ArrayUtils;
import com.mortals.framework.util.StringUtils; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import com.alibaba.fastjson.JSONObject; import static com.mortals.framework.ap.SysConstains.RESULT_KEY;
import java.util.Arrays;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import static com.mortals.framework.ap.SysConstains.*;
/** /**
* 部门信息 * 部门信息
...@@ -47,6 +37,8 @@ public class DeptController extends BaseCRUDJsonBodyMappingController<DeptServic ...@@ -47,6 +37,8 @@ public class DeptController extends BaseCRUDJsonBodyMappingController<DeptServic
private ParamService paramService; private ParamService paramService;
@Autowired @Autowired
private DeptService deptService; private DeptService deptService;
@Autowired
private WorkmanService workmanService;
public DeptController() { public DeptController() {
...@@ -56,7 +48,8 @@ public class DeptController extends BaseCRUDJsonBodyMappingController<DeptServic ...@@ -56,7 +48,8 @@ public class DeptController extends BaseCRUDJsonBodyMappingController<DeptServic
@Override @Override
protected void init(Map<String, Object> model, Context context) { protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "deptStatus", paramService.getParamBySecondOrganize("Dept", "deptStatus")); this.addDict(model, "deptStatus", paramService.getParamBySecondOrganize("Dept", "deptStatus"));
this.addDict(model, "id", deptService.find(new DeptQuery()).stream().collect(Collectors.toMap(x->x.getId().toString(), y->y.getDeptName(),(o, n)->n)));
this.addDict(model, "remark", workmanService.find(new WorkmanQuery()).stream().collect(Collectors.toMap(x->x.getId().toString(), y->y.getName(),(o, n)->n)));
super.init(model, context); super.init(model, context);
} }
...@@ -134,4 +127,8 @@ public class DeptController extends BaseCRUDJsonBodyMappingController<DeptServic ...@@ -134,4 +127,8 @@ public class DeptController extends BaseCRUDJsonBodyMappingController<DeptServic
} }
@Override
protected int doListAfter(DeptEntity query, Map<String, Object> model, Context context) throws AppException {
return super.doListAfter(query, model, context);
}
} }
\ No newline at end of file
...@@ -7,116 +7,134 @@ import com.mortals.framework.annotation.Excel; ...@@ -7,116 +7,134 @@ import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong; import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.job.model.vo.JobVo; import com.mortals.xhx.module.job.model.vo.JobVo;
/** /**
* 职位信息实体对象 * 职位信息实体对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-07 * @date 2023-04-11
*/ */
public class JobEntity extends JobVo { public class JobEntity extends JobVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 分组id * 分组id
*/ */
private Long groupId; private Long groupId;
/** /**
* 分组名称 * 分组名称
*/ */
private String groupName; private String groupName;
/** /**
* 职位编码 * 职位编码
*/ */
private String jobCode; private String jobCode;
/** /**
* 职位名称 * 职位名称
*/ */
private String jobName; private String jobName;
/** /**
* 备注 * 备注
*/ */
private String remark; private String remark;
/**
* 节点类型(1.分组,2.职位)
*/
private Integer type;
public JobEntity(){} public JobEntity(){}
/** /**
* 获取 分组id * 获取 分组id
* @return Long * @return Long
*/ */
public Long getGroupId(){ public Long getGroupId(){
return groupId; return groupId;
} }
/** /**
* 设置 分组id * 设置 分组id
* @param groupId * @param groupId
*/ */
public void setGroupId(Long groupId){ public void setGroupId(Long groupId){
this.groupId = groupId; this.groupId = groupId;
} }
/** /**
* 获取 分组名称 * 获取 分组名称
* @return String * @return String
*/ */
public String getGroupName(){ public String getGroupName(){
return groupName; return groupName;
} }
/** /**
* 设置 分组名称 * 设置 分组名称
* @param groupName * @param groupName
*/ */
public void setGroupName(String groupName){ public void setGroupName(String groupName){
this.groupName = groupName; this.groupName = groupName;
} }
/** /**
* 获取 职位编码 * 获取 职位编码
* @return String * @return String
*/ */
public String getJobCode(){ public String getJobCode(){
return jobCode; return jobCode;
} }
/** /**
* 设置 职位编码 * 设置 职位编码
* @param jobCode * @param jobCode
*/ */
public void setJobCode(String jobCode){ public void setJobCode(String jobCode){
this.jobCode = jobCode; this.jobCode = jobCode;
} }
/** /**
* 获取 职位名称 * 获取 职位名称
* @return String * @return String
*/ */
public String getJobName(){ public String getJobName(){
return jobName; return jobName;
} }
/** /**
* 设置 职位名称 * 设置 职位名称
* @param jobName * @param jobName
*/ */
public void setJobName(String jobName){ public void setJobName(String jobName){
this.jobName = jobName; this.jobName = jobName;
} }
/** /**
* 获取 备注 * 获取 备注
* @return String * @return String
*/ */
public String getRemark(){ public String getRemark(){
return remark; return remark;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public void setRemark(String remark){ public void setRemark(String remark){
this.remark = remark; this.remark = remark;
} }
/**
* 获取 节点类型(1.分组,2.职位)
* @return Integer
*/
public Integer getType(){
return type;
}
/**
* 设置 节点类型(1.分组,2.职位)
* @param type
*/
public void setType(Integer type){
this.type = type;
}
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -124,7 +142,7 @@ public class JobEntity extends JobVo { ...@@ -124,7 +142,7 @@ public class JobEntity extends JobVo {
if (obj instanceof JobEntity) { if (obj instanceof JobEntity) {
JobEntity tmp = (JobEntity) obj; JobEntity tmp = (JobEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
...@@ -137,19 +155,22 @@ public class JobEntity extends JobVo { ...@@ -137,19 +155,22 @@ public class JobEntity extends JobVo {
sb.append(",jobCode:").append(getJobCode()); sb.append(",jobCode:").append(getJobCode());
sb.append(",jobName:").append(getJobName()); sb.append(",jobName:").append(getJobName());
sb.append(",remark:").append(getRemark()); sb.append(",remark:").append(getRemark());
sb.append(",type:").append(getType());
return sb.toString(); return sb.toString();
} }
public void initAttrValue(){ public void initAttrValue(){
this.groupId = null; this.groupId = null;
this.groupName = "";
this.groupName = ""; this.jobCode = "";
this.jobCode = ""; this.jobName = "";
this.jobName = ""; this.remark = "";
this.remark = ""; this.type = 1;
} }
} }
\ No newline at end of file
...@@ -3,11 +3,11 @@ package com.mortals.xhx.module.job.model; ...@@ -3,11 +3,11 @@ package com.mortals.xhx.module.job.model;
import java.util.List; import java.util.List;
import com.mortals.xhx.module.job.model.JobEntity; import com.mortals.xhx.module.job.model.JobEntity;
/** /**
* 职位信息查询对象 * 职位信息查询对象
* *
* @author zxfei * @author zxfei
* @date 2023-04-07 * @date 2023-04-11
*/ */
public class JobQuery extends JobEntity { public class JobQuery extends JobEntity {
/** 开始 主键,自增长 */ /** 开始 主键,自增长 */
private Long idStart; private Long idStart;
...@@ -101,6 +101,21 @@ public class JobQuery extends JobEntity { ...@@ -101,6 +101,21 @@ public class JobQuery extends JobEntity {
/** 结束 修改时间 */ /** 结束 修改时间 */
private String updateTimeEnd; private String updateTimeEnd;
/** 开始 节点类型(1.分组,2.职位) */
private Integer typeStart;
/** 结束 节点类型(1.分组,2.职位) */
private Integer typeEnd;
/** 增加 节点类型(1.分组,2.职位) */
private Integer typeIncrement;
/** 节点类型(1.分组,2.职位)列表 */
private List <Integer> typeList;
/** 节点类型(1.分组,2.职位)排除列表 */
private List <Integer> typeNotList;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */ /** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private List<JobQuery> orConditionList; private List<JobQuery> orConditionList;
...@@ -110,843 +125,978 @@ public class JobQuery extends JobEntity { ...@@ -110,843 +125,978 @@ public class JobQuery extends JobEntity {
public JobQuery(){} public JobQuery(){}
/** /**
* 获取 开始 主键,自增长 * 获取 开始 主键,自增长
* @return idStart * @return idStart
*/ */
public Long getIdStart(){ public Long getIdStart(){
return this.idStart; return this.idStart;
} }
/** /**
* 设置 开始 主键,自增长 * 设置 开始 主键,自增长
* @param idStart * @param idStart
*/ */
public void setIdStart(Long idStart){ public void setIdStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
} }
/** /**
* 获取 结束 主键,自增长 * 获取 结束 主键,自增长
* @return $idEnd * @return $idEnd
*/ */
public Long getIdEnd(){ public Long getIdEnd(){
return this.idEnd; return this.idEnd;
} }
/** /**
* 设置 结束 主键,自增长 * 设置 结束 主键,自增长
* @param idEnd * @param idEnd
*/ */
public void setIdEnd(Long idEnd){ public void setIdEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
} }
/** /**
* 获取 增加 主键,自增长 * 获取 增加 主键,自增长
* @return idIncrement * @return idIncrement
*/ */
public Long getIdIncrement(){ public Long getIdIncrement(){
return this.idIncrement; return this.idIncrement;
} }
/** /**
* 设置 增加 主键,自增长 * 设置 增加 主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public void setIdIncrement(Long idIncrement){ public void setIdIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
} }
/** /**
* 获取 主键,自增长 * 获取 主键,自增长
* @return idList * @return idList
*/ */
public List<Long> getIdList(){ public List<Long> getIdList(){
return this.idList; return this.idList;
} }
/** /**
* 设置 主键,自增长 * 设置 主键,自增长
* @param idList * @param idList
*/ */
public void setIdList(List<Long> idList){ public void setIdList(List<Long> idList){
this.idList = idList; this.idList = idList;
} }
/** /**
* 获取 主键,自增长 * 获取 主键,自增长
* @return idNotList * @return idNotList
*/ */
public List<Long> getIdNotList(){ public List<Long> getIdNotList(){
return this.idNotList; return this.idNotList;
} }
/** /**
* 设置 主键,自增长 * 设置 主键,自增长
* @param idNotList * @param idNotList
*/ */
public void setIdNotList(List<Long> idNotList){ public void setIdNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
} }
/** /**
* 获取 开始 分组id * 获取 开始 分组id
* @return groupIdStart * @return groupIdStart
*/ */
public Long getGroupIdStart(){ public Long getGroupIdStart(){
return this.groupIdStart; return this.groupIdStart;
} }
/** /**
* 设置 开始 分组id * 设置 开始 分组id
* @param groupIdStart * @param groupIdStart
*/ */
public void setGroupIdStart(Long groupIdStart){ public void setGroupIdStart(Long groupIdStart){
this.groupIdStart = groupIdStart; this.groupIdStart = groupIdStart;
} }
/** /**
* 获取 结束 分组id * 获取 结束 分组id
* @return $groupIdEnd * @return $groupIdEnd
*/ */
public Long getGroupIdEnd(){ public Long getGroupIdEnd(){
return this.groupIdEnd; return this.groupIdEnd;
} }
/** /**
* 设置 结束 分组id * 设置 结束 分组id
* @param groupIdEnd * @param groupIdEnd
*/ */
public void setGroupIdEnd(Long groupIdEnd){ public void setGroupIdEnd(Long groupIdEnd){
this.groupIdEnd = groupIdEnd; this.groupIdEnd = groupIdEnd;
} }
/** /**
* 获取 增加 分组id * 获取 增加 分组id
* @return groupIdIncrement * @return groupIdIncrement
*/ */
public Long getGroupIdIncrement(){ public Long getGroupIdIncrement(){
return this.groupIdIncrement; return this.groupIdIncrement;
} }
/** /**
* 设置 增加 分组id * 设置 增加 分组id
* @param groupIdIncrement * @param groupIdIncrement
*/ */
public void setGroupIdIncrement(Long groupIdIncrement){ public void setGroupIdIncrement(Long groupIdIncrement){
this.groupIdIncrement = groupIdIncrement; this.groupIdIncrement = groupIdIncrement;
} }
/** /**
* 获取 分组id * 获取 分组id
* @return groupIdList * @return groupIdList
*/ */
public List<Long> getGroupIdList(){ public List<Long> getGroupIdList(){
return this.groupIdList; return this.groupIdList;
} }
/** /**
* 设置 分组id * 设置 分组id
* @param groupIdList * @param groupIdList
*/ */
public void setGroupIdList(List<Long> groupIdList){ public void setGroupIdList(List<Long> groupIdList){
this.groupIdList = groupIdList; this.groupIdList = groupIdList;
} }
/** /**
* 获取 分组id * 获取 分组id
* @return groupIdNotList * @return groupIdNotList
*/ */
public List<Long> getGroupIdNotList(){ public List<Long> getGroupIdNotList(){
return this.groupIdNotList; return this.groupIdNotList;
} }
/** /**
* 设置 分组id * 设置 分组id
* @param groupIdNotList * @param groupIdNotList
*/ */
public void setGroupIdNotList(List<Long> groupIdNotList){ public void setGroupIdNotList(List<Long> groupIdNotList){
this.groupIdNotList = groupIdNotList; this.groupIdNotList = groupIdNotList;
} }
/** /**
* 获取 分组名称 * 获取 分组名称
* @return groupNameList * @return groupNameList
*/ */
public List<String> getGroupNameList(){ public List<String> getGroupNameList(){
return this.groupNameList; return this.groupNameList;
} }
/** /**
* 设置 分组名称 * 设置 分组名称
* @param groupNameList * @param groupNameList
*/ */
public void setGroupNameList(List<String> groupNameList){ public void setGroupNameList(List<String> groupNameList){
this.groupNameList = groupNameList; this.groupNameList = groupNameList;
} }
/** /**
* 获取 分组名称 * 获取 分组名称
* @return groupNameNotList * @return groupNameNotList
*/ */
public List<String> getGroupNameNotList(){ public List<String> getGroupNameNotList(){
return this.groupNameNotList; return this.groupNameNotList;
} }
/** /**
* 设置 分组名称 * 设置 分组名称
* @param groupNameNotList * @param groupNameNotList
*/ */
public void setGroupNameNotList(List<String> groupNameNotList){ public void setGroupNameNotList(List<String> groupNameNotList){
this.groupNameNotList = groupNameNotList; this.groupNameNotList = groupNameNotList;
} }
/** /**
* 获取 职位编码 * 获取 职位编码
* @return jobCodeList * @return jobCodeList
*/ */
public List<String> getJobCodeList(){ public List<String> getJobCodeList(){
return this.jobCodeList; return this.jobCodeList;
} }
/** /**
* 设置 职位编码 * 设置 职位编码
* @param jobCodeList * @param jobCodeList
*/ */
public void setJobCodeList(List<String> jobCodeList){ public void setJobCodeList(List<String> jobCodeList){
this.jobCodeList = jobCodeList; this.jobCodeList = jobCodeList;
} }
/** /**
* 获取 职位编码 * 获取 职位编码
* @return jobCodeNotList * @return jobCodeNotList
*/ */
public List<String> getJobCodeNotList(){ public List<String> getJobCodeNotList(){
return this.jobCodeNotList; return this.jobCodeNotList;
} }
/** /**
* 设置 职位编码 * 设置 职位编码
* @param jobCodeNotList * @param jobCodeNotList
*/ */
public void setJobCodeNotList(List<String> jobCodeNotList){ public void setJobCodeNotList(List<String> jobCodeNotList){
this.jobCodeNotList = jobCodeNotList; this.jobCodeNotList = jobCodeNotList;
} }
/** /**
* 获取 职位名称 * 获取 职位名称
* @return jobNameList * @return jobNameList
*/ */
public List<String> getJobNameList(){ public List<String> getJobNameList(){
return this.jobNameList; return this.jobNameList;
} }
/** /**
* 设置 职位名称 * 设置 职位名称
* @param jobNameList * @param jobNameList
*/ */
public void setJobNameList(List<String> jobNameList){ public void setJobNameList(List<String> jobNameList){
this.jobNameList = jobNameList; this.jobNameList = jobNameList;
} }
/** /**
* 获取 职位名称 * 获取 职位名称
* @return jobNameNotList * @return jobNameNotList
*/ */
public List<String> getJobNameNotList(){ public List<String> getJobNameNotList(){
return this.jobNameNotList; return this.jobNameNotList;
} }
/** /**
* 设置 职位名称 * 设置 职位名称
* @param jobNameNotList * @param jobNameNotList
*/ */
public void setJobNameNotList(List<String> jobNameNotList){ public void setJobNameNotList(List<String> jobNameNotList){
this.jobNameNotList = jobNameNotList; this.jobNameNotList = jobNameNotList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkList * @return remarkList
*/ */
public List<String> getRemarkList(){ public List<String> getRemarkList(){
return this.remarkList; return this.remarkList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public void setRemarkList(List<String> remarkList){ public void setRemarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
} }
/** /**
* 获取 备注 * 获取 备注
* @return remarkNotList * @return remarkNotList
*/ */
public List<String> getRemarkNotList(){ public List<String> getRemarkNotList(){
return this.remarkNotList; return this.remarkNotList;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkNotList * @param remarkNotList
*/ */
public void setRemarkNotList(List<String> remarkNotList){ public void setRemarkNotList(List<String> remarkNotList){
this.remarkNotList = remarkNotList; this.remarkNotList = remarkNotList;
} }
/** /**
* 获取 开始 创建时间 * 获取 开始 创建时间
* @return createTimeStart * @return createTimeStart
*/ */
public String getCreateTimeStart(){ public String getCreateTimeStart(){
return this.createTimeStart; return this.createTimeStart;
} }
/** /**
* 设置 开始 创建时间 * 设置 开始 创建时间
* @param createTimeStart * @param createTimeStart
*/ */
public void setCreateTimeStart(String createTimeStart){ public void setCreateTimeStart(String createTimeStart){
this.createTimeStart = createTimeStart; this.createTimeStart = createTimeStart;
} }
/** /**
* 获取 结束 创建时间 * 获取 结束 创建时间
* @return createTimeEnd * @return createTimeEnd
*/ */
public String getCreateTimeEnd(){ public String getCreateTimeEnd(){
return this.createTimeEnd; return this.createTimeEnd;
} }
/** /**
* 设置 结束 创建时间 * 设置 结束 创建时间
* @param createTimeEnd * @param createTimeEnd
*/ */
public void setCreateTimeEnd(String createTimeEnd){ public void setCreateTimeEnd(String createTimeEnd){
this.createTimeEnd = createTimeEnd; this.createTimeEnd = createTimeEnd;
} }
/** /**
* 获取 开始 创建用户 * 获取 开始 创建用户
* @return createUserIdStart * @return createUserIdStart
*/ */
public Long getCreateUserIdStart(){ public Long getCreateUserIdStart(){
return this.createUserIdStart; return this.createUserIdStart;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public void setCreateUserIdStart(Long createUserIdStart){ public void setCreateUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
} }
/** /**
* 获取 结束 创建用户 * 获取 结束 创建用户
* @return $createUserIdEnd * @return $createUserIdEnd
*/ */
public Long getCreateUserIdEnd(){ public Long getCreateUserIdEnd(){
return this.createUserIdEnd; return this.createUserIdEnd;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public void setCreateUserIdEnd(Long createUserIdEnd){ public void setCreateUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
} }
/** /**
* 获取 增加 创建用户 * 获取 增加 创建用户
* @return createUserIdIncrement * @return createUserIdIncrement
*/ */
public Long getCreateUserIdIncrement(){ public Long getCreateUserIdIncrement(){
return this.createUserIdIncrement; return this.createUserIdIncrement;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public void setCreateUserIdIncrement(Long createUserIdIncrement){ public void setCreateUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdList * @return createUserIdList
*/ */
public List<Long> getCreateUserIdList(){ public List<Long> getCreateUserIdList(){
return this.createUserIdList; return this.createUserIdList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public void setCreateUserIdList(List<Long> createUserIdList){ public void setCreateUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
} }
/** /**
* 获取 创建用户 * 获取 创建用户
* @return createUserIdNotList * @return createUserIdNotList
*/ */
public List<Long> getCreateUserIdNotList(){ public List<Long> getCreateUserIdNotList(){
return this.createUserIdNotList; return this.createUserIdNotList;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public void setCreateUserIdNotList(List<Long> createUserIdNotList){ public void setCreateUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
} }
/** /**
* 获取 开始 更新用户 * 获取 开始 更新用户
* @return updateUserIdStart * @return updateUserIdStart
*/ */
public Long getUpdateUserIdStart(){ public Long getUpdateUserIdStart(){
return this.updateUserIdStart; return this.updateUserIdStart;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public void setUpdateUserIdStart(Long updateUserIdStart){ public void setUpdateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
} }
/** /**
* 获取 结束 更新用户 * 获取 结束 更新用户
* @return $updateUserIdEnd * @return $updateUserIdEnd
*/ */
public Long getUpdateUserIdEnd(){ public Long getUpdateUserIdEnd(){
return this.updateUserIdEnd; return this.updateUserIdEnd;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public void setUpdateUserIdEnd(Long updateUserIdEnd){ public void setUpdateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
} }
/** /**
* 获取 增加 更新用户 * 获取 增加 更新用户
* @return updateUserIdIncrement * @return updateUserIdIncrement
*/ */
public Long getUpdateUserIdIncrement(){ public Long getUpdateUserIdIncrement(){
return this.updateUserIdIncrement; return this.updateUserIdIncrement;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public void setUpdateUserIdIncrement(Long updateUserIdIncrement){ public void setUpdateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdList * @return updateUserIdList
*/ */
public List<Long> getUpdateUserIdList(){ public List<Long> getUpdateUserIdList(){
return this.updateUserIdList; return this.updateUserIdList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public void setUpdateUserIdList(List<Long> updateUserIdList){ public void setUpdateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
} }
/** /**
* 获取 更新用户 * 获取 更新用户
* @return updateUserIdNotList * @return updateUserIdNotList
*/ */
public List<Long> getUpdateUserIdNotList(){ public List<Long> getUpdateUserIdNotList(){
return this.updateUserIdNotList; return this.updateUserIdNotList;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){ public void setUpdateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
} }
/** /**
* 获取 开始 修改时间 * 获取 开始 修改时间
* @return updateTimeStart * @return updateTimeStart
*/ */
public String getUpdateTimeStart(){ public String getUpdateTimeStart(){
return this.updateTimeStart; return this.updateTimeStart;
} }
/** /**
* 设置 开始 修改时间 * 设置 开始 修改时间
* @param updateTimeStart * @param updateTimeStart
*/ */
public void setUpdateTimeStart(String updateTimeStart){ public void setUpdateTimeStart(String updateTimeStart){
this.updateTimeStart = updateTimeStart; this.updateTimeStart = updateTimeStart;
} }
/** /**
* 获取 结束 修改时间 * 获取 结束 修改时间
* @return updateTimeEnd * @return updateTimeEnd
*/ */
public String getUpdateTimeEnd(){ public String getUpdateTimeEnd(){
return this.updateTimeEnd; return this.updateTimeEnd;
} }
/** /**
* 设置 结束 修改时间 * 设置 结束 修改时间
* @param updateTimeEnd * @param updateTimeEnd
*/ */
public void setUpdateTimeEnd(String updateTimeEnd){ public void setUpdateTimeEnd(String updateTimeEnd){
this.updateTimeEnd = updateTimeEnd; this.updateTimeEnd = updateTimeEnd;
} }
/** /**
* 设置 主键,自增长 * 获取 开始 节点类型(1.分组,2.职位)
* @param id * @return typeStart
*/ */
public Integer getTypeStart(){
return this.typeStart;
}
/**
* 设置 开始 节点类型(1.分组,2.职位)
* @param typeStart
*/
public void setTypeStart(Integer typeStart){
this.typeStart = typeStart;
}
/**
* 获取 结束 节点类型(1.分组,2.职位)
* @return $typeEnd
*/
public Integer getTypeEnd(){
return this.typeEnd;
}
/**
* 设置 结束 节点类型(1.分组,2.职位)
* @param typeEnd
*/
public void setTypeEnd(Integer typeEnd){
this.typeEnd = typeEnd;
}
/**
* 获取 增加 节点类型(1.分组,2.职位)
* @return typeIncrement
*/
public Integer getTypeIncrement(){
return this.typeIncrement;
}
/**
* 设置 增加 节点类型(1.分组,2.职位)
* @param typeIncrement
*/
public void setTypeIncrement(Integer typeIncrement){
this.typeIncrement = typeIncrement;
}
/**
* 获取 节点类型(1.分组,2.职位)
* @return typeList
*/
public List<Integer> getTypeList(){
return this.typeList;
}
/**
* 设置 节点类型(1.分组,2.职位)
* @param typeList
*/
public void setTypeList(List<Integer> typeList){
this.typeList = typeList;
}
/**
* 获取 节点类型(1.分组,2.职位)
* @return typeNotList
*/
public List<Integer> getTypeNotList(){
return this.typeNotList;
}
/**
* 设置 节点类型(1.分组,2.职位)
* @param typeNotList
*/
public void setTypeNotList(List<Integer> typeNotList){
this.typeNotList = typeNotList;
}
/**
* 设置 主键,自增长
* @param id
*/
public JobQuery id(Long id){ public JobQuery id(Long id){
setId(id); setId(id);
return this; return this;
} }
/** /**
* 设置 开始 主键,自增长 * 设置 开始 主键,自增长
* @param idStart * @param idStart
*/ */
public JobQuery idStart(Long idStart){ public JobQuery idStart(Long idStart){
this.idStart = idStart; this.idStart = idStart;
return this; return this;
} }
/** /**
* 设置 结束 主键,自增长 * 设置 结束 主键,自增长
* @param idEnd * @param idEnd
*/ */
public JobQuery idEnd(Long idEnd){ public JobQuery idEnd(Long idEnd){
this.idEnd = idEnd; this.idEnd = idEnd;
return this; return this;
} }
/** /**
* 设置 增加 主键,自增长 * 设置 增加 主键,自增长
* @param idIncrement * @param idIncrement
*/ */
public JobQuery idIncrement(Long idIncrement){ public JobQuery idIncrement(Long idIncrement){
this.idIncrement = idIncrement; this.idIncrement = idIncrement;
return this; return this;
} }
/** /**
* 设置 主键,自增长 * 设置 主键,自增长
* @param idList * @param idList
*/ */
public JobQuery idList(List<Long> idList){ public JobQuery idList(List<Long> idList){
this.idList = idList; this.idList = idList;
return this; return this;
} }
/** /**
* 设置 主键,自增长 * 设置 主键,自增长
* @param idNotList * @param idNotList
*/ */
public JobQuery idNotList(List<Long> idNotList){ public JobQuery idNotList(List<Long> idNotList){
this.idNotList = idNotList; this.idNotList = idNotList;
return this; return this;
} }
/** /**
* 设置 分组id * 设置 分组id
* @param groupId * @param groupId
*/ */
public JobQuery groupId(Long groupId){ public JobQuery groupId(Long groupId){
setGroupId(groupId); setGroupId(groupId);
return this; return this;
} }
/** /**
* 设置 开始 分组id * 设置 开始 分组id
* @param groupIdStart * @param groupIdStart
*/ */
public JobQuery groupIdStart(Long groupIdStart){ public JobQuery groupIdStart(Long groupIdStart){
this.groupIdStart = groupIdStart; this.groupIdStart = groupIdStart;
return this; return this;
} }
/** /**
* 设置 结束 分组id * 设置 结束 分组id
* @param groupIdEnd * @param groupIdEnd
*/ */
public JobQuery groupIdEnd(Long groupIdEnd){ public JobQuery groupIdEnd(Long groupIdEnd){
this.groupIdEnd = groupIdEnd; this.groupIdEnd = groupIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 分组id * 设置 增加 分组id
* @param groupIdIncrement * @param groupIdIncrement
*/ */
public JobQuery groupIdIncrement(Long groupIdIncrement){ public JobQuery groupIdIncrement(Long groupIdIncrement){
this.groupIdIncrement = groupIdIncrement; this.groupIdIncrement = groupIdIncrement;
return this; return this;
} }
/** /**
* 设置 分组id * 设置 分组id
* @param groupIdList * @param groupIdList
*/ */
public JobQuery groupIdList(List<Long> groupIdList){ public JobQuery groupIdList(List<Long> groupIdList){
this.groupIdList = groupIdList; this.groupIdList = groupIdList;
return this; return this;
} }
/** /**
* 设置 分组id * 设置 分组id
* @param groupIdNotList * @param groupIdNotList
*/ */
public JobQuery groupIdNotList(List<Long> groupIdNotList){ public JobQuery groupIdNotList(List<Long> groupIdNotList){
this.groupIdNotList = groupIdNotList; this.groupIdNotList = groupIdNotList;
return this; return this;
} }
/** /**
* 设置 分组名称 * 设置 分组名称
* @param groupName * @param groupName
*/ */
public JobQuery groupName(String groupName){ public JobQuery groupName(String groupName){
setGroupName(groupName); setGroupName(groupName);
return this; return this;
} }
/** /**
* 设置 分组名称 * 设置 分组名称
* @param groupNameList * @param groupNameList
*/ */
public JobQuery groupNameList(List<String> groupNameList){ public JobQuery groupNameList(List<String> groupNameList){
this.groupNameList = groupNameList; this.groupNameList = groupNameList;
return this; return this;
} }
/** /**
* 设置 职位编码 * 设置 职位编码
* @param jobCode * @param jobCode
*/ */
public JobQuery jobCode(String jobCode){ public JobQuery jobCode(String jobCode){
setJobCode(jobCode); setJobCode(jobCode);
return this; return this;
} }
/** /**
* 设置 职位编码 * 设置 职位编码
* @param jobCodeList * @param jobCodeList
*/ */
public JobQuery jobCodeList(List<String> jobCodeList){ public JobQuery jobCodeList(List<String> jobCodeList){
this.jobCodeList = jobCodeList; this.jobCodeList = jobCodeList;
return this; return this;
} }
/** /**
* 设置 职位名称 * 设置 职位名称
* @param jobName * @param jobName
*/ */
public JobQuery jobName(String jobName){ public JobQuery jobName(String jobName){
setJobName(jobName); setJobName(jobName);
return this; return this;
} }
/** /**
* 设置 职位名称 * 设置 职位名称
* @param jobNameList * @param jobNameList
*/ */
public JobQuery jobNameList(List<String> jobNameList){ public JobQuery jobNameList(List<String> jobNameList){
this.jobNameList = jobNameList; this.jobNameList = jobNameList;
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remark * @param remark
*/ */
public JobQuery remark(String remark){ public JobQuery remark(String remark){
setRemark(remark); setRemark(remark);
return this; return this;
} }
/** /**
* 设置 备注 * 设置 备注
* @param remarkList * @param remarkList
*/ */
public JobQuery remarkList(List<String> remarkList){ public JobQuery remarkList(List<String> remarkList){
this.remarkList = remarkList; this.remarkList = remarkList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserId * @param createUserId
*/ */
public JobQuery createUserId(Long createUserId){ public JobQuery createUserId(Long createUserId){
setCreateUserId(createUserId); setCreateUserId(createUserId);
return this; return this;
} }
/** /**
* 设置 开始 创建用户 * 设置 开始 创建用户
* @param createUserIdStart * @param createUserIdStart
*/ */
public JobQuery createUserIdStart(Long createUserIdStart){ public JobQuery createUserIdStart(Long createUserIdStart){
this.createUserIdStart = createUserIdStart; this.createUserIdStart = createUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 创建用户 * 设置 结束 创建用户
* @param createUserIdEnd * @param createUserIdEnd
*/ */
public JobQuery createUserIdEnd(Long createUserIdEnd){ public JobQuery createUserIdEnd(Long createUserIdEnd){
this.createUserIdEnd = createUserIdEnd; this.createUserIdEnd = createUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 创建用户 * 设置 增加 创建用户
* @param createUserIdIncrement * @param createUserIdIncrement
*/ */
public JobQuery createUserIdIncrement(Long createUserIdIncrement){ public JobQuery createUserIdIncrement(Long createUserIdIncrement){
this.createUserIdIncrement = createUserIdIncrement; this.createUserIdIncrement = createUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdList * @param createUserIdList
*/ */
public JobQuery createUserIdList(List<Long> createUserIdList){ public JobQuery createUserIdList(List<Long> createUserIdList){
this.createUserIdList = createUserIdList; this.createUserIdList = createUserIdList;
return this; return this;
} }
/** /**
* 设置 创建用户 * 设置 创建用户
* @param createUserIdNotList * @param createUserIdNotList
*/ */
public JobQuery createUserIdNotList(List<Long> createUserIdNotList){ public JobQuery createUserIdNotList(List<Long> createUserIdNotList){
this.createUserIdNotList = createUserIdNotList; this.createUserIdNotList = createUserIdNotList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserId * @param updateUserId
*/ */
public JobQuery updateUserId(Long updateUserId){ public JobQuery updateUserId(Long updateUserId){
setUpdateUserId(updateUserId); setUpdateUserId(updateUserId);
return this; return this;
} }
/** /**
* 设置 开始 更新用户 * 设置 开始 更新用户
* @param updateUserIdStart * @param updateUserIdStart
*/ */
public JobQuery updateUserIdStart(Long updateUserIdStart){ public JobQuery updateUserIdStart(Long updateUserIdStart){
this.updateUserIdStart = updateUserIdStart; this.updateUserIdStart = updateUserIdStart;
return this; return this;
} }
/** /**
* 设置 结束 更新用户 * 设置 结束 更新用户
* @param updateUserIdEnd * @param updateUserIdEnd
*/ */
public JobQuery updateUserIdEnd(Long updateUserIdEnd){ public JobQuery updateUserIdEnd(Long updateUserIdEnd){
this.updateUserIdEnd = updateUserIdEnd; this.updateUserIdEnd = updateUserIdEnd;
return this; return this;
} }
/** /**
* 设置 增加 更新用户 * 设置 增加 更新用户
* @param updateUserIdIncrement * @param updateUserIdIncrement
*/ */
public JobQuery updateUserIdIncrement(Long updateUserIdIncrement){ public JobQuery updateUserIdIncrement(Long updateUserIdIncrement){
this.updateUserIdIncrement = updateUserIdIncrement; this.updateUserIdIncrement = updateUserIdIncrement;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdList * @param updateUserIdList
*/ */
public JobQuery updateUserIdList(List<Long> updateUserIdList){ public JobQuery updateUserIdList(List<Long> updateUserIdList){
this.updateUserIdList = updateUserIdList; this.updateUserIdList = updateUserIdList;
return this; return this;
} }
/** /**
* 设置 更新用户 * 设置 更新用户
* @param updateUserIdNotList * @param updateUserIdNotList
*/ */
public JobQuery updateUserIdNotList(List<Long> updateUserIdNotList){ public JobQuery updateUserIdNotList(List<Long> updateUserIdNotList){
this.updateUserIdNotList = updateUserIdNotList; this.updateUserIdNotList = updateUserIdNotList;
return this; return this;
} }
/** /**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 设置 节点类型(1.分组,2.职位)
* @return orConditionList * @param type
*/ */
public JobQuery type(Integer type){
setType(type);
return this;
}
/**
* 设置 开始 节点类型(1.分组,2.职位)
* @param typeStart
*/
public JobQuery typeStart(Integer typeStart){
this.typeStart = typeStart;
return this;
}
/**
* 设置 结束 节点类型(1.分组,2.职位)
* @param typeEnd
*/
public JobQuery typeEnd(Integer typeEnd){
this.typeEnd = typeEnd;
return this;
}
/**
* 设置 增加 节点类型(1.分组,2.职位)
* @param typeIncrement
*/
public JobQuery typeIncrement(Integer typeIncrement){
this.typeIncrement = typeIncrement;
return this;
}
/**
* 设置 节点类型(1.分组,2.职位)
* @param typeList
*/
public JobQuery typeList(List<Integer> typeList){
this.typeList = typeList;
return this;
}
/**
* 设置 节点类型(1.分组,2.职位)
* @param typeNotList
*/
public JobQuery typeNotList(List<Integer> typeNotList){
this.typeNotList = typeNotList;
return this;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public List<JobQuery> getOrConditionList(){ public List<JobQuery> getOrConditionList(){
return this.orConditionList; return this.orConditionList;
} }
/** /**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) * 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList * @param orConditionList
*/ */
public void setOrConditionList(List<JobQuery> orConditionList){ public void setOrConditionList(List<JobQuery> orConditionList){
this.orConditionList = orConditionList; this.orConditionList = orConditionList;
} }
/** /**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList * @return andConditionList
*/ */
public List<JobQuery> getAndConditionList(){ public List<JobQuery> getAndConditionList(){
return this.andConditionList; return this.andConditionList;
} }
/** /**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) * 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList * @param andConditionList
*/ */
public void setAndConditionList(List<JobQuery> andConditionList){ public void setAndConditionList(List<JobQuery> andConditionList){
this.andConditionList = andConditionList; this.andConditionList = andConditionList;
} }
......
...@@ -51,4 +51,9 @@ public interface StaffDao extends ICRUDDao<StaffEntity,Long>{ ...@@ -51,4 +51,9 @@ public interface StaffDao extends ICRUDDao<StaffEntity,Long>{
* 兼职 * 兼职
* */ * */
int queryConcurrently(); int queryConcurrently();
/**
* 查询职位
* */
List<StaffEntity> queryDetp();
} }
...@@ -53,4 +53,11 @@ public class StaffDaoImpl extends BaseCRUDDaoMybatis<StaffEntity,Long> implement ...@@ -53,4 +53,11 @@ public class StaffDaoImpl extends BaseCRUDDaoMybatis<StaffEntity,Long> implement
return this.getSqlSession().selectOne(this.getSqlId("queryConcurrently")); return this.getSqlSession().selectOne(this.getSqlId("queryConcurrently"));
} }
@Override
public List<StaffEntity> queryDetp(){
return this.getSqlSession().selectList(this.getSqlId("queryDetp"));
}
} }
...@@ -2,6 +2,8 @@ package com.mortals.xhx.module.staff.model.vo; ...@@ -2,6 +2,8 @@ package com.mortals.xhx.module.staff.model.vo;
import lombok.Data; import lombok.Data;
import java.util.Date;
@Data @Data
public class StaffInfoVo { public class StaffInfoVo {
...@@ -19,4 +21,7 @@ public class StaffInfoVo { ...@@ -19,4 +21,7 @@ public class StaffInfoVo {
private Integer resignationStaff; private Integer resignationStaff;
//兼职 //兼职
private Integer concurrentlyStaff; private Integer concurrentlyStaff;
//刷新时间
private Date refreshDate;
} }
...@@ -3,6 +3,8 @@ import com.mortals.framework.service.ICRUDCacheService; ...@@ -3,6 +3,8 @@ import com.mortals.framework.service.ICRUDCacheService;
import com.mortals.xhx.module.staff.model.StaffEntity; import com.mortals.xhx.module.staff.model.StaffEntity;
import com.mortals.xhx.module.staff.model.vo.StaffInfoVo; import com.mortals.xhx.module.staff.model.vo.StaffInfoVo;
import java.util.List;
/** /**
* StaffService * StaffService
* *
...@@ -14,4 +16,6 @@ import com.mortals.xhx.module.staff.model.vo.StaffInfoVo; ...@@ -14,4 +16,6 @@ import com.mortals.xhx.module.staff.model.vo.StaffInfoVo;
public interface StaffService extends ICRUDCacheService<StaffEntity,Long> { public interface StaffService extends ICRUDCacheService<StaffEntity,Long> {
StaffInfoVo queryAll(); StaffInfoVo queryAll();
List<StaffEntity> queryDept();
} }
\ No newline at end of file
...@@ -10,6 +10,8 @@ import com.mortals.xhx.module.staff.service.StaffService; ...@@ -10,6 +10,8 @@ import com.mortals.xhx.module.staff.service.StaffService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.List;
/** /**
* StaffService * StaffService
* 员工基本信息 service实现 * 员工基本信息 service实现
...@@ -53,4 +55,10 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta ...@@ -53,4 +55,10 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta
staffInfoVo.setResignationStaff(staffLeaveDao.queryResignation()); staffInfoVo.setResignationStaff(staffLeaveDao.queryResignation());
return staffInfoVo; return staffInfoVo;
} }
@Override
public List<StaffEntity> queryDept() {
return staffDao.queryDetp();
}
} }
\ No newline at end of file
...@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors; import java.util.stream.Collectors;
...@@ -59,6 +60,7 @@ public class StaffController extends BaseCRUDJsonBodyMappingController<StaffServ ...@@ -59,6 +60,7 @@ public class StaffController extends BaseCRUDJsonBodyMappingController<StaffServ
protected int doListAfter(StaffEntity query, Map<String, Object> model, Context context) throws AppException { protected int doListAfter(StaffEntity query, Map<String, Object> model, Context context) throws AppException {
//todo 员工信息统计--员工关系统计 //todo 员工信息统计--员工关系统计
StaffInfoVo staffInfoVo = this.service.queryAll(); StaffInfoVo staffInfoVo = this.service.queryAll();
staffInfoVo.setRefreshDate(new Date());
model.put("staff", staffInfoVo); model.put("staff", staffInfoVo);
return super.doListAfter(query, model, context); return super.doListAfter(query, model, context);
} }
...@@ -94,4 +96,13 @@ public class StaffController extends BaseCRUDJsonBodyMappingController<StaffServ ...@@ -94,4 +96,13 @@ public class StaffController extends BaseCRUDJsonBodyMappingController<StaffServ
return super.infoAfter(id, model, entity, context); return super.infoAfter(id, model, entity, context);
} }
@Override
protected int saveAfter(StaffEntity entity, Map<String, Object> model, Context context) throws AppException {
return super.saveAfter(entity, model, context);
}
} }
\ No newline at end of file
package com.mortals.xhx.module.workman.web; package com.mortals.xhx.module.workman.web;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController; import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.base.system.param.service.ParamService; import com.mortals.xhx.base.system.param.service.ParamService;
import com.mortals.xhx.module.dept.model.DeptEntity;
import com.mortals.xhx.module.dept.model.DeptQuery;
import com.mortals.xhx.module.dept.service.DeptService;
import com.mortals.xhx.module.workman.model.WorkmanEntity;
import com.mortals.xhx.module.workman.service.WorkmanService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import com.mortals.framework.model.Context;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import com.mortals.xhx.module.workman.model.WorkmanEntity;
import com.mortals.xhx.module.workman.service.WorkmanService;
import org.apache.commons.lang3.ArrayUtils;
import com.mortals.framework.util.StringUtils;
import java.util.HashMap;
import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import com.alibaba.fastjson.JSONObject;
import java.util.Arrays;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import static com.mortals.framework.ap.SysConstains.*;
/** /**
* *
* 工作人员 * 工作人员
...@@ -36,14 +29,25 @@ public class WorkmanController extends BaseCRUDJsonBodyMappingController<Workman ...@@ -36,14 +29,25 @@ public class WorkmanController extends BaseCRUDJsonBodyMappingController<Workman
@Autowired @Autowired
private ParamService paramService; private ParamService paramService;
@Autowired
private DeptService deptService;
public WorkmanController(){ public WorkmanController(){
super.setModuleDesc( "工作人员"); super.setModuleDesc( "工作人员");
} }
@Override @Override
protected void init(Map<String, Object> model, Context context) { protected void init(Map<String, Object> model, Context context) {
this.addDict(model, "positionId",deptService .find(new DeptQuery()).stream().collect(Collectors.toMap(x->x.getId().toString(), y->y.getDeptName(),(o, n)->n)));
super.init(model, context); super.init(model, context);
} }
@Override
protected int saveAfter(WorkmanEntity entity, Map<String, Object> model, Context context) throws AppException {
DeptEntity deptEntity = new DeptEntity();
deptEntity.setRemark(entity.getName());
return super.saveAfter(entity, model, context);
}
} }
\ No newline at end of file
...@@ -17,8 +17,8 @@ spring: ...@@ -17,8 +17,8 @@ spring:
serialization: serialization:
WRITE_DATES_AS_TIMESTAMPS: true WRITE_DATES_AS_TIMESTAMPS: true
default-property-inclusion: NON_NULL default-property-inclusion: NON_NULL
# time-zone: GMT+8 time-zone: GMT+8
# date-format: yyyy-MM-dd HH:mm:ss date-format: yyyy-MM-dd HH:mm:ss
dao: dao:
exceptiontranslation: exceptiontranslation:
enabled: false enabled: false
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.attendance.dao.ibatis.AttendanceVacationRecordDaoImpl">
<!-- 字段和属性映射 -->
<resultMap type="AttendanceVacationRecordEntity" id="AttendanceVacationRecordEntity-Map">
<id property="id" column="id" />
<result property="staffId" column="staffId" />
<result property="staffName" column="staffName" />
<result property="type" column="type" />
<result property="subAddType" column="subAddType" />
<result property="validityPeriod" column="validityPeriod" />
<result property="subOrAddDays" column="subOrAddDays" />
<result property="content" column="content" />
<result property="rule" column="rule" />
<result property="reason" column="reason" />
<result property="remark" column="remark" />
<result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" />
</resultMap>
<!-- 表所有列 -->
<sql id="_columns">
<trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffId') or colPickMode == 1 and data.containsKey('staffId')))">
a.staffId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('staffName') or colPickMode == 1 and data.containsKey('staffName')))">
a.staffName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('type') or colPickMode == 1 and data.containsKey('type')))">
a.type,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('subAddType') or colPickMode == 1 and data.containsKey('subAddType')))">
a.subAddType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('validityPeriod') or colPickMode == 1 and data.containsKey('validityPeriod')))">
a.validityPeriod,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('subOrAddDays') or colPickMode == 1 and data.containsKey('subOrAddDays')))">
a.subOrAddDays,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('content') or colPickMode == 1 and data.containsKey('content')))">
a.content,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('rule') or colPickMode == 1 and data.containsKey('rule')))">
a.rule,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('reason') or colPickMode == 1 and data.containsKey('reason')))">
a.reason,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.remark,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
</if>
</trim>
</sql>
<!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="AttendanceVacationRecordEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_attendance_vacation_record
(staffId,staffName,type,subAddType,validityPeriod,subOrAddDays,content,rule,reason,remark,createUserId,createTime,updateUserId,updateTime)
VALUES
(#{staffId},#{staffName},#{type},#{subAddType},#{validityPeriod},#{subOrAddDays},#{content},#{rule},#{reason},#{remark},#{createUserId},#{createTime},#{updateUserId},#{updateTime})
</insert>
<!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto">
insert into mortals_xhx_attendance_vacation_record
(staffId,staffName,type,subAddType,validityPeriod,subOrAddDays,content,rule,reason,remark,createUserId,createTime,updateUserId,updateTime)
VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.staffId},#{item.staffName},#{item.type},#{item.subAddType},#{item.validityPeriod},#{item.subOrAddDays},#{item.content},#{item.rule},#{item.reason},#{item.remark},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime})
</foreach>
</insert>
<!-- 根据ParamDto更新 -->
<update id="update" parameterType="paramDto">
update mortals_xhx_attendance_vacation_record as a
set
<trim suffixOverrides="," suffix="">
<if test="(colPickMode==0 and data.containsKey('staffId')) or (colPickMode==1 and !data.containsKey('staffId'))">
a.staffId=#{data.staffId},
</if>
<if test="(colPickMode==0 and data.containsKey('staffIdIncrement')) or (colPickMode==1 and !data.containsKey('staffIdIncrement'))">
a.staffId=ifnull(a.staffId,0) + #{data.staffIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('staffName')) or (colPickMode==1 and !data.containsKey('staffName'))">
a.staffName=#{data.staffName},
</if>
<if test="(colPickMode==0 and data.containsKey('type')) or (colPickMode==1 and !data.containsKey('type'))">
a.type=#{data.type},
</if>
<if test="(colPickMode==0 and data.containsKey('typeIncrement')) or (colPickMode==1 and !data.containsKey('typeIncrement'))">
a.type=ifnull(a.type,0) + #{data.typeIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('subAddType')) or (colPickMode==1 and !data.containsKey('subAddType'))">
a.subAddType=#{data.subAddType},
</if>
<if test="(colPickMode==0 and data.containsKey('subAddTypeIncrement')) or (colPickMode==1 and !data.containsKey('subAddTypeIncrement'))">
a.subAddType=ifnull(a.subAddType,0) + #{data.subAddTypeIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('validityPeriod')) or (colPickMode==1 and !data.containsKey('validityPeriod'))">
a.validityPeriod=#{data.validityPeriod},
</if>
<if test="(colPickMode==0 and data.containsKey('subOrAddDays')) or (colPickMode==1 and !data.containsKey('subOrAddDays'))">
a.subOrAddDays=#{data.subOrAddDays},
</if>
<if test="(colPickMode==0 and data.containsKey('subOrAddDaysIncrement')) or (colPickMode==1 and !data.containsKey('subOrAddDaysIncrement'))">
a.subOrAddDays=ifnull(a.subOrAddDays,0) + #{data.subOrAddDaysIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('content')) or (colPickMode==1 and !data.containsKey('content'))">
a.content=#{data.content},
</if>
<if test="(colPickMode==0 and data.containsKey('rule')) or (colPickMode==1 and !data.containsKey('rule'))">
a.rule=#{data.rule},
</if>
<if test="(colPickMode==0 and data.containsKey('reason')) or (colPickMode==1 and !data.containsKey('reason'))">
a.reason=#{data.reason},
</if>
<if test="(colPickMode==0 and data.containsKey('remark')) or (colPickMode==1 and !data.containsKey('remark'))">
a.remark=#{data.remark},
</if>
<if test="(colPickMode==0 and data.containsKey('createUserId')) or (colPickMode==1 and !data.containsKey('createUserId'))">
a.createUserId=#{data.createUserId},
</if>
<if test="(colPickMode==0 and data.containsKey('createUserIdIncrement')) or (colPickMode==1 and !data.containsKey('createUserIdIncrement'))">
a.createUserId=ifnull(a.createUserId,0) + #{data.createUserIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('createTime')) or (colPickMode==1 and !data.containsKey('createTime'))">
a.createTime=#{data.createTime},
</if>
<if test="(colPickMode==0 and data.containsKey('updateUserId')) or (colPickMode==1 and !data.containsKey('updateUserId'))">
a.updateUserId=#{data.updateUserId},
</if>
<if test="(colPickMode==0 and data.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !data.containsKey('updateUserIdIncrement'))">
a.updateUserId=ifnull(a.updateUserId,0) + #{data.updateUserIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.updateTime=#{data.updateTime},
</if>
</trim>
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</update>
<!-- 批量更新 -->
<update id="updateBatch" parameterType="paramDto">
update mortals_xhx_attendance_vacation_record as a
<trim prefix="set" suffixOverrides=",">
<trim prefix="staffId=(case" suffix="ELSE staffId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('staffId')) or (colPickMode==1 and !item.containsKey('staffId'))">
when a.id=#{item.id} then #{item.staffId}
</when>
<when test="(colPickMode==0 and item.containsKey('staffIdIncrement')) or (colPickMode==1 and !item.containsKey('staffIdIncrement'))">
when a.id=#{item.id} then ifnull(a.staffId,0) + #{item.staffIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="staffName=(case" suffix="ELSE staffName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('staffName')) or (colPickMode==1 and !item.containsKey('staffName'))">
when a.id=#{item.id} then #{item.staffName}
</if>
</foreach>
</trim>
<trim prefix="type=(case" suffix="ELSE type end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('type')) or (colPickMode==1 and !item.containsKey('type'))">
when a.id=#{item.id} then #{item.type}
</when>
<when test="(colPickMode==0 and item.containsKey('typeIncrement')) or (colPickMode==1 and !item.containsKey('typeIncrement'))">
when a.id=#{item.id} then ifnull(a.type,0) + #{item.typeIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="subAddType=(case" suffix="ELSE subAddType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('subAddType')) or (colPickMode==1 and !item.containsKey('subAddType'))">
when a.id=#{item.id} then #{item.subAddType}
</when>
<when test="(colPickMode==0 and item.containsKey('subAddTypeIncrement')) or (colPickMode==1 and !item.containsKey('subAddTypeIncrement'))">
when a.id=#{item.id} then ifnull(a.subAddType,0) + #{item.subAddTypeIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="validityPeriod=(case" suffix="ELSE validityPeriod end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('validityPeriod')) or (colPickMode==1 and !item.containsKey('validityPeriod'))">
when a.id=#{item.id} then #{item.validityPeriod}
</if>
</foreach>
</trim>
<trim prefix="subOrAddDays=(case" suffix="ELSE subOrAddDays end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('subOrAddDays')) or (colPickMode==1 and !item.containsKey('subOrAddDays'))">
when a.id=#{item.id} then #{item.subOrAddDays}
</when>
<when test="(colPickMode==0 and item.containsKey('subOrAddDaysIncrement')) or (colPickMode==1 and !item.containsKey('subOrAddDaysIncrement'))">
when a.id=#{item.id} then ifnull(a.subOrAddDays,0) + #{item.subOrAddDaysIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="content=(case" suffix="ELSE content end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('content')) or (colPickMode==1 and !item.containsKey('content'))">
when a.id=#{item.id} then #{item.content}
</if>
</foreach>
</trim>
<trim prefix="rule=(case" suffix="ELSE rule end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('rule')) or (colPickMode==1 and !item.containsKey('rule'))">
when a.id=#{item.id} then #{item.rule}
</if>
</foreach>
</trim>
<trim prefix="reason=(case" suffix="ELSE reason end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('reason')) or (colPickMode==1 and !item.containsKey('reason'))">
when a.id=#{item.id} then #{item.reason}
</if>
</foreach>
</trim>
<trim prefix="remark=(case" suffix="ELSE remark end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))">
when a.id=#{item.id} then #{item.remark}
</if>
</foreach>
</trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime}
</if>
</foreach>
</trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
when a.id=#{item.id} then #{item.updateUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime}
</if>
</foreach>
</trim>
</trim>
where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
#{item.id}
</foreach>
</update>
<!-- 根据主健查询 -->
<select id="getByKey" parameterType="paramDto" resultMap="AttendanceVacationRecordEntity-Map">
select <include refid="_columns"/>
from mortals_xhx_attendance_vacation_record as a
where a.id=#{condition.id}
</select>
<!-- 根据主健删除 -->
<delete id="deleteByKey" parameterType="paramDto">
delete a.* from mortals_xhx_attendance_vacation_record as a where a.id=#{condition.id}
</delete>
<!-- 根据主健删除一批,针对单一主健有效 -->
<delete id="deleteByKeys">
delete from mortals_xhx_attendance_vacation_record where id in
<foreach collection="array" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据主健列表删除一批,针对单一主健有效 -->
<delete id="deleteByKeyList">
delete from mortals_xhx_attendance_vacation_record where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<!-- 根据对象列表删除一批,针对单一主健有效 -->
<delete id="deleteByEntityList">
delete from mortals_xhx_attendance_vacation_record where id in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
#{item.id}
</foreach>
</delete>
<!-- 根据paramDto删除一批 -->
<delete id="deleteByMap" parameterType="paramDto">
delete a.* from mortals_xhx_attendance_vacation_record as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</delete>
<!-- 获取列表 -->
<select id="getList" parameterType="paramDto" resultMap="AttendanceVacationRecordEntity-Map">
select <include refid="_columns"/>
from mortals_xhx_attendance_vacation_record as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
<include refid="_orderCols_"/>
</select>
<!-- 获取 -->
<select id="getListCount" parameterType="paramDto" resultType="int">
select count(1)
from mortals_xhx_attendance_vacation_record as a
<trim suffixOverrides="where" suffix="">
where
<trim prefixOverrides="and" prefix="">
<include refid="_condition_"/>
</trim>
</trim>
</select>
<!-- 条件映射 -->
<sql id="_condition_">
<if test="condition != null and !condition.isEmpty()">
<!-- 条件映射-普通条件 -->
<include refid="_condition_param_">
<property name="_conditionParam_" value="condition"/>
<property name="_conditionType_" value="and"/>
</include>
<!-- 条件映射-集合之间使用AND,集合中元素使用OR-(list[0].1 or list[0].2) and (list[1].3 or list[1].4) -->
<if test="condition.containsKey('andConditionList') and !condition.andConditionList.isEmpty()">
and
<foreach collection="condition.andConditionList" open="(" close=")" index="index" item="andCondition" separator=" and ">
<trim prefixOverrides="or" prefix="(" suffix=")">
<include refid="_condition_param_">
<property name="_conditionParam_" value="andCondition"/>
<property name="_conditionType_" value="or"/>
</include>
</trim>
</foreach>
</if>
<!-- 条件映射-集合之间使用OR,集合中元素使用AND-(list[0].1 and list[0].2) or (list[1].3 and list[1].4) -->
<if test="condition.containsKey('orConditionList') and !condition.orConditionList.isEmpty()">
and
<foreach collection="condition.orConditionList" open="(" close=")" index="index" item="orCondition" separator=" or ">
<trim prefixOverrides="and" prefix="(" suffix=")">
<include refid="_condition_param_">
<property name="_conditionParam_" value="orCondition"/>
<property name="_conditionType_" value="and"/>
</include>
</trim>
</foreach>
</if>
</if>
</sql>
<!-- 条件映射-代参数 -->
<sql id="_condition_param_">
<bind name="conditionParamRef" value="${_conditionParam_}"/>
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null">
${_conditionType_} a.id=#{${_conditionParam_}.id}
</if>
</if>
<if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('staffId')">
<if test="conditionParamRef.staffId != null ">
${_conditionType_} a.staffId = #{${_conditionParam_}.staffId}
</if>
<if test="conditionParamRef.staffId == null">
${_conditionType_} a.staffId is null
</if>
</if>
<if test="conditionParamRef.containsKey('staffIdList') and conditionParamRef.staffIdList.size() > 0">
${_conditionType_} a.staffId in
<foreach collection="conditionParamRef.staffIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('staffIdNotList') and conditionParamRef.staffIdNotList.size() > 0">
${_conditionType_} a.staffId not in
<foreach collection="conditionParamRef.staffIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('staffIdStart') and conditionParamRef.staffIdStart != null">
${_conditionType_} a.staffId <![CDATA[ >= ]]> #{${_conditionParam_}.staffIdStart}
</if>
<if test="conditionParamRef.containsKey('staffIdEnd') and conditionParamRef.staffIdEnd != null">
${_conditionType_} a.staffId <![CDATA[ <= ]]> #{${_conditionParam_}.staffIdEnd}
</if>
<if test="conditionParamRef.containsKey('staffName')">
<if test="conditionParamRef.staffName != null and conditionParamRef.staffName != ''">
${_conditionType_} a.staffName like #{${_conditionParam_}.staffName}
</if>
<if test="conditionParamRef.staffName == null">
${_conditionType_} a.staffName is null
</if>
</if>
<if test="conditionParamRef.containsKey('staffNameList') and conditionParamRef.staffNameList.size() > 0">
${_conditionType_} a.staffName in
<foreach collection="conditionParamRef.staffNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('staffNameNotList') and conditionParamRef.staffNameNotList.size() > 0">
${_conditionType_} a.staffName not in
<foreach collection="conditionParamRef.staffNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('type')">
<if test="conditionParamRef.type != null ">
${_conditionType_} a.type = #{${_conditionParam_}.type}
</if>
<if test="conditionParamRef.type == null">
${_conditionType_} a.type is null
</if>
</if>
<if test="conditionParamRef.containsKey('typeList') and conditionParamRef.typeList.size() > 0">
${_conditionType_} a.type in
<foreach collection="conditionParamRef.typeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('typeNotList') and conditionParamRef.typeNotList.size() > 0">
${_conditionType_} a.type not in
<foreach collection="conditionParamRef.typeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('typeStart') and conditionParamRef.typeStart != null">
${_conditionType_} a.type <![CDATA[ >= ]]> #{${_conditionParam_}.typeStart}
</if>
<if test="conditionParamRef.containsKey('typeEnd') and conditionParamRef.typeEnd != null">
${_conditionType_} a.type <![CDATA[ <= ]]> #{${_conditionParam_}.typeEnd}
</if>
<if test="conditionParamRef.containsKey('subAddType')">
<if test="conditionParamRef.subAddType != null ">
${_conditionType_} a.subAddType = #{${_conditionParam_}.subAddType}
</if>
<if test="conditionParamRef.subAddType == null">
${_conditionType_} a.subAddType is null
</if>
</if>
<if test="conditionParamRef.containsKey('subAddTypeList') and conditionParamRef.subAddTypeList.size() > 0">
${_conditionType_} a.subAddType in
<foreach collection="conditionParamRef.subAddTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('subAddTypeNotList') and conditionParamRef.subAddTypeNotList.size() > 0">
${_conditionType_} a.subAddType not in
<foreach collection="conditionParamRef.subAddTypeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('subAddTypeStart') and conditionParamRef.subAddTypeStart != null">
${_conditionType_} a.subAddType <![CDATA[ >= ]]> #{${_conditionParam_}.subAddTypeStart}
</if>
<if test="conditionParamRef.containsKey('subAddTypeEnd') and conditionParamRef.subAddTypeEnd != null">
${_conditionType_} a.subAddType <![CDATA[ <= ]]> #{${_conditionParam_}.subAddTypeEnd}
</if>
<if test="conditionParamRef.containsKey('validityPeriod')">
<if test="conditionParamRef.validityPeriod != null and conditionParamRef.validityPeriod != ''">
${_conditionType_} a.validityPeriod like #{${_conditionParam_}.validityPeriod}
</if>
<if test="conditionParamRef.validityPeriod == null">
${_conditionType_} a.validityPeriod is null
</if>
</if>
<if test="conditionParamRef.containsKey('validityPeriodList') and conditionParamRef.validityPeriodList.size() > 0">
${_conditionType_} a.validityPeriod in
<foreach collection="conditionParamRef.validityPeriodList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('validityPeriodNotList') and conditionParamRef.validityPeriodNotList.size() > 0">
${_conditionType_} a.validityPeriod not in
<foreach collection="conditionParamRef.validityPeriodNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('subOrAddDays')">
<if test="conditionParamRef.subOrAddDays != null ">
${_conditionType_} a.subOrAddDays = #{${_conditionParam_}.subOrAddDays}
</if>
<if test="conditionParamRef.subOrAddDays == null">
${_conditionType_} a.subOrAddDays is null
</if>
</if>
<if test="conditionParamRef.containsKey('subOrAddDaysList') and conditionParamRef.subOrAddDaysList.size() > 0">
${_conditionType_} a.subOrAddDays in
<foreach collection="conditionParamRef.subOrAddDaysList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('subOrAddDaysNotList') and conditionParamRef.subOrAddDaysNotList.size() > 0">
${_conditionType_} a.subOrAddDays not in
<foreach collection="conditionParamRef.subOrAddDaysNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('subOrAddDaysStart') and conditionParamRef.subOrAddDaysStart != null">
${_conditionType_} a.subOrAddDays <![CDATA[ >= ]]> #{${_conditionParam_}.subOrAddDaysStart}
</if>
<if test="conditionParamRef.containsKey('subOrAddDaysEnd') and conditionParamRef.subOrAddDaysEnd != null">
${_conditionType_} a.subOrAddDays <![CDATA[ <= ]]> #{${_conditionParam_}.subOrAddDaysEnd}
</if>
<if test="conditionParamRef.containsKey('content')">
<if test="conditionParamRef.content != null and conditionParamRef.content != ''">
${_conditionType_} a.content like #{${_conditionParam_}.content}
</if>
<if test="conditionParamRef.content == null">
${_conditionType_} a.content is null
</if>
</if>
<if test="conditionParamRef.containsKey('contentList') and conditionParamRef.contentList.size() > 0">
${_conditionType_} a.content in
<foreach collection="conditionParamRef.contentList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('contentNotList') and conditionParamRef.contentNotList.size() > 0">
${_conditionType_} a.content not in
<foreach collection="conditionParamRef.contentNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('rule')">
<if test="conditionParamRef.rule != null and conditionParamRef.rule != ''">
${_conditionType_} a.rule like #{${_conditionParam_}.rule}
</if>
<if test="conditionParamRef.rule == null">
${_conditionType_} a.rule is null
</if>
</if>
<if test="conditionParamRef.containsKey('ruleList') and conditionParamRef.ruleList.size() > 0">
${_conditionType_} a.rule in
<foreach collection="conditionParamRef.ruleList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('ruleNotList') and conditionParamRef.ruleNotList.size() > 0">
${_conditionType_} a.rule not in
<foreach collection="conditionParamRef.ruleNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reason')">
<if test="conditionParamRef.reason != null and conditionParamRef.reason != ''">
${_conditionType_} a.reason like #{${_conditionParam_}.reason}
</if>
<if test="conditionParamRef.reason == null">
${_conditionType_} a.reason is null
</if>
</if>
<if test="conditionParamRef.containsKey('reasonList') and conditionParamRef.reasonList.size() > 0">
${_conditionType_} a.reason in
<foreach collection="conditionParamRef.reasonList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('reasonNotList') and conditionParamRef.reasonNotList.size() > 0">
${_conditionType_} a.reason not in
<foreach collection="conditionParamRef.reasonNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remark')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''">
${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</if>
<if test="conditionParamRef.remark == null">
${_conditionType_} a.remark is null
</if>
</if>
<if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if>
<if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
</sql>
<sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()">
order by
<trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
${item.colName} ${item.sortKind}
</foreach>
</trim>
</if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by
<trim suffixOverrides="," suffix="">
<if test="orderCol.containsKey('id')">
a.id
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('staffId')">
a.staffId
<if test='orderCol.staffId != null and "DESC".equalsIgnoreCase(orderCol.staffId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('staffName')">
a.staffName
<if test='orderCol.staffName != null and "DESC".equalsIgnoreCase(orderCol.staffName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('type')">
a.type
<if test='orderCol.type != null and "DESC".equalsIgnoreCase(orderCol.type)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('subAddType')">
a.subAddType
<if test='orderCol.subAddType != null and "DESC".equalsIgnoreCase(orderCol.subAddType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('validityPeriod')">
a.validityPeriod
<if test='orderCol.validityPeriod != null and "DESC".equalsIgnoreCase(orderCol.validityPeriod)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('subOrAddDays')">
a.subOrAddDays
<if test='orderCol.subOrAddDays != null and "DESC".equalsIgnoreCase(orderCol.subOrAddDays)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('content')">
a.content
<if test='orderCol.content != null and "DESC".equalsIgnoreCase(orderCol.content)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('rule')">
a.rule
<if test='orderCol.rule != null and "DESC".equalsIgnoreCase(orderCol.rule)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('reason')">
a.reason
<if test='orderCol.reason != null and "DESC".equalsIgnoreCase(orderCol.reason)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('remark')">
a.remark
<if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createUserId')">
a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createTime')">
a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateUserId')">
a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateTime')">
a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
</trim>
</if>
</sql>
<sql id="_group_by_">
<if test="groupList != null and !groupList.isEmpty()">
GROUP BY
<trim suffixOverrides="," suffix="">
<foreach collection="groupList" open="" close="" index="index" item="item" separator=",">
${item}
</foreach>
</trim>
</if>
</sql>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd"> "mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.dept.dao.ibatis.DeptDaoImpl"> <mapper namespace="com.mortals.xhx.module.dept.dao.ibatis.DeptDaoImpl">
<!-- 字段和属性映射 --> <!-- 字段和属性映射 -->
<resultMap type="DeptEntity" id="DeptEntity-Map"> <resultMap type="DeptEntity" id="DeptEntity-Map">
<id property="id" column="id" /> <id property="id" column="id" />
<result property="parentId" column="parentId" /> <result property="parentId" column="parentId" />
<result property="ancestors" column="ancestors" /> <result property="ancestors" column="ancestors" />
<result property="deptName" column="deptName" /> <result property="deptName" column="deptName" />
<result property="deptStatus" column="deptStatus" /> <result property="deptCode" column="deptCode" />
<result property="orderNum" column="orderNum" /> <result property="deptStatus" column="deptStatus" />
<result property="remark" column="remark" /> <result property="orderNum" column="orderNum" />
<result property="createUserId" column="createUserId" /> <result property="personNum" column="personNum" />
<result property="createTime" column="createTime" /> <result property="workId" column="workId" />
<result property="updateUserId" column="updateUserId" /> <result property="workName" column="workName" />
<result property="updateTime" column="updateTime" /> <result property="remark" column="remark" />
<result property="createUserId" column="createUserId" />
<result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" />
</resultMap> </resultMap>
<!-- 表所有列 --> <!-- 表所有列 -->
<sql id="_columns"> <sql id="_columns">
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id, a.id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('parentId') or colPickMode == 1 and data.containsKey('parentId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('parentId') or colPickMode == 1 and data.containsKey('parentId')))">
a.parentId, a.parentId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('ancestors') or colPickMode == 1 and data.containsKey('ancestors')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('ancestors') or colPickMode == 1 and data.containsKey('ancestors')))">
a.ancestors, a.ancestors,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptName') or colPickMode == 1 and data.containsKey('deptName')))">
a.deptName, a.deptName,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptStatus') or colPickMode == 1 and data.containsKey('deptStatus')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptCode') or colPickMode == 1 and data.containsKey('deptCode')))">
a.deptStatus, a.deptCode,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('orderNum') or colPickMode == 1 and data.containsKey('orderNum')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('deptStatus') or colPickMode == 1 and data.containsKey('deptStatus')))">
a.orderNum, a.deptStatus,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('orderNum') or colPickMode == 1 and data.containsKey('orderNum')))">
a.remark, a.orderNum,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('personNum') or colPickMode == 1 and data.containsKey('personNum')))">
a.createUserId, a.personNum,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('workId') or colPickMode == 1 and data.containsKey('workId')))">
a.createTime, a.workId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('workName') or colPickMode == 1 and data.containsKey('workName')))">
a.updateUserId, a.workName,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.updateTime, a.remark,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime,
</if>
</trim> </trim>
</sql> </sql>
<!-- 新增 区分主键自增加还是业务插入 --> <!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="DeptEntity" useGeneratedKeys="true" keyProperty="id"> <insert id="insert" parameterType="DeptEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_dept insert into mortals_xhx_dept
(parentId,ancestors,deptName,deptStatus,orderNum,remark,createUserId,createTime,updateUserId,updateTime) (parentId,ancestors,deptName,deptCode,deptStatus,orderNum,personNum,workId,workName,remark,createUserId,createTime,updateUserId,updateTime)
VALUES VALUES
(#{parentId},#{ancestors},#{deptName},#{deptStatus},#{orderNum},#{remark},#{createUserId},#{createTime},#{updateUserId},#{updateTime}) (#{parentId},#{ancestors},#{deptName},#{deptCode},#{deptStatus},#{orderNum},#{personNum},#{workId},#{workName},#{remark},#{createUserId},#{createTime},#{updateUserId},#{updateTime})
</insert> </insert>
<!-- 批量新增 --> <!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto"> <insert id="insertBatch" parameterType="paramDto">
insert into mortals_xhx_dept insert into mortals_xhx_dept
(parentId,ancestors,deptName,deptStatus,orderNum,remark,createUserId,createTime,updateUserId,updateTime) (parentId,ancestors,deptName,deptCode,deptStatus,orderNum,personNum,workId,workName,remark,createUserId,createTime,updateUserId,updateTime)
VALUES VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," > <foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.parentId},#{item.ancestors},#{item.deptName},#{item.deptStatus},#{item.orderNum},#{item.remark},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime}) (#{item.parentId},#{item.ancestors},#{item.deptName},#{item.deptCode},#{item.deptStatus},#{item.orderNum},#{item.personNum},#{item.workId},#{item.workName},#{item.remark},#{item.createUserId},#{item.createTime},#{item.updateUserId},#{item.updateTime})
</foreach> </foreach>
</insert> </insert>
...@@ -94,6 +110,9 @@ ...@@ -94,6 +110,9 @@
<if test="(colPickMode==0 and data.containsKey('deptName')) or (colPickMode==1 and !data.containsKey('deptName'))"> <if test="(colPickMode==0 and data.containsKey('deptName')) or (colPickMode==1 and !data.containsKey('deptName'))">
a.deptName=#{data.deptName}, a.deptName=#{data.deptName},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('deptCode')) or (colPickMode==1 and !data.containsKey('deptCode'))">
a.deptCode=#{data.deptCode},
</if>
<if test="(colPickMode==0 and data.containsKey('deptStatus')) or (colPickMode==1 and !data.containsKey('deptStatus'))"> <if test="(colPickMode==0 and data.containsKey('deptStatus')) or (colPickMode==1 and !data.containsKey('deptStatus'))">
a.deptStatus=#{data.deptStatus}, a.deptStatus=#{data.deptStatus},
</if> </if>
...@@ -106,6 +125,21 @@ ...@@ -106,6 +125,21 @@
<if test="(colPickMode==0 and data.containsKey('orderNumIncrement')) or (colPickMode==1 and !data.containsKey('orderNumIncrement'))"> <if test="(colPickMode==0 and data.containsKey('orderNumIncrement')) or (colPickMode==1 and !data.containsKey('orderNumIncrement'))">
a.orderNum=ifnull(a.orderNum,0) + #{data.orderNumIncrement}, a.orderNum=ifnull(a.orderNum,0) + #{data.orderNumIncrement},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('personNum')) or (colPickMode==1 and !data.containsKey('personNum'))">
a.personNum=#{data.personNum},
</if>
<if test="(colPickMode==0 and data.containsKey('personNumIncrement')) or (colPickMode==1 and !data.containsKey('personNumIncrement'))">
a.personNum=ifnull(a.personNum,0) + #{data.personNumIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('workId')) or (colPickMode==1 and !data.containsKey('workId'))">
a.workId=#{data.workId},
</if>
<if test="(colPickMode==0 and data.containsKey('workIdIncrement')) or (colPickMode==1 and !data.containsKey('workIdIncrement'))">
a.workId=ifnull(a.workId,0) + #{data.workIdIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('workName')) or (colPickMode==1 and !data.containsKey('workName'))">
a.workName=#{data.workName},
</if>
<if test="(colPickMode==0 and data.containsKey('remark')) or (colPickMode==1 and !data.containsKey('remark'))"> <if test="(colPickMode==0 and data.containsKey('remark')) or (colPickMode==1 and !data.containsKey('remark'))">
a.remark=#{data.remark}, a.remark=#{data.remark},
</if> </if>
...@@ -139,101 +173,139 @@ ...@@ -139,101 +173,139 @@
<update id="updateBatch" parameterType="paramDto"> <update id="updateBatch" parameterType="paramDto">
update mortals_xhx_dept as a update mortals_xhx_dept as a
<trim prefix="set" suffixOverrides=","> <trim prefix="set" suffixOverrides=",">
<trim prefix="parentId=(case" suffix="ELSE parentId end),"> <trim prefix="parentId=(case" suffix="ELSE parentId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('parentId')) or (colPickMode==1 and !item.containsKey('parentId'))"> <when test="(colPickMode==0 and item.containsKey('parentId')) or (colPickMode==1 and !item.containsKey('parentId'))">
when a.id=#{item.id} then #{item.parentId} when a.id=#{item.id} then #{item.parentId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('parentIdIncrement')) or (colPickMode==1 and !item.containsKey('parentIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('parentIdIncrement')) or (colPickMode==1 and !item.containsKey('parentIdIncrement'))">
when a.id=#{item.id} then ifnull(a.parentId,0) + #{item.parentIdIncrement} when a.id=#{item.id} then ifnull(a.parentId,0) + #{item.parentIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="ancestors=(case" suffix="ELSE ancestors end),"> <trim prefix="ancestors=(case" suffix="ELSE ancestors end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('ancestors')) or (colPickMode==1 and !item.containsKey('ancestors'))"> <if test="(colPickMode==0 and item.containsKey('ancestors')) or (colPickMode==1 and !item.containsKey('ancestors'))">
when a.id=#{item.id} then #{item.ancestors} when a.id=#{item.id} then #{item.ancestors}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="deptName=(case" suffix="ELSE deptName end),"> <trim prefix="deptName=(case" suffix="ELSE deptName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('deptName')) or (colPickMode==1 and !item.containsKey('deptName'))"> <if test="(colPickMode==0 and item.containsKey('deptName')) or (colPickMode==1 and !item.containsKey('deptName'))">
when a.id=#{item.id} then #{item.deptName} when a.id=#{item.id} then #{item.deptName}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="deptStatus=(case" suffix="ELSE deptStatus end),"> <trim prefix="deptCode=(case" suffix="ELSE deptCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <if test="(colPickMode==0 and item.containsKey('deptCode')) or (colPickMode==1 and !item.containsKey('deptCode'))">
<when test="(colPickMode==0 and item.containsKey('deptStatus')) or (colPickMode==1 and !item.containsKey('deptStatus'))"> when a.id=#{item.id} then #{item.deptCode}
when a.id=#{item.id} then #{item.deptStatus} </if>
</when> </foreach>
<when test="(colPickMode==0 and item.containsKey('deptStatusIncrement')) or (colPickMode==1 and !item.containsKey('deptStatusIncrement'))"> </trim>
when a.id=#{item.id} then ifnull(a.deptStatus,0) + #{item.deptStatusIncrement} <trim prefix="deptStatus=(case" suffix="ELSE deptStatus end),">
</when> <foreach collection="data.dataList" item="item" index="index" separator="" >
</choose> <choose>
</foreach> <when test="(colPickMode==0 and item.containsKey('deptStatus')) or (colPickMode==1 and !item.containsKey('deptStatus'))">
</trim> when a.id=#{item.id} then #{item.deptStatus}
<trim prefix="orderNum=(case" suffix="ELSE orderNum end),"> </when>
<foreach collection="data.dataList" item="item" index="index" separator="" > <when test="(colPickMode==0 and item.containsKey('deptStatusIncrement')) or (colPickMode==1 and !item.containsKey('deptStatusIncrement'))">
<choose> when a.id=#{item.id} then ifnull(a.deptStatus,0) + #{item.deptStatusIncrement}
<when test="(colPickMode==0 and item.containsKey('orderNum')) or (colPickMode==1 and !item.containsKey('orderNum'))"> </when>
when a.id=#{item.id} then #{item.orderNum} </choose>
</when> </foreach>
<when test="(colPickMode==0 and item.containsKey('orderNumIncrement')) or (colPickMode==1 and !item.containsKey('orderNumIncrement'))"> </trim>
when a.id=#{item.id} then ifnull(a.orderNum,0) + #{item.orderNumIncrement} <trim prefix="orderNum=(case" suffix="ELSE orderNum end),">
</when> <foreach collection="data.dataList" item="item" index="index" separator="" >
</choose> <choose>
</foreach> <when test="(colPickMode==0 and item.containsKey('orderNum')) or (colPickMode==1 and !item.containsKey('orderNum'))">
</trim> when a.id=#{item.id} then #{item.orderNum}
<trim prefix="remark=(case" suffix="ELSE remark end),"> </when>
<foreach collection="data.dataList" item="item" index="index" separator="" > <when test="(colPickMode==0 and item.containsKey('orderNumIncrement')) or (colPickMode==1 and !item.containsKey('orderNumIncrement'))">
<if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))"> when a.id=#{item.id} then ifnull(a.orderNum,0) + #{item.orderNumIncrement}
when a.id=#{item.id} then #{item.remark} </when>
</if> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),"> <trim prefix="personNum=(case" suffix="ELSE personNum end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))"> <when test="(colPickMode==0 and item.containsKey('personNum')) or (colPickMode==1 and !item.containsKey('personNum'))">
when a.id=#{item.id} then #{item.createUserId} when a.id=#{item.id} then #{item.personNum}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('personNumIncrement')) or (colPickMode==1 and !item.containsKey('personNumIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement} when a.id=#{item.id} then ifnull(a.personNum,0) + #{item.personNumIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),"> <trim prefix="workId=(case" suffix="ELSE workId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))"> <choose>
when a.id=#{item.id} then #{item.createTime} <when test="(colPickMode==0 and item.containsKey('workId')) or (colPickMode==1 and !item.containsKey('workId'))">
</if> when a.id=#{item.id} then #{item.workId}
</foreach> </when>
</trim> <when test="(colPickMode==0 and item.containsKey('workIdIncrement')) or (colPickMode==1 and !item.containsKey('workIdIncrement'))">
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),"> when a.id=#{item.id} then ifnull(a.workId,0) + #{item.workIdIncrement}
<foreach collection="data.dataList" item="item" index="index" separator="" > </when>
<choose> </choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))"> </foreach>
when a.id=#{item.id} then #{item.updateUserId} </trim>
</when> <trim prefix="workName=(case" suffix="ELSE workName end),">
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))"> <foreach collection="data.dataList" item="item" index="index" separator="" >
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement} <if test="(colPickMode==0 and item.containsKey('workName')) or (colPickMode==1 and !item.containsKey('workName'))">
</when> when a.id=#{item.id} then #{item.workName}
</choose> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),"> <trim prefix="remark=(case" suffix="ELSE remark end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))"> <if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))">
when a.id=#{item.id} then #{item.updateTime} when a.id=#{item.id} then #{item.remark}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime}
</if>
</foreach>
</trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
when a.id=#{item.id} then #{item.updateUserId}
</when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime}
</if>
</foreach>
</trim>
</trim> </trim>
where id in where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")"> <foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
...@@ -354,329 +426,445 @@ ...@@ -354,329 +426,445 @@
${_conditionType_} a.id=#{${_conditionParam_}.id} ${_conditionType_} a.id=#{${_conditionParam_}.id}
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('id')"> <if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null "> <if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id} ${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if> </if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null"> <if test="conditionParamRef.id == null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd} ${_conditionType_} a.id is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('parentId')"> <if test="conditionParamRef.containsKey('parentId')">
<if test="conditionParamRef.parentId != null "> <if test="conditionParamRef.parentId != null ">
${_conditionType_} a.parentId = #{${_conditionParam_}.parentId} ${_conditionType_} a.parentId = #{${_conditionParam_}.parentId}
</if>
<if test="conditionParamRef.parentId == null">
${_conditionType_} a.parentId is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('parentIdList') and conditionParamRef.parentIdList.size() > 0"> <if test="conditionParamRef.parentId == null">
${_conditionType_} a.parentId in ${_conditionType_} a.parentId is null
<foreach collection="conditionParamRef.parentIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('parentIdNotList') and conditionParamRef.parentIdNotList.size() > 0">
${_conditionType_} a.parentId not in
<foreach collection="conditionParamRef.parentIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('parentIdStart') and conditionParamRef.parentIdStart != null">
${_conditionType_} a.parentId <![CDATA[ >= ]]> #{${_conditionParam_}.parentIdStart}
</if>
<if test="conditionParamRef.containsKey('parentIdEnd') and conditionParamRef.parentIdEnd != null">
${_conditionType_} a.parentId <![CDATA[ <= ]]> #{${_conditionParam_}.parentIdEnd}
</if> </if>
</if>
<if test="conditionParamRef.containsKey('parentIdList') and conditionParamRef.parentIdList.size() > 0">
${_conditionType_} a.parentId in
<foreach collection="conditionParamRef.parentIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('parentIdNotList') and conditionParamRef.parentIdNotList.size() > 0">
${_conditionType_} a.parentId not in
<foreach collection="conditionParamRef.parentIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('parentIdStart') and conditionParamRef.parentIdStart != null">
${_conditionType_} a.parentId <![CDATA[ >= ]]> #{${_conditionParam_}.parentIdStart}
</if>
<if test="conditionParamRef.containsKey('parentIdEnd') and conditionParamRef.parentIdEnd != null">
${_conditionType_} a.parentId <![CDATA[ <= ]]> #{${_conditionParam_}.parentIdEnd}
</if>
<if test="conditionParamRef.containsKey('ancestors')"> <if test="conditionParamRef.containsKey('ancestors')">
<if test="conditionParamRef.ancestors != null and conditionParamRef.ancestors != ''"> <if test="conditionParamRef.ancestors != null and conditionParamRef.ancestors != ''">
${_conditionType_} a.ancestors like #{${_conditionParam_}.ancestors} ${_conditionType_} a.ancestors like #{${_conditionParam_}.ancestors}
</if>
<if test="conditionParamRef.ancestors == null">
${_conditionType_} a.ancestors is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('ancestorsList') and conditionParamRef.ancestorsList.size() > 0"> <if test="conditionParamRef.ancestors == null">
${_conditionType_} a.ancestors in ${_conditionType_} a.ancestors is null
<foreach collection="conditionParamRef.ancestorsList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('ancestorsNotList') and conditionParamRef.ancestorsNotList.size() > 0">
${_conditionType_} a.ancestors not in
<foreach collection="conditionParamRef.ancestorsNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('ancestorsList') and conditionParamRef.ancestorsList.size() > 0">
${_conditionType_} a.ancestors in
<foreach collection="conditionParamRef.ancestorsList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('ancestorsNotList') and conditionParamRef.ancestorsNotList.size() > 0">
${_conditionType_} a.ancestors not in
<foreach collection="conditionParamRef.ancestorsNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptName')"> <if test="conditionParamRef.containsKey('deptName')">
<if test="conditionParamRef.deptName != null and conditionParamRef.deptName != ''"> <if test="conditionParamRef.deptName != null and conditionParamRef.deptName != ''">
${_conditionType_} a.deptName like #{${_conditionParam_}.deptName} ${_conditionType_} a.deptName like #{${_conditionParam_}.deptName}
</if>
<if test="conditionParamRef.deptName == null">
${_conditionType_} a.deptName is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('deptNameList') and conditionParamRef.deptNameList.size() > 0"> <if test="conditionParamRef.deptName == null">
${_conditionType_} a.deptName in ${_conditionType_} a.deptName is null
<foreach collection="conditionParamRef.deptNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('deptNameNotList') and conditionParamRef.deptNameNotList.size() > 0"> </if>
${_conditionType_} a.deptName not in <if test="conditionParamRef.containsKey('deptNameList') and conditionParamRef.deptNameList.size() > 0">
<foreach collection="conditionParamRef.deptNameNotList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.deptName in
#{item} <foreach collection="conditionParamRef.deptNameList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptNameNotList') and conditionParamRef.deptNameNotList.size() > 0">
${_conditionType_} a.deptName not in
<foreach collection="conditionParamRef.deptNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptCode')">
<if test="conditionParamRef.deptCode != null and conditionParamRef.deptCode != ''">
${_conditionType_} a.deptCode like #{${_conditionParam_}.deptCode}
</if> </if>
<if test="conditionParamRef.containsKey('deptStatus')"> <if test="conditionParamRef.deptCode == null">
<if test="conditionParamRef.deptStatus != null "> ${_conditionType_} a.deptCode is null
${_conditionType_} a.deptStatus = #{${_conditionParam_}.deptStatus}
</if>
<if test="conditionParamRef.deptStatus == null">
${_conditionType_} a.deptStatus is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('deptStatusList') and conditionParamRef.deptStatusList.size() > 0"> </if>
${_conditionType_} a.deptStatus in <if test="conditionParamRef.containsKey('deptCodeList') and conditionParamRef.deptCodeList.size() > 0">
<foreach collection="conditionParamRef.deptStatusList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.deptCode in
#{item} <foreach collection="conditionParamRef.deptCodeList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptCodeNotList') and conditionParamRef.deptCodeNotList.size() > 0">
${_conditionType_} a.deptCode not in
<foreach collection="conditionParamRef.deptCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptStatus')">
<if test="conditionParamRef.deptStatus != null ">
${_conditionType_} a.deptStatus = #{${_conditionParam_}.deptStatus}
</if> </if>
<if test="conditionParamRef.containsKey('deptStatusNotList') and conditionParamRef.deptStatusNotList.size() > 0"> <if test="conditionParamRef.deptStatus == null">
${_conditionType_} a.deptStatus not in ${_conditionType_} a.deptStatus is null
<foreach collection="conditionParamRef.deptStatusNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('deptStatusStart') and conditionParamRef.deptStatusStart != null"> </if>
${_conditionType_} a.deptStatus <![CDATA[ >= ]]> #{${_conditionParam_}.deptStatusStart} <if test="conditionParamRef.containsKey('deptStatusList') and conditionParamRef.deptStatusList.size() > 0">
${_conditionType_} a.deptStatus in
<foreach collection="conditionParamRef.deptStatusList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptStatusNotList') and conditionParamRef.deptStatusNotList.size() > 0">
${_conditionType_} a.deptStatus not in
<foreach collection="conditionParamRef.deptStatusNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('deptStatusStart') and conditionParamRef.deptStatusStart != null">
${_conditionType_} a.deptStatus <![CDATA[ >= ]]> #{${_conditionParam_}.deptStatusStart}
</if>
<if test="conditionParamRef.containsKey('deptStatusEnd') and conditionParamRef.deptStatusEnd != null">
${_conditionType_} a.deptStatus <![CDATA[ <= ]]> #{${_conditionParam_}.deptStatusEnd}
</if>
<if test="conditionParamRef.containsKey('orderNum')">
<if test="conditionParamRef.orderNum != null ">
${_conditionType_} a.orderNum = #{${_conditionParam_}.orderNum}
</if> </if>
<if test="conditionParamRef.containsKey('deptStatusEnd') and conditionParamRef.deptStatusEnd != null"> <if test="conditionParamRef.orderNum == null">
${_conditionType_} a.deptStatus <![CDATA[ <= ]]> #{${_conditionParam_}.deptStatusEnd} ${_conditionType_} a.orderNum is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('orderNumList') and conditionParamRef.orderNumList.size() > 0">
${_conditionType_} a.orderNum in
<foreach collection="conditionParamRef.orderNumList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('orderNumNotList') and conditionParamRef.orderNumNotList.size() > 0">
${_conditionType_} a.orderNum not in
<foreach collection="conditionParamRef.orderNumNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('orderNumStart') and conditionParamRef.orderNumStart != null">
${_conditionType_} a.orderNum <![CDATA[ >= ]]> #{${_conditionParam_}.orderNumStart}
</if>
<if test="conditionParamRef.containsKey('orderNumEnd') and conditionParamRef.orderNumEnd != null">
${_conditionType_} a.orderNum <![CDATA[ <= ]]> #{${_conditionParam_}.orderNumEnd}
</if>
<if test="conditionParamRef.containsKey('orderNum')"> <if test="conditionParamRef.containsKey('personNum')">
<if test="conditionParamRef.orderNum != null "> <if test="conditionParamRef.personNum != null ">
${_conditionType_} a.orderNum = #{${_conditionParam_}.orderNum} ${_conditionType_} a.personNum = #{${_conditionParam_}.personNum}
</if>
<if test="conditionParamRef.orderNum == null">
${_conditionType_} a.orderNum is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('orderNumList') and conditionParamRef.orderNumList.size() > 0"> <if test="conditionParamRef.personNum == null">
${_conditionType_} a.orderNum in ${_conditionType_} a.personNum is null
<foreach collection="conditionParamRef.orderNumList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('orderNumNotList') and conditionParamRef.orderNumNotList.size() > 0"> </if>
${_conditionType_} a.orderNum not in <if test="conditionParamRef.containsKey('personNumList') and conditionParamRef.personNumList.size() > 0">
<foreach collection="conditionParamRef.orderNumNotList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.personNum in
#{item} <foreach collection="conditionParamRef.personNumList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</if> </foreach>
<if test="conditionParamRef.containsKey('orderNumStart') and conditionParamRef.orderNumStart != null"> </if>
${_conditionType_} a.orderNum <![CDATA[ >= ]]> #{${_conditionParam_}.orderNumStart} <if test="conditionParamRef.containsKey('personNumNotList') and conditionParamRef.personNumNotList.size() > 0">
${_conditionType_} a.personNum not in
<foreach collection="conditionParamRef.personNumNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('personNumStart') and conditionParamRef.personNumStart != null">
${_conditionType_} a.personNum <![CDATA[ >= ]]> #{${_conditionParam_}.personNumStart}
</if>
<if test="conditionParamRef.containsKey('personNumEnd') and conditionParamRef.personNumEnd != null">
${_conditionType_} a.personNum <![CDATA[ <= ]]> #{${_conditionParam_}.personNumEnd}
</if>
<if test="conditionParamRef.containsKey('workId')">
<if test="conditionParamRef.workId != null ">
${_conditionType_} a.workId = #{${_conditionParam_}.workId}
</if> </if>
<if test="conditionParamRef.containsKey('orderNumEnd') and conditionParamRef.orderNumEnd != null"> <if test="conditionParamRef.workId == null">
${_conditionType_} a.orderNum <![CDATA[ <= ]]> #{${_conditionParam_}.orderNumEnd} ${_conditionType_} a.workId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('workIdList') and conditionParamRef.workIdList.size() > 0">
${_conditionType_} a.workId in
<foreach collection="conditionParamRef.workIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('workIdNotList') and conditionParamRef.workIdNotList.size() > 0">
${_conditionType_} a.workId not in
<foreach collection="conditionParamRef.workIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('workIdStart') and conditionParamRef.workIdStart != null">
${_conditionType_} a.workId <![CDATA[ >= ]]> #{${_conditionParam_}.workIdStart}
</if>
<if test="conditionParamRef.containsKey('workIdEnd') and conditionParamRef.workIdEnd != null">
${_conditionType_} a.workId <![CDATA[ <= ]]> #{${_conditionParam_}.workIdEnd}
</if>
<if test="conditionParamRef.containsKey('remark')"> <if test="conditionParamRef.containsKey('workName')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''"> <if test="conditionParamRef.workName != null and conditionParamRef.workName != ''">
${_conditionType_} a.remark like #{${_conditionParam_}.remark} ${_conditionType_} a.workName like #{${_conditionParam_}.workName}
</if>
<if test="conditionParamRef.remark == null">
${_conditionType_} a.remark is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0"> <if test="conditionParamRef.workName == null">
${_conditionType_} a.remark in ${_conditionType_} a.workName is null
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0"> </if>
${_conditionType_} a.createUserId in <if test="conditionParamRef.containsKey('workNameList') and conditionParamRef.workNameList.size() > 0">
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.workName in
#{item} <foreach collection="conditionParamRef.workNameList" open="(" close=")" index="index" item="item" separator=",">
</foreach> #{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('workNameNotList') and conditionParamRef.workNameNotList.size() > 0">
${_conditionType_} a.workName not in
<foreach collection="conditionParamRef.workNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remark')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''">
${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0"> <if test="conditionParamRef.remark == null">
${_conditionType_} a.createUserId not in ${_conditionType_} a.remark is null
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null"> </if>
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart} <if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null"> <if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd} ${_conditionType_} a.createUserId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('createTime')"> <if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null "> <if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime} ${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if>
<if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0"> <if test="conditionParamRef.createTime == null">
${_conditionType_} a.updateUserId not in ${_conditionType_} a.createTime is null
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null"> </if>
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart} <if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null"> <if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd} ${_conditionType_} a.updateUserId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('updateTime')"> <if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null "> <if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime} ${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if> </if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''"> <if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') ${_conditionType_} a.updateTime is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
</sql> </sql>
<sql id="_orderCols_"> <sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()"> <if test="orderColList != null and !orderColList.isEmpty()">
order by order by
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=","> <foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
${item.colName} ${item.sortKind} ${item.colName} ${item.sortKind}
</foreach> </foreach>
</trim> </trim>
</if> </if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()"> <if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by order by
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="orderCol.containsKey('id')"> <if test="orderCol.containsKey('id')">
a.id a.id
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if> <if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('parentId')"> <if test="orderCol.containsKey('parentId')">
a.parentId a.parentId
<if test='orderCol.parentId != null and "DESC".equalsIgnoreCase(orderCol.parentId)'>DESC</if> <if test='orderCol.parentId != null and "DESC".equalsIgnoreCase(orderCol.parentId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('ancestors')"> <if test="orderCol.containsKey('ancestors')">
a.ancestors a.ancestors
<if test='orderCol.ancestors != null and "DESC".equalsIgnoreCase(orderCol.ancestors)'>DESC</if> <if test='orderCol.ancestors != null and "DESC".equalsIgnoreCase(orderCol.ancestors)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('deptName')"> <if test="orderCol.containsKey('deptName')">
a.deptName a.deptName
<if test='orderCol.deptName != null and "DESC".equalsIgnoreCase(orderCol.deptName)'>DESC</if> <if test='orderCol.deptName != null and "DESC".equalsIgnoreCase(orderCol.deptName)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('deptStatus')"> <if test="orderCol.containsKey('deptCode')">
a.deptStatus a.deptCode
<if test='orderCol.deptStatus != null and "DESC".equalsIgnoreCase(orderCol.deptStatus)'>DESC</if> <if test='orderCol.deptCode != null and "DESC".equalsIgnoreCase(orderCol.deptCode)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('orderNum')"> <if test="orderCol.containsKey('deptStatus')">
a.orderNum a.deptStatus
<if test='orderCol.orderNum != null and "DESC".equalsIgnoreCase(orderCol.orderNum)'>DESC</if> <if test='orderCol.deptStatus != null and "DESC".equalsIgnoreCase(orderCol.deptStatus)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('remark')"> <if test="orderCol.containsKey('orderNum')">
a.remark a.orderNum
<if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if> <if test='orderCol.orderNum != null and "DESC".equalsIgnoreCase(orderCol.orderNum)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createUserId')"> <if test="orderCol.containsKey('personNum')">
a.createUserId a.personNum
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if> <if test='orderCol.personNum != null and "DESC".equalsIgnoreCase(orderCol.personNum)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createTime')"> <if test="orderCol.containsKey('workId')">
a.createTime a.workId
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if> <if test='orderCol.workId != null and "DESC".equalsIgnoreCase(orderCol.workId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateUserId')"> <if test="orderCol.containsKey('workName')">
a.updateUserId a.workName
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if> <if test='orderCol.workName != null and "DESC".equalsIgnoreCase(orderCol.workName)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateTime')"> <if test="orderCol.containsKey('remark')">
a.updateTime a.remark
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if> <if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createUserId')">
a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('createTime')">
a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateUserId')">
a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('updateTime')">
a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
,
</if>
</trim> </trim>
</if> </if>
</sql> </sql>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd"> "mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.job.dao.ibatis.JobDaoImpl"> <mapper namespace="com.mortals.xhx.module.job.dao.ibatis.JobDaoImpl">
<!-- 字段和属性映射 --> <!-- 字段和属性映射 -->
<resultMap type="JobEntity" id="JobEntity-Map"> <resultMap type="JobEntity" id="JobEntity-Map">
<id property="id" column="id" /> <id property="id" column="id" />
<result property="groupId" column="groupId" /> <result property="groupId" column="groupId" />
<result property="groupName" column="groupName" /> <result property="groupName" column="groupName" />
<result property="jobCode" column="jobCode" /> <result property="jobCode" column="jobCode" />
<result property="jobName" column="jobName" /> <result property="jobName" column="jobName" />
<result property="remark" column="remark" /> <result property="remark" column="remark" />
<result property="createTime" column="createTime" /> <result property="createTime" column="createTime" />
<result property="createUserId" column="createUserId" /> <result property="createUserId" column="createUserId" />
<result property="updateUserId" column="updateUserId" /> <result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" /> <result property="updateTime" column="updateTime" />
<result property="type" column="type" />
</resultMap> </resultMap>
<!-- 表所有列 --> <!-- 表所有列 -->
<sql id="_columns"> <sql id="_columns">
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('id') or colPickMode == 1 and data.containsKey('id')))">
a.id, a.id,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('groupId') or colPickMode == 1 and data.containsKey('groupId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('groupId') or colPickMode == 1 and data.containsKey('groupId')))">
a.groupId, a.groupId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('groupName') or colPickMode == 1 and data.containsKey('groupName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('groupName') or colPickMode == 1 and data.containsKey('groupName')))">
a.groupName, a.groupName,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('jobCode') or colPickMode == 1 and data.containsKey('jobCode')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('jobCode') or colPickMode == 1 and data.containsKey('jobCode')))">
a.jobCode, a.jobCode,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('jobName') or colPickMode == 1 and data.containsKey('jobName')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('jobName') or colPickMode == 1 and data.containsKey('jobName')))">
a.jobName, a.jobName,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('remark') or colPickMode == 1 and data.containsKey('remark')))">
a.remark, a.remark,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime, a.createTime,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createUserId') or colPickMode == 1 and data.containsKey('createUserId')))">
a.createUserId, a.createUserId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateUserId') or colPickMode == 1 and data.containsKey('updateUserId')))">
a.updateUserId, a.updateUserId,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('updateTime') or colPickMode == 1 and data.containsKey('updateTime')))">
a.updateTime, a.updateTime,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('type') or colPickMode == 1 and data.containsKey('type')))">
a.type,
</if>
</trim> </trim>
</sql> </sql>
<!-- 新增 区分主键自增加还是业务插入 --> <!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="JobEntity" useGeneratedKeys="true" keyProperty="id"> <insert id="insert" parameterType="JobEntity" useGeneratedKeys="true" keyProperty="id">
insert into mortals_xhx_job insert into mortals_xhx_job
(groupId,groupName,jobCode,jobName,remark,createTime,createUserId,updateUserId,updateTime) (groupId,groupName,jobCode,jobName,remark,createTime,createUserId,updateUserId,updateTime,type)
VALUES VALUES
(#{groupId},#{groupName},#{jobCode},#{jobName},#{remark},#{createTime},#{createUserId},#{updateUserId},#{updateTime}) (#{groupId},#{groupName},#{jobCode},#{jobName},#{remark},#{createTime},#{createUserId},#{updateUserId},#{updateTime},#{type})
</insert> </insert>
<!-- 批量新增 --> <!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto"> <insert id="insertBatch" parameterType="paramDto">
insert into mortals_xhx_job insert into mortals_xhx_job
(groupId,groupName,jobCode,jobName,remark,createTime,createUserId,updateUserId,updateTime) (groupId,groupName,jobCode,jobName,remark,createTime,createUserId,updateUserId,updateTime,type)
VALUES VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," > <foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.groupId},#{item.groupName},#{item.jobCode},#{item.jobName},#{item.remark},#{item.createTime},#{item.createUserId},#{item.updateUserId},#{item.updateTime}) (#{item.groupId},#{item.groupName},#{item.jobCode},#{item.jobName},#{item.remark},#{item.createTime},#{item.createUserId},#{item.updateUserId},#{item.updateTime},#{item.type})
</foreach> </foreach>
</insert> </insert>
...@@ -114,6 +118,12 @@ ...@@ -114,6 +118,12 @@
<if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))"> <if test="(colPickMode==0 and data.containsKey('updateTime')) or (colPickMode==1 and !data.containsKey('updateTime'))">
a.updateTime=#{data.updateTime}, a.updateTime=#{data.updateTime},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('type')) or (colPickMode==1 and !data.containsKey('type'))">
a.type=#{data.type},
</if>
<if test="(colPickMode==0 and data.containsKey('typeIncrement')) or (colPickMode==1 and !data.containsKey('typeIncrement'))">
a.type=ifnull(a.type,0) + #{data.typeIncrement},
</if>
</trim> </trim>
<trim suffixOverrides="where" suffix=""> <trim suffixOverrides="where" suffix="">
where where
...@@ -126,84 +136,96 @@ ...@@ -126,84 +136,96 @@
<update id="updateBatch" parameterType="paramDto"> <update id="updateBatch" parameterType="paramDto">
update mortals_xhx_job as a update mortals_xhx_job as a
<trim prefix="set" suffixOverrides=","> <trim prefix="set" suffixOverrides=",">
<trim prefix="groupId=(case" suffix="ELSE groupId end),"> <trim prefix="groupId=(case" suffix="ELSE groupId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('groupId')) or (colPickMode==1 and !item.containsKey('groupId'))"> <when test="(colPickMode==0 and item.containsKey('groupId')) or (colPickMode==1 and !item.containsKey('groupId'))">
when a.id=#{item.id} then #{item.groupId} when a.id=#{item.id} then #{item.groupId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('groupIdIncrement')) or (colPickMode==1 and !item.containsKey('groupIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('groupIdIncrement')) or (colPickMode==1 and !item.containsKey('groupIdIncrement'))">
when a.id=#{item.id} then ifnull(a.groupId,0) + #{item.groupIdIncrement} when a.id=#{item.id} then ifnull(a.groupId,0) + #{item.groupIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="groupName=(case" suffix="ELSE groupName end),"> <trim prefix="groupName=(case" suffix="ELSE groupName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('groupName')) or (colPickMode==1 and !item.containsKey('groupName'))"> <if test="(colPickMode==0 and item.containsKey('groupName')) or (colPickMode==1 and !item.containsKey('groupName'))">
when a.id=#{item.id} then #{item.groupName} when a.id=#{item.id} then #{item.groupName}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="jobCode=(case" suffix="ELSE jobCode end),"> <trim prefix="jobCode=(case" suffix="ELSE jobCode end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('jobCode')) or (colPickMode==1 and !item.containsKey('jobCode'))"> <if test="(colPickMode==0 and item.containsKey('jobCode')) or (colPickMode==1 and !item.containsKey('jobCode'))">
when a.id=#{item.id} then #{item.jobCode} when a.id=#{item.id} then #{item.jobCode}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="jobName=(case" suffix="ELSE jobName end),"> <trim prefix="jobName=(case" suffix="ELSE jobName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('jobName')) or (colPickMode==1 and !item.containsKey('jobName'))"> <if test="(colPickMode==0 and item.containsKey('jobName')) or (colPickMode==1 and !item.containsKey('jobName'))">
when a.id=#{item.id} then #{item.jobName} when a.id=#{item.id} then #{item.jobName}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="remark=(case" suffix="ELSE remark end),"> <trim prefix="remark=(case" suffix="ELSE remark end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))"> <if test="(colPickMode==0 and item.containsKey('remark')) or (colPickMode==1 and !item.containsKey('remark'))">
when a.id=#{item.id} then #{item.remark} when a.id=#{item.id} then #{item.remark}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createTime=(case" suffix="ELSE createTime end),"> <trim prefix="createTime=(case" suffix="ELSE createTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))"> <if test="(colPickMode==0 and item.containsKey('createTime')) or (colPickMode==1 and !item.containsKey('createTime'))">
when a.id=#{item.id} then #{item.createTime} when a.id=#{item.id} then #{item.createTime}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="createUserId=(case" suffix="ELSE createUserId end),"> <trim prefix="createUserId=(case" suffix="ELSE createUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))"> <when test="(colPickMode==0 and item.containsKey('createUserId')) or (colPickMode==1 and !item.containsKey('createUserId'))">
when a.id=#{item.id} then #{item.createUserId} when a.id=#{item.id} then #{item.createUserId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('createUserIdIncrement')) or (colPickMode==1 and !item.containsKey('createUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement} when a.id=#{item.id} then ifnull(a.createUserId,0) + #{item.createUserIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),"> <trim prefix="updateUserId=(case" suffix="ELSE updateUserId end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))"> <when test="(colPickMode==0 and item.containsKey('updateUserId')) or (colPickMode==1 and !item.containsKey('updateUserId'))">
when a.id=#{item.id} then #{item.updateUserId} when a.id=#{item.id} then #{item.updateUserId}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))"> <when test="(colPickMode==0 and item.containsKey('updateUserIdIncrement')) or (colPickMode==1 and !item.containsKey('updateUserIdIncrement'))">
when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement} when a.id=#{item.id} then ifnull(a.updateUserId,0) + #{item.updateUserIdIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="updateTime=(case" suffix="ELSE updateTime end),"> <trim prefix="updateTime=(case" suffix="ELSE updateTime end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))"> <if test="(colPickMode==0 and item.containsKey('updateTime')) or (colPickMode==1 and !item.containsKey('updateTime'))">
when a.id=#{item.id} then #{item.updateTime} when a.id=#{item.id} then #{item.updateTime}
</if> </if>
</foreach> </foreach>
</trim> </trim>
<trim prefix="type=(case" suffix="ELSE type end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('type')) or (colPickMode==1 and !item.containsKey('type'))">
when a.id=#{item.id} then #{item.type}
</when>
<when test="(colPickMode==0 and item.containsKey('typeIncrement')) or (colPickMode==1 and !item.containsKey('typeIncrement'))">
when a.id=#{item.id} then ifnull(a.type,0) + #{item.typeIncrement}
</when>
</choose>
</foreach>
</trim>
</trim> </trim>
where id in where id in
<foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")"> <foreach collection="data.dataList" item="item" index="index" open="(" separator="," close=")">
...@@ -320,291 +342,323 @@ ...@@ -320,291 +342,323 @@
${_conditionType_} a.id=#{${_conditionParam_}.id} ${_conditionType_} a.id=#{${_conditionParam_}.id}
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('id')"> <if test="conditionParamRef.containsKey('id')">
<if test="conditionParamRef.id != null "> <if test="conditionParamRef.id != null ">
${_conditionType_} a.id = #{${_conditionParam_}.id} ${_conditionType_} a.id = #{${_conditionParam_}.id}
</if>
<if test="conditionParamRef.id == null">
${_conditionType_} a.id is null
</if>
</if>
<if test="conditionParamRef.containsKey('idList')">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList')">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if> </if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null"> <if test="conditionParamRef.id == null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd} ${_conditionType_} a.id is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('idList') and conditionParamRef.idList.size() > 0">
${_conditionType_} a.id in
<foreach collection="conditionParamRef.idList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idNotList') and conditionParamRef.idNotList.size() > 0">
${_conditionType_} a.id not in
<foreach collection="conditionParamRef.idNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('idStart') and conditionParamRef.idStart != null">
${_conditionType_} a.id <![CDATA[ >= ]]> #{${_conditionParam_}.idStart}
</if>
<if test="conditionParamRef.containsKey('idEnd') and conditionParamRef.idEnd != null">
${_conditionType_} a.id <![CDATA[ <= ]]> #{${_conditionParam_}.idEnd}
</if>
<if test="conditionParamRef.containsKey('groupId')"> <if test="conditionParamRef.containsKey('groupId')">
<if test="conditionParamRef.groupId != null "> <if test="conditionParamRef.groupId != null ">
${_conditionType_} a.groupId = #{${_conditionParam_}.groupId} ${_conditionType_} a.groupId = #{${_conditionParam_}.groupId}
</if>
<if test="conditionParamRef.groupId == null">
${_conditionType_} a.groupId is null
</if>
</if>
<if test="conditionParamRef.containsKey('groupIdList')">
${_conditionType_} a.groupId in
<foreach collection="conditionParamRef.groupIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('groupIdNotList')">
${_conditionType_} a.groupId not in
<foreach collection="conditionParamRef.groupIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('groupIdStart') and conditionParamRef.groupIdStart != null">
${_conditionType_} a.groupId <![CDATA[ >= ]]> #{${_conditionParam_}.groupIdStart}
</if> </if>
<if test="conditionParamRef.containsKey('groupIdEnd') and conditionParamRef.groupIdEnd != null"> <if test="conditionParamRef.groupId == null">
${_conditionType_} a.groupId <![CDATA[ <= ]]> #{${_conditionParam_}.groupIdEnd} ${_conditionType_} a.groupId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('groupIdList') and conditionParamRef.groupIdList.size() > 0">
${_conditionType_} a.groupId in
<foreach collection="conditionParamRef.groupIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('groupIdNotList') and conditionParamRef.groupIdNotList.size() > 0">
${_conditionType_} a.groupId not in
<foreach collection="conditionParamRef.groupIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('groupIdStart') and conditionParamRef.groupIdStart != null">
${_conditionType_} a.groupId <![CDATA[ >= ]]> #{${_conditionParam_}.groupIdStart}
</if>
<if test="conditionParamRef.containsKey('groupIdEnd') and conditionParamRef.groupIdEnd != null">
${_conditionType_} a.groupId <![CDATA[ <= ]]> #{${_conditionParam_}.groupIdEnd}
</if>
<if test="conditionParamRef.containsKey('groupName')"> <if test="conditionParamRef.containsKey('groupName')">
<if test="conditionParamRef.groupName != null and conditionParamRef.groupName != ''"> <if test="conditionParamRef.groupName != null and conditionParamRef.groupName != ''">
${_conditionType_} a.groupName like #{${_conditionParam_}.groupName} ${_conditionType_} a.groupName like #{${_conditionParam_}.groupName}
</if>
<if test="conditionParamRef.groupName == null">
${_conditionType_} a.groupName is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('groupNameList')"> <if test="conditionParamRef.groupName == null">
${_conditionType_} a.groupName in ${_conditionType_} a.groupName is null
<foreach collection="conditionParamRef.groupNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('groupNameNotList')">
${_conditionType_} a.groupName not in
<foreach collection="conditionParamRef.groupNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('groupNameList') and conditionParamRef.groupNameList.size() > 0">
${_conditionType_} a.groupName in
<foreach collection="conditionParamRef.groupNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('groupNameNotList') and conditionParamRef.groupNameNotList.size() > 0">
${_conditionType_} a.groupName not in
<foreach collection="conditionParamRef.groupNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('jobCode')"> <if test="conditionParamRef.containsKey('jobCode')">
<if test="conditionParamRef.jobCode != null and conditionParamRef.jobCode != ''"> <if test="conditionParamRef.jobCode != null and conditionParamRef.jobCode != ''">
${_conditionType_} a.jobCode like #{${_conditionParam_}.jobCode} ${_conditionType_} a.jobCode like #{${_conditionParam_}.jobCode}
</if>
<if test="conditionParamRef.jobCode == null">
${_conditionType_} a.jobCode is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('jobCodeList')"> <if test="conditionParamRef.jobCode == null">
${_conditionType_} a.jobCode in ${_conditionType_} a.jobCode is null
<foreach collection="conditionParamRef.jobCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('jobCodeNotList')">
${_conditionType_} a.jobCode not in
<foreach collection="conditionParamRef.jobCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('jobCodeList') and conditionParamRef.jobCodeList.size() > 0">
${_conditionType_} a.jobCode in
<foreach collection="conditionParamRef.jobCodeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('jobCodeNotList') and conditionParamRef.jobCodeNotList.size() > 0">
${_conditionType_} a.jobCode not in
<foreach collection="conditionParamRef.jobCodeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('jobName')"> <if test="conditionParamRef.containsKey('jobName')">
<if test="conditionParamRef.jobName != null and conditionParamRef.jobName != ''"> <if test="conditionParamRef.jobName != null and conditionParamRef.jobName != ''">
${_conditionType_} a.jobName like #{${_conditionParam_}.jobName} ${_conditionType_} a.jobName like #{${_conditionParam_}.jobName}
</if>
<if test="conditionParamRef.jobName == null">
${_conditionType_} a.jobName is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('jobNameList')"> <if test="conditionParamRef.jobName == null">
${_conditionType_} a.jobName in ${_conditionType_} a.jobName is null
<foreach collection="conditionParamRef.jobNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('jobNameNotList')">
${_conditionType_} a.jobName not in
<foreach collection="conditionParamRef.jobNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('jobNameList') and conditionParamRef.jobNameList.size() > 0">
${_conditionType_} a.jobName in
<foreach collection="conditionParamRef.jobNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('jobNameNotList') and conditionParamRef.jobNameNotList.size() > 0">
${_conditionType_} a.jobName not in
<foreach collection="conditionParamRef.jobNameNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remark')"> <if test="conditionParamRef.containsKey('remark')">
<if test="conditionParamRef.remark != null and conditionParamRef.remark != ''"> <if test="conditionParamRef.remark != null and conditionParamRef.remark != ''">
${_conditionType_} a.remark like #{${_conditionParam_}.remark} ${_conditionType_} a.remark like #{${_conditionParam_}.remark}
</if>
<if test="conditionParamRef.remark == null">
${_conditionType_} a.remark is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('remarkList')"> <if test="conditionParamRef.remark == null">
${_conditionType_} a.remark in ${_conditionType_} a.remark is null
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remarkNotList')">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if> </if>
</if>
<if test="conditionParamRef.containsKey('remarkList') and conditionParamRef.remarkList.size() > 0">
${_conditionType_} a.remark in
<foreach collection="conditionParamRef.remarkList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('remarkNotList') and conditionParamRef.remarkNotList.size() > 0">
${_conditionType_} a.remark not in
<foreach collection="conditionParamRef.remarkNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createTime')"> <if test="conditionParamRef.containsKey('createTime')">
<if test="conditionParamRef.createTime != null "> <if test="conditionParamRef.createTime != null ">
${_conditionType_} a.createTime = #{${_conditionParam_}.createTime} ${_conditionType_} a.createTime = #{${_conditionParam_}.createTime}
</if>
<if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime is null
</if>
</if>
<if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if> </if>
<if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''"> <if test="conditionParamRef.createTime == null">
${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') ${_conditionType_} a.createTime is null
</if>
<if test="conditionParamRef.containsKey('createUserId')">
<if test="conditionParamRef.createUserId != null ">
${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</if>
<if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdList')"> </if>
${_conditionType_} a.createUserId in <if test="conditionParamRef.containsKey('createTimeStart') and conditionParamRef.createTimeStart != null and conditionParamRef.createTimeStart!=''">
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=","> ${_conditionType_} a.createTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
#{item} </if>
</foreach> <if test="conditionParamRef.containsKey('createTimeEnd') and conditionParamRef.createTimeEnd != null and conditionParamRef.createTimeEnd!=''">
</if> ${_conditionType_} a.createTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
<if test="conditionParamRef.containsKey('createUserIdNotList')"> </if>
${_conditionType_} a.createUserId not in <if test="conditionParamRef.containsKey('createUserId')">
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=","> <if test="conditionParamRef.createUserId != null ">
#{item} ${_conditionType_} a.createUserId = #{${_conditionParam_}.createUserId}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if> </if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null"> <if test="conditionParamRef.createUserId == null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd} ${_conditionType_} a.createUserId is null
</if> </if>
</if>
<if test="conditionParamRef.containsKey('createUserIdList') and conditionParamRef.createUserIdList.size() > 0">
${_conditionType_} a.createUserId in
<foreach collection="conditionParamRef.createUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdNotList') and conditionParamRef.createUserIdNotList.size() > 0">
${_conditionType_} a.createUserId not in
<foreach collection="conditionParamRef.createUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('createUserIdStart') and conditionParamRef.createUserIdStart != null">
${_conditionType_} a.createUserId <![CDATA[ >= ]]> #{${_conditionParam_}.createUserIdStart}
</if>
<if test="conditionParamRef.containsKey('createUserIdEnd') and conditionParamRef.createUserIdEnd != null">
${_conditionType_} a.createUserId <![CDATA[ <= ]]> #{${_conditionParam_}.createUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('updateUserId')"> <if test="conditionParamRef.containsKey('updateUserId')">
<if test="conditionParamRef.updateUserId != null "> <if test="conditionParamRef.updateUserId != null ">
${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId} ${_conditionType_} a.updateUserId = #{${_conditionParam_}.updateUserId}
</if>
<if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('updateUserIdList')"> <if test="conditionParamRef.updateUserId == null">
${_conditionType_} a.updateUserId in ${_conditionType_} a.updateUserId is null
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList')">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
</if> </if>
</if>
<if test="conditionParamRef.containsKey('updateUserIdList') and conditionParamRef.updateUserIdList.size() > 0">
${_conditionType_} a.updateUserId in
<foreach collection="conditionParamRef.updateUserIdList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdNotList') and conditionParamRef.updateUserIdNotList.size() > 0">
${_conditionType_} a.updateUserId not in
<foreach collection="conditionParamRef.updateUserIdNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('updateUserIdStart') and conditionParamRef.updateUserIdStart != null">
${_conditionType_} a.updateUserId <![CDATA[ >= ]]> #{${_conditionParam_}.updateUserIdStart}
</if>
<if test="conditionParamRef.containsKey('updateUserIdEnd') and conditionParamRef.updateUserIdEnd != null">
${_conditionType_} a.updateUserId <![CDATA[ <= ]]> #{${_conditionParam_}.updateUserIdEnd}
</if>
<if test="conditionParamRef.containsKey('updateTime')"> <if test="conditionParamRef.containsKey('updateTime')">
<if test="conditionParamRef.updateTime != null "> <if test="conditionParamRef.updateTime != null ">
${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime} ${_conditionType_} a.updateTime = #{${_conditionParam_}.updateTime}
</if>
<if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime is null
</if>
</if> </if>
<if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''"> <if test="conditionParamRef.updateTime == null">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s') ${_conditionType_} a.updateTime is null
</if> </if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''"> </if>
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s') <if test="conditionParamRef.containsKey('updateTimeStart') and conditionParamRef.updateTimeStart != null and conditionParamRef.updateTimeStart!=''">
${_conditionType_} a.updateTime <![CDATA[ >= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('updateTimeEnd') and conditionParamRef.updateTimeEnd != null and conditionParamRef.updateTimeEnd!=''">
${_conditionType_} a.updateTime <![CDATA[ <= ]]> STR_TO_DATE(left(concat(#{${_conditionParam_}.updateTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if test="conditionParamRef.containsKey('type')">
<if test="conditionParamRef.type != null ">
${_conditionType_} a.type = #{${_conditionParam_}.type}
</if> </if>
<if test="conditionParamRef.type == null">
${_conditionType_} a.type is null
</if>
</if>
<if test="conditionParamRef.containsKey('typeList') and conditionParamRef.typeList.size() > 0">
${_conditionType_} a.type in
<foreach collection="conditionParamRef.typeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('typeNotList') and conditionParamRef.typeNotList.size() > 0">
${_conditionType_} a.type not in
<foreach collection="conditionParamRef.typeNotList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('typeStart') and conditionParamRef.typeStart != null">
${_conditionType_} a.type <![CDATA[ >= ]]> #{${_conditionParam_}.typeStart}
</if>
<if test="conditionParamRef.containsKey('typeEnd') and conditionParamRef.typeEnd != null">
${_conditionType_} a.type <![CDATA[ <= ]]> #{${_conditionParam_}.typeEnd}
</if>
</sql> </sql>
<sql id="_orderCols_"> <sql id="_orderCols_">
<if test="orderColList != null and !orderColList.isEmpty()"> <if test="orderColList != null and !orderColList.isEmpty()">
order by order by
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=","> <foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
${item.colName} ${item.sortKind} ${item.colName} ${item.sortKind}
</foreach> </foreach>
</trim> </trim>
</if> </if>
<if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()"> <if test="(orderColList == null or orderColList.isEmpty()) and orderCol != null and !orderCol.isEmpty()">
order by order by
<trim suffixOverrides="," suffix=""> <trim suffixOverrides="," suffix="">
<if test="orderCol.containsKey('id')"> <if test="orderCol.containsKey('id')">
a.id a.id
<if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if> <if test='orderCol.id != null and "DESC".equalsIgnoreCase(orderCol.id)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('groupId')"> <if test="orderCol.containsKey('groupId')">
a.groupId a.groupId
<if test='orderCol.groupId != null and "DESC".equalsIgnoreCase(orderCol.groupId)'>DESC</if> <if test='orderCol.groupId != null and "DESC".equalsIgnoreCase(orderCol.groupId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('groupName')"> <if test="orderCol.containsKey('groupName')">
a.groupName a.groupName
<if test='orderCol.groupName != null and "DESC".equalsIgnoreCase(orderCol.groupName)'>DESC</if> <if test='orderCol.groupName != null and "DESC".equalsIgnoreCase(orderCol.groupName)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('jobCode')"> <if test="orderCol.containsKey('jobCode')">
a.jobCode a.jobCode
<if test='orderCol.jobCode != null and "DESC".equalsIgnoreCase(orderCol.jobCode)'>DESC</if> <if test='orderCol.jobCode != null and "DESC".equalsIgnoreCase(orderCol.jobCode)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('jobName')"> <if test="orderCol.containsKey('jobName')">
a.jobName a.jobName
<if test='orderCol.jobName != null and "DESC".equalsIgnoreCase(orderCol.jobName)'>DESC</if> <if test='orderCol.jobName != null and "DESC".equalsIgnoreCase(orderCol.jobName)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('remark')"> <if test="orderCol.containsKey('remark')">
a.remark a.remark
<if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if> <if test='orderCol.remark != null and "DESC".equalsIgnoreCase(orderCol.remark)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createTime')"> <if test="orderCol.containsKey('createTime')">
a.createTime a.createTime
<if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if> <if test='orderCol.createTime != null and "DESC".equalsIgnoreCase(orderCol.createTime)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createUserId')"> <if test="orderCol.containsKey('createUserId')">
a.createUserId a.createUserId
<if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if> <if test='orderCol.createUserId != null and "DESC".equalsIgnoreCase(orderCol.createUserId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateUserId')"> <if test="orderCol.containsKey('updateUserId')">
a.updateUserId a.updateUserId
<if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if> <if test='orderCol.updateUserId != null and "DESC".equalsIgnoreCase(orderCol.updateUserId)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('updateTime')"> <if test="orderCol.containsKey('updateTime')">
a.updateTime a.updateTime
<if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if> <if test='orderCol.updateTime != null and "DESC".equalsIgnoreCase(orderCol.updateTime)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('type')">
a.type
<if test='orderCol.type != null and "DESC".equalsIgnoreCase(orderCol.type)'>DESC</if>
,
</if>
</trim> </trim>
</if> </if>
</sql> </sql>
......
...@@ -1337,4 +1337,7 @@ ...@@ -1337,4 +1337,7 @@
select count(1) pricateStaff from mortals_xhx_staff where staffType = 3 select count(1) pricateStaff from mortals_xhx_staff where staffType = 3
</select> </select>
<select id="queryDetp" resultType="com.mortals.xhx.module.staff.model.StaffEntity">
select deptName from mortals_xhx_staff group by deptName
</select>
</mapper> </mapper>
\ No newline at end of file
...@@ -33,7 +33,7 @@ Content-Type: application/json ...@@ -33,7 +33,7 @@ Content-Type: application/json
"className":"rkd3tw", "className":"rkd3tw",
"classResponsiblePersonId":291, "classResponsiblePersonId":291,
"classResponsiblePersonName":"mbga7i", "classResponsiblePersonName":"mbga7i",
"remark":"l73cn1", "remark":"l73cn1"
} }
> {% > {%
......
...@@ -38,7 +38,7 @@ Content-Type: application/json ...@@ -38,7 +38,7 @@ Content-Type: application/json
"offWorkDate":"1680883200000", "offWorkDate":"1680883200000",
"offWorkDateBefore":558, "offWorkDateBefore":558,
"offWorkDateAfter":772, "offWorkDateAfter":772,
"remark":"38en8a", "remark":"38en8a"
} }
> {% > {%
......
...@@ -54,7 +54,7 @@ Content-Type: application/json ...@@ -54,7 +54,7 @@ Content-Type: application/json
"sundayClassId":546, "sundayClassId":546,
"sundayClassName":"uq3lhu", "sundayClassName":"uq3lhu",
"holidays":1, "holidays":1,
"remark":"u6z76o", "remark":"u6z76o"
} }
> {% > {%
......
...@@ -38,7 +38,7 @@ Content-Type: application/json ...@@ -38,7 +38,7 @@ Content-Type: application/json
"specialTime":"1680883200000", "specialTime":"1680883200000",
"specialTimeStart":"1680883200000", "specialTimeStart":"1680883200000",
"specialTimeEnd":"1680883200000", "specialTimeEnd":"1680883200000",
"remark":"eun5vs", "remark":"eun5vs"
} }
> {% > {%
......
...@@ -41,7 +41,7 @@ Content-Type: application/json ...@@ -41,7 +41,7 @@ Content-Type: application/json
"sunday":0, "sunday":0,
"holidays":1, "holidays":1,
"workTime":0, "workTime":0,
"remark":"pbndzz", "remark":"pbndzz"
} }
> {% > {%
......
...@@ -38,7 +38,7 @@ Content-Type: application/json ...@@ -38,7 +38,7 @@ Content-Type: application/json
"specialTime":"1680883200000", "specialTime":"1680883200000",
"specialTimeStart":"1680883200000", "specialTimeStart":"1680883200000",
"specialTimeEnd":"1680883200000", "specialTimeEnd":"1680883200000",
"remark":"482xif", "remark":"482xif"
} }
> {% > {%
......
...@@ -36,7 +36,7 @@ Content-Type: application/json ...@@ -36,7 +36,7 @@ Content-Type: application/json
"responsibleId":395, "responsibleId":395,
"responsibleName":"uwo4fh", "responsibleName":"uwo4fh",
"responsibleType":768, "responsibleType":768,
"remark":"y4pguf", "remark":"y4pguf"
} }
> {% > {%
......
...@@ -36,7 +36,7 @@ Content-Type: application/json ...@@ -36,7 +36,7 @@ Content-Type: application/json
"staffId":289, "staffId":289,
"staffName":"s1l6xv", "staffName":"s1l6xv",
"partAttendance":82, "partAttendance":82,
"remark":"jjogmm", "remark":"jjogmm"
} }
> {% > {%
......
...@@ -50,7 +50,7 @@ Content-Type: application/json ...@@ -50,7 +50,7 @@ Content-Type: application/json
"approver":"7ihkp2", "approver":"7ihkp2",
"attachment":"3ho9of", "attachment":"3ho9of",
"attachmentPath":"p9ovhu", "attachmentPath":"p9ovhu",
"remark":"uxsqrs", "remark":"uxsqrs"
} }
> {% > {%
......
...@@ -43,7 +43,7 @@ Content-Type: application/json ...@@ -43,7 +43,7 @@ Content-Type: application/json
"shiftsId":439, "shiftsId":439,
"shiftsName":"1zzktm", "shiftsName":"1zzktm",
"attendanceDate":"1680796800000", "attendanceDate":"1680796800000",
"remark":"0rlbnv", "remark":"0rlbnv"
} }
> {% > {%
......
...@@ -37,7 +37,7 @@ Content-Type: application/json ...@@ -37,7 +37,7 @@ Content-Type: application/json
"goWorkResult":642, "goWorkResult":642,
"offWorkDate":"1680796800000", "offWorkDate":"1680796800000",
"offWorkResult":656, "offWorkResult":656,
"remark":"h0anyu", "remark":"h0anyu"
} }
> {% > {%
......
...@@ -53,7 +53,7 @@ Content-Type: application/json ...@@ -53,7 +53,7 @@ Content-Type: application/json
"errorStatus":0, "errorStatus":0,
"processStatus":0, "processStatus":0,
"processResult":"s1gyfc", "processResult":"s1gyfc",
"remark":"4t1f2x", "remark":"4t1f2x"
} }
> {% > {%
......
...@@ -48,7 +48,7 @@ Content-Type: application/json ...@@ -48,7 +48,7 @@ Content-Type: application/json
"attendanceDate":"1680883200000", "attendanceDate":"1680883200000",
"attendanceAddress":"zta8r5", "attendanceAddress":"zta8r5",
"eventSource":"42l4jh", "eventSource":"42l4jh",
"remark":"ftcbb3", "remark":"ftcbb3"
} }
> {% > {%
......
...@@ -38,7 +38,7 @@ Content-Type: application/json ...@@ -38,7 +38,7 @@ Content-Type: application/json
"year":269, "year":269,
"month":903, "month":903,
"day":431, "day":431,
"remark":"4e0w24", "remark":"4e0w24"
} }
> {% > {%
......
...@@ -95,7 +95,7 @@ Content-Type: application/json ...@@ -95,7 +95,7 @@ Content-Type: application/json
"year":593, "year":593,
"month":333, "month":333,
"day":983, "day":983,
"remark":"no1wds", "remark":"no1wds"
} }
> {% > {%
......
...@@ -50,7 +50,7 @@ Content-Type: application/json ...@@ -50,7 +50,7 @@ Content-Type: application/json
"sickLeaveDays":0, "sickLeaveDays":0,
"annualLeaveDays":0, "annualLeaveDays":0,
"marriageLeaveDays":0, "marriageLeaveDays":0,
"remark":"rmgjgc", "remark":"rmgjgc"
} }
> {% > {%
......
###登录
POST {{baseUrl}}/login/login
Content-Type: application/json
{
"loginName":"admin",
"password":"admin",
"securityCode":"8888"
}
> {%
client.global.set("SmsSet_id", JSON.parse(response.body).data.id);
client.global.set("authToken", JSON.parse(response.body).data.token);
%}
###员工假期记录信息列表
POST {{baseUrl}}/attendance/vacation/record/list
Authorization: {{authToken}}
Content-Type: application/json
{
"page":1,
"size":10
}
###员工假期记录信息更新与保存
POST {{baseUrl}}/attendance/vacation/record/save
Authorization: {{authToken}}
Content-Type: application/json
{
"staffId":419,
"staffName":"ae63fr",
"type":363,
"subAddType":1,
"validityPeriod":"0",
"subOrAddDays":0,
"content":"quz3f7",
"rule":"zrag9p",
"reason":"kze1qs",
"remark":"88vnyt",
}
> {%
client.global.set("AttendanceVacationRecord_id", JSON.parse(response.body).data.id);
%}
###员工假期记录信息查看
GET {{baseUrl}}/attendance/vacation/record/info?id={{AttendanceVacationRecord_id}}
Authorization: {{authToken}}
Accept: application/json
###员工假期记录信息编辑
GET {{baseUrl}}/attendance/vacation/record/edit?id={{AttendanceVacationRecord_id}}
Authorization: {{authToken}}
Accept: application/json
###员工假期记录信息删除
GET {{baseUrl}}/attendance/vacation/record/delete?id={{AttendanceVacationRecord_id}}
Authorization: {{authToken}}
Accept: application/json
...@@ -34,7 +34,7 @@ Content-Type: application/json ...@@ -34,7 +34,7 @@ Content-Type: application/json
{ {
"careType":1, "careType":1,
"sms":1, "sms":1,
"smsTemplate":"ukqfvp", "smsTemplate":"ukqfvp"
} }
> {% > {%
......
...@@ -14,7 +14,7 @@ client.global.set("authToken", JSON.parse(response.body).data.token); ...@@ -14,7 +14,7 @@ client.global.set("authToken", JSON.parse(response.body).data.token);
%} %}
###职位信息列表 ###职位信息列表
POST {{baseUrl}}/job/list POST {{baseUrl}}/dept/list
Authorization: {{authToken}} Authorization: {{authToken}}
Content-Type: application/json Content-Type: application/json
...@@ -25,7 +25,7 @@ Content-Type: application/json ...@@ -25,7 +25,7 @@ Content-Type: application/json
###职位信息更新与保存 ###职位信息更新与保存
POST {{baseUrl}}/job/save POST {{baseUrl}}/dept/save
Authorization: {{authToken}} Authorization: {{authToken}}
Content-Type: application/json Content-Type: application/json
...@@ -34,26 +34,26 @@ Content-Type: application/json ...@@ -34,26 +34,26 @@ Content-Type: application/json
"groupName":"2g2sug", "groupName":"2g2sug",
"jobCode":"p0m3o4", "jobCode":"p0m3o4",
"jobName":"3dnfdt", "jobName":"3dnfdt",
"remark":"brj4yu", "remark":"brj4yu"
} }
> {% > {%
client.global.set("Job_id", JSON.parse(response.body).data.id); client.global.set("Dept_id", JSON.parse(response.body).data.id);
%} %}
###职位信息查看 ###职位信息查看
GET {{baseUrl}}/job/info?id={{Job_id}} GET {{baseUrl}}/dept/info?id=1
Authorization: {{authToken}} Authorization: {{authToken}}
Accept: application/json Accept: application/json
###职位信息编辑 ###职位信息编辑
GET {{baseUrl}}/job/edit?id={{Job_id}} GET {{baseUrl}}/dept/edit?id={{Job_id}}
Authorization: {{authToken}} Authorization: {{authToken}}
Accept: application/json Accept: application/json
###职位信息删除 ###职位信息删除
GET {{baseUrl}}/job/delete?id={{Job_id}} GET {{baseUrl}}/dept/delete?id={{Job_id}}
Authorization: {{authToken}} Authorization: {{authToken}}
Accept: application/json Accept: application/json
......
...@@ -37,7 +37,7 @@ Content-Type: application/json ...@@ -37,7 +37,7 @@ Content-Type: application/json
"groupName":"2g2sug", "groupName":"2g2sug",
"jobCode":"p0m3o4", "jobCode":"p0m3o4",
"jobName":"3dnfdt", "jobName":"3dnfdt",
"remark":"brj4yu", "remark":"brj4yu"
} }
> {% > {%
......
...@@ -56,7 +56,7 @@ Content-Type: application/json ...@@ -56,7 +56,7 @@ Content-Type: application/json
"newDeptName":"vg2kiw", "newDeptName":"vg2kiw",
"newJobId":149, "newJobId":149,
"newJobName":"fxbleu", "newJobName":"fxbleu",
"auditStatus":0, "auditStatus":0
} }
> {% > {%
......
...@@ -38,7 +38,7 @@ Content-Type: application/json ...@@ -38,7 +38,7 @@ Content-Type: application/json
"leaveDate":"1680796800000", "leaveDate":"1680796800000",
"leaveReason":"njhiuz", "leaveReason":"njhiuz",
"blackDate":"1680796800000", "blackDate":"1680796800000",
"blackReason":"2le6y8", "blackReason":"2le6y8"
} }
> {% > {%
......
...@@ -43,7 +43,7 @@ Content-Type: application/json ...@@ -43,7 +43,7 @@ Content-Type: application/json
"entryDate":"1680796800000", "entryDate":"1680796800000",
"careType":1, "careType":1,
"sendStatus":0, "sendStatus":0,
"content":"yaqglc", "content":"yaqglc"
} }
> {% > {%
......
...@@ -59,7 +59,7 @@ Content-Type: application/json ...@@ -59,7 +59,7 @@ Content-Type: application/json
"contractType":1, "contractType":1,
"newStartDate":"1680796800000", "newStartDate":"1680796800000",
"newEndDate":"1680796800000", "newEndDate":"1680796800000",
"auditStatus":0, "auditStatus":0
} }
> {% > {%
......
...@@ -54,7 +54,7 @@ Content-Type: application/json ...@@ -54,7 +54,7 @@ Content-Type: application/json
"entryDate":"1680796800000", "entryDate":"1680796800000",
"leaveDate":"1680796800000", "leaveDate":"1680796800000",
"leaveReason":"c7jgln", "leaveReason":"c7jgln",
"auditStatus":0, "auditStatus":0
} }
> {% > {%
......
...@@ -53,7 +53,7 @@ Content-Type: application/json ...@@ -53,7 +53,7 @@ Content-Type: application/json
"status":1, "status":1,
"entryDate":"1680796800000", "entryDate":"1680796800000",
"regularDate":"1680796800000", "regularDate":"1680796800000",
"auditStatus":0, "auditStatus":0
} }
> {% > {%
......
...@@ -31,12 +31,12 @@ Authorization: {{authToken}} ...@@ -31,12 +31,12 @@ Authorization: {{authToken}}
Content-Type: application/json Content-Type: application/json
{ {
"deptId":0, "deptId":1,
"deptName":"ovcky1", "deptName":"技术部",
"name":"rvylk9", "name":"李林琳",
"number":"d0r6u9", "number":"9527",
"phone":"otc9xw", "phone":"13088088888",
"photoPath":"yelfqx", "photoPath":"http://sy.scsmile.cn/YX-JXgl/v1.0/HT/images/%E7%B3%BB%E7%BB%9F%E8%AE%BE%E7%BD%AE/u11719.png"
} }
> {% > {%
...@@ -44,7 +44,7 @@ client.global.set("Workman_id", JSON.parse(response.body).data.id); ...@@ -44,7 +44,7 @@ client.global.set("Workman_id", JSON.parse(response.body).data.id);
%} %}
###工作人员查看 ###工作人员查看
GET {{baseUrl}}/workman/info?id={{Workman_id}} GET {{baseUrl}}/workman/info?id=1
Authorization: {{authToken}} Authorization: {{authToken}}
Accept: application/json Accept: application/json
......
...@@ -522,3 +522,29 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '考勤方式', 'AttendanceGroup', ...@@ -522,3 +522,29 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '考勤方式', 'AttendanceGroup',
INSERT INTO `mortals_xhx_param` VALUES (null, '考勤方式', 'AttendanceGroup', 'attendanceType', '蓝牙打卡. 蓝牙打卡', '蓝牙打卡. 蓝牙打卡', 1, 4, 0, 'attendanceType', NULL, NULL, NULL); INSERT INTO `mortals_xhx_param` VALUES (null, '考勤方式', 'AttendanceGroup', 'attendanceType', '蓝牙打卡. 蓝牙打卡', '蓝牙打卡. 蓝牙打卡', 1, 4, 0, 'attendanceType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '考勤方式', 'AttendanceGroup', 'attendanceType', '考勤机打卡. 考勤机打卡', '考勤机打卡. 考勤机打卡', 1, 4, 0, 'attendanceType', NULL, NULL, NULL); INSERT INTO `mortals_xhx_param` VALUES (null, '考勤方式', 'AttendanceGroup', 'attendanceType', '考勤机打卡. 考勤机打卡', '考勤机打卡. 考勤机打卡', 1, 4, 0, 'attendanceType', NULL, NULL, NULL);
-- ----------------------------
-- 员工假期记录信息菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '员工假期记录信息', '/attendance/vacation/record/list', 0,'', 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);
-- ----------------------------
-- 员工假期记录信息资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '员工假期记录信息-菜单管理-查看', '/attendance/vacation/record/list,/attendance/vacation/record/view,/attendance/vacation/record/info,/attendance/vacation/record/export,/attendance/vacation/record/exportExcel,/attendance/vacation/record/downloadTemplate,/attendance/vacation/record/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '员工假期记录信息-菜单管理-维护', '/attendance/vacation/record/add,/attendance/vacation/record/edit,/attendance/vacation/record/delete,/attendance/vacation/record/logicDelete,/attendance/vacation/record/save,/attendance/vacation/record/importData', 3, 0, NULL, NULL, NULL, 0);
-- ----------------------------
-- 员工假期记录信息参数 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '1', '事假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '2', '调休', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '3', '病假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '4', '年假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '5', '产假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '6', '陪产假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '7', '婚假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '8', '例假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '9', '哺乳假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacationRecord', 'type', '10', '丧假', 1, 4, 0, 'type', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '增减类型', 'AttendanceVacationRecord', 'subAddType', '1', '增加', 1, 4, 0, 'subAddType', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '增减类型', 'AttendanceVacationRecord', 'subAddType', '2', '扣除', 1, 4, 0, 'subAddType', NULL, NULL, NULL);
\ No newline at end of file
...@@ -2,23 +2,25 @@ ...@@ -2,23 +2,25 @@
-- 部门信息表 -- 部门信息表
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_dept`; DROP TABLE IF EXISTS `mortals_xhx_dept`;
CREATE TABLE `mortals_xhx_dept` ( CREATE TABLE mortals_xhx_dept(
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID,主键,自增长', `id` bigint(20) AUTO_INCREMENT COMMENT '主键ID,主键,自增长',
`parentId` bigint(20) DEFAULT NULL COMMENT '父id', `parentId` bigint(20) COMMENT '父id',
`ancestors` varchar(256) NOT NULL COMMENT '祖级列表', `ancestors` varchar(256) NOT NULL COMMENT '祖级列表',
`deptName` varchar(256) NOT NULL COMMENT '部门名称', `deptName` varchar(256) NOT NULL COMMENT '部门名称',
`deptStatus` tinyint(2) NOT NULL DEFAULT '1' COMMENT '部门状态(0.停用,1.启用)', `deptCode` varchar(256) NOT NULL COMMENT '部门编码',
`orderNum` int(4) NOT NULL DEFAULT '0' COMMENT '顺序', `deptStatus` tinyint(2) NOT NULL DEFAULT '1' COMMENT '部门状态(0.停用,1.启用)',
`remark` varchar(256) DEFAULT NULL COMMENT '备注', `orderNum` int(4) NOT NULL DEFAULT '0' COMMENT '顺序',
`createUserId` bigint(20) NOT NULL COMMENT '创建用户', `personNum` int(4) NOT NULL DEFAULT '0' COMMENT '部门人数',
`createTime` datetime NOT NULL COMMENT '创建时间', `workId` bigint(20) COMMENT '负责人id',
`updateUserId` bigint(20) DEFAULT NULL COMMENT '更新用户', `workName` varchar(128) COMMENT '负责人名称',
`updateTime` datetime DEFAULT NULL COMMENT '更新时间', `remark` varchar(256) COMMENT '备注',
PRIMARY KEY (`id`) USING BTREE, `createUserId` bigint(20) NOT NULL COMMENT '创建用户',
KEY `deptStatus` (`deptStatus`) USING BTREE, `createTime` datetime NOT NULL COMMENT '创建时间',
KEY `orderNum` (`orderNum`) USING BTREE, `updateUserId` bigint(20) COMMENT '更新用户',
KEY `createUserId` (`createUserId`) USING BTREE `updateTime` datetime COMMENT '更新时间',
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COMMENT='部门信息'; PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='部门信息';
-- ---------------------------- -- ----------------------------
...@@ -103,19 +105,24 @@ CREATE TABLE mortals_xhx_care_template( ...@@ -103,19 +105,24 @@ CREATE TABLE mortals_xhx_care_template(
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_job`; DROP TABLE IF EXISTS `mortals_xhx_job`;
CREATE TABLE mortals_xhx_job( CREATE TABLE mortals_xhx_job(
`id` bigint(20) AUTO_INCREMENT COMMENT '主键,自增长', `id` bigint(20) AUTO_INCREMENT COMMENT '主键,自增长',
`groupId` bigint(20) COMMENT '分组id', `groupId` bigint(20) COMMENT '分组id',
`groupName` varchar(128) COMMENT '分组名称', `groupName` varchar(128) COMMENT '分组名称',
`jobCode` varchar(128) COMMENT '职位编码', `jobCode` varchar(128) COMMENT '职位编码',
`jobName` varchar(128) COMMENT '职位名称', `jobName` varchar(128) COMMENT '职位名称',
`remark` varchar(512) COMMENT '备注', `remark` varchar(512) COMMENT '备注',
`createTime` datetime COMMENT '创建时间', `createTime` datetime COMMENT '创建时间',
`createUserId` bigint(20) COMMENT '创建用户', `createUserId` bigint(20) COMMENT '创建用户',
`updateUserId` bigint(20) COMMENT '更新用户', `updateUserId` bigint(20) COMMENT '更新用户',
`updateTime` datetime COMMENT '修改时间', `updateTime` datetime COMMENT '修改时间',
PRIMARY KEY (`id`) `type` tinyint(2) DEFAULT '1' COMMENT '节点类型(1.分组,2.职位)',
PRIMARY KEY (`id`)
,KEY `groupName` (`groupName`) USING BTREE
,KEY `jobCode` (`jobCode`) USING BTREE
,KEY `jobName` (`jobName`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='职位信息'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='职位信息';
-- ---------------------------- -- ----------------------------
-- 员工黑名单信息表 -- 员工黑名单信息表
-- ---------------------------- -- ----------------------------
...@@ -301,23 +308,25 @@ CREATE TABLE mortals_xhx_attendance_record( ...@@ -301,23 +308,25 @@ CREATE TABLE mortals_xhx_attendance_record(
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_attendance_record_detail`; DROP TABLE IF EXISTS `mortals_xhx_attendance_record_detail`;
CREATE TABLE mortals_xhx_attendance_record_detail( CREATE TABLE mortals_xhx_attendance_record_detail(
`id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长', `id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长',
`recordId` bigint(20) COMMENT '考勤记录ID', `recordId` bigint(20) COMMENT '考勤记录ID',
`shiftsId` bigint(20) COMMENT '班次ID', `shiftsId` bigint(20) COMMENT '班次ID',
`shiftsName` varchar(128) COMMENT '班次名称', `shiftsName` varchar(128) COMMENT '班次名称',
`goWorkDate` datetime COMMENT '上班打卡时间', `goWorkDate` datetime COMMENT '上班打卡时间',
`goWorkResult` tinyint(2) COMMENT '上班打卡结果(1.正常,2.请假,3.缺卡,4.迟到,5.早退)', `goWorkResult` tinyint(2) COMMENT '上班打卡结果(1.正常,2.请假,3.缺卡,4.迟到,5.早退)',
`offWorkDate` datetime COMMENT '下班打卡时间', `offWorkDate` datetime COMMENT '下班打卡时间',
`offWorkResult` tinyint(2) COMMENT '下班打卡结果(1.正常,2.请假,3.缺卡,4.迟到,5.早退)', `offWorkResult` tinyint(2) COMMENT '下班打卡结果(1.正常,2.请假,3.缺卡,4.迟到,5.早退)',
`remark` varchar(255) COMMENT '备注', `remark` varchar(255) COMMENT '备注',
`createUserId` bigint(20) NOT NULL COMMENT '创建用户', `orderNum` int(4) DEFAULT '1' COMMENT '排序字段',
`createTime` datetime NOT NULL COMMENT '创建时间', `createUserId` bigint(20) NOT NULL COMMENT '创建用户',
`updateUserId` bigint(20) COMMENT '更新用户', `createTime` datetime NOT NULL COMMENT '创建时间',
`updateTime` datetime COMMENT '更新时间', `updateUserId` bigint(20) COMMENT '更新用户',
PRIMARY KEY (`id`) `updateTime` datetime COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='考勤打卡记录详细信息'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='考勤打卡记录详细信息';
-- ---------------------------- -- ----------------------------
-- 请假记录信息表 -- 请假记录信息表
-- ---------------------------- -- ----------------------------
...@@ -351,25 +360,53 @@ CREATE TABLE mortals_xhx_attendance_leave_record( ...@@ -351,25 +360,53 @@ CREATE TABLE mortals_xhx_attendance_leave_record(
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_attendance_vacation_balance`; DROP TABLE IF EXISTS `mortals_xhx_attendance_vacation_balance`;
CREATE TABLE mortals_xhx_attendance_vacation_balance( CREATE TABLE mortals_xhx_attendance_vacation_balance(
`id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长', `id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长',
`staffId` bigint(20) COMMENT '员工id', `staffId` bigint(20) COMMENT '员工id',
`staffName` varchar(255) COMMENT '员工姓名', `staffName` varchar(255) COMMENT '员工姓名',
`deptId` bigint(20) COMMENT '部门id', `deptId` bigint(20) COMMENT '部门id',
`deptName` varchar(255) COMMENT '部门名称', `deptName` varchar(255) COMMENT '部门名称',
`entryTime` datetime COMMENT '入职时间', `entryTime` datetime COMMENT '入职时间',
`personalLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '事假(天)', `personalLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '事假(天)',
`compensatedLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '调休(天)', `compensatedLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '调休(天)',
`sickLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '病假(天)', `sickLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '病假(天)',
`annualLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '年假(天)', `annualLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '年假(天)',
`marriageLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '婚假(天)', `maternityLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '产假(天)',
`remark` varchar(255) COMMENT '备注', `paternityLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '陪产假(天)',
`createUserId` bigint(20) COMMENT '创建用户', `marriageLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '婚假(天)',
`createTime` datetime COMMENT '创建时间', `menstrualLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '例假(天)',
`updateUserId` bigint(20) COMMENT '更新用户', `breastfeedingLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '哺乳假(天)',
`updateTime` datetime COMMENT '更新时间', `bereavementLeaveDays` decimal(10,2) DEFAULT '0' COMMENT '丧假(天)',
PRIMARY KEY (`id`) `remark` varchar(255) COMMENT '备注',
`createUserId` bigint(20) COMMENT '创建用户',
`createTime` datetime COMMENT '创建时间',
`updateUserId` bigint(20) COMMENT '更新用户',
`updateTime` datetime COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='员工假期余额信息'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='员工假期余额信息';
-- ----------------------------
-- 员工假期记录信息表
-- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_attendance_vacation_record`;
CREATE TABLE mortals_xhx_attendance_vacation_record(
`id` bigint(20) AUTO_INCREMENT COMMENT '序号,主键,自增长',
`staffId` bigint(20) COMMENT '员工id',
`staffName` varchar(255) COMMENT '员工姓名',
`type` tinyint(2) COMMENT '请假类型(1.事假,2.调休,3.病假,4.年假,5.产假,6.陪产假,7.婚假,8.例假,9.哺乳假,10.丧假)',
`subAddType` tinyint(1) DEFAULT '1' COMMENT '增减类型(1.增加,2.扣除)',
`validityPeriod` varchar(255) DEFAULT '0' COMMENT '有效期',
`subOrAddDays` decimal(10,2) DEFAULT '0' COMMENT '增加或扣减天数(天)',
`content` varchar(255) COMMENT '内容',
`rule` varchar(255) COMMENT '规则',
`reason` varchar(255) COMMENT '理由',
`remark` varchar(255) COMMENT '备注',
`createUserId` bigint(20) COMMENT '创建用户',
`createTime` datetime COMMENT '创建时间',
`updateUserId` bigint(20) COMMENT '更新用户',
`updateTime` datetime COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='员工假期记录信息';
-- ---------------------------- -- ----------------------------
-- 考勤人员汇总信息表 -- 考勤人员汇总信息表
......
...@@ -2285,7 +2285,253 @@ msg|String|消息|- ...@@ -2285,7 +2285,253 @@ msg|String|消息|-
} }
``` ```
## 部门信息
### 查询部门信息列表
**请求URL:** dept/list
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 查询部门信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录
**请求样例:**
```
{
"page":1,
"size":10
}
```
**响应参数:**
参数名称|参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;per_page|Integer|每页条数
&emsp;total|Integer|总条数
&emsp;last_page|Integer|总页数
&emsp;current_page|Integer|当前页
&emsp;data|array|结果集列表|数组
&emsp;&emsp;id|Long|主键ID,主键,自增长
&emsp;&emsp;parentId|Long|父id
&emsp;&emsp;ancestors|String|祖级列表
&emsp;&emsp;deptName|String|部门名称
&emsp;&emsp;deptCode|String|部门编码
&emsp;&emsp;deptStatus|Integer|部门状态(0.停用,1.启用)
&emsp;&emsp;orderNum|Integer|顺序
&emsp;&emsp;personNum|Integer|部门人数
&emsp;&emsp;workId|Long|负责人id
&emsp;&emsp;workName|String|负责人名称
&emsp;&emsp;remark|String|备注
&emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;createTime|Date|创建时间
&emsp;&emsp;updateUserId|Long|更新用户
&emsp;&emsp;updateTime|Date|更新时间
dict|object|字典对象
&emsp;deptStatus|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code":1,
"data":{
}
}
```
### 查看部门信息
**请求URL:** dept/info
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 查看部门信息,返回实例详细信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|Long|是|ID
**请求样例:**
```
http://localhost/dept/info?id=549
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:-------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;id|Long|主键ID,主键,自增长
&emsp;parentId|Long|父id
&emsp;ancestors|String|祖级列表
&emsp;deptName|String|部门名称
&emsp;deptCode|String|部门编码
&emsp;deptStatus|Integer|部门状态(0.停用,1.启用)
&emsp;orderNum|Integer|顺序
&emsp;personNum|Integer|部门人数
&emsp;workId|Long|负责人id
&emsp;workName|String|负责人名称
&emsp;remark|String|备注
&emsp;createUserId|Long|创建用户
&emsp;createTime|Date|创建时间
&emsp;updateUserId|Long|更新用户
&emsp;updateTime|Date|更新时间
dict|object|字典对象
&emsp;deptStatus|object|字典属性对象,详见附录
**响应消息样例:**
```
{
"code": 1,
"data": {
"id":7651,
"parentId":8553,
"ancestors":"cdj8nb",
"deptName":"5c0hz6",
"deptCode":"cvve65",
"deptStatus":3802,
"orderNum":3996,
"personNum":4781,
"workId":4739,
"workName":"vzwyu5",
"remark":"ematnx",
"createUserId":6954,
"createTime":"2023-04-11",
"updateUserId":7898,
"updateTime":"2023-04-11"
}
}
```
### 保存更新部门信息
**请求URL:** dept/save
**请求方式:** POST
**内容类型:** application/json;charset=utf-8
**简要描述:** 保存或更新部门信息:id为空时为新增保存,否则为更新提交
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:-------
parentId|Long|否|父id
ancestors|String|是|祖级列表
deptName|String|是|部门名称
deptCode|String|是|部门编码
deptStatus|Integer|是|部门状态(0.停用,1.启用)
orderNum|Integer|是|顺序
personNum|Integer|是|部门人数
workId|Long|否|负责人id
workName|String|否|负责人名称
remark|String|否|备注
**请求样例:**
```
{
"parentId":9851,
"ancestors":"4s6v2r",
"deptName":"78noyn",
"deptCode":"urn8b2",
"deptStatus":7892,
"orderNum":1915,
"personNum":4399,
"workId":4758,
"workName":"5c27ex",
"remark":"mop40m",
}
```
**响应参数:**
参数名称 |参数类型|描述
:---|:---|:------
code|Integer|结果码(-1.失败,1.成功)
msg|String|消息
data|object|数据对象
&emsp;id|Long|保存后主键id
&emsp;entity|object|保存更新实体
&emsp;&emsp;id|Long|主键ID,主键,自增长
&emsp;&emsp;parentId|Long|父id
&emsp;&emsp;ancestors|String|祖级列表
&emsp;&emsp;deptName|String|部门名称
&emsp;&emsp;deptCode|String|部门编码
&emsp;&emsp;deptStatus|Integer|部门状态(0.停用,1.启用)
&emsp;&emsp;orderNum|Integer|顺序
&emsp;&emsp;personNum|Integer|部门人数
&emsp;&emsp;workId|Long|负责人id
&emsp;&emsp;workName|String|负责人名称
&emsp;&emsp;remark|String|备注
&emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;createTime|Date|创建时间
&emsp;&emsp;updateUserId|Long|更新用户
&emsp;&emsp;updateTime|Date|更新时间
**响应消息样例:**
```
{
"msg":"新增模块成功",
"code":1,
"data":{}
}
}
```
### 删除部门信息
**请求URL:** dept/delete
**请求方式:** GET
**内容类型:** application/json;charset=utf-8
**简要描述:** 删除部门信息
**请求参数:**
参数名称|类型|必填|描述
:---|:---|:---|:------
id|String|是|数组
**请求样例:**
```
http://localhost:8080/dept/delete?id=1&id=2'
```
**响应参数:**
参数名称 |参数类型|备注|其它
---|---|---|---
code|Integer|结果码(-1.失败,1.成功)|-
msg|String|消息|-
**响应消息样例:**
```
{
"code":1,
"msg":"成功"
}
```
## 员工基本信息 ## 员工基本信息
...@@ -3098,9 +3344,9 @@ jobName|String|否|职位名称,字段前后添加%%模糊查询 ...@@ -3098,9 +3344,9 @@ jobName|String|否|职位名称,字段前后添加%%模糊查询
**请求样例:** **请求样例:**
``` ```
{ {
"groupName":"221sgc", "groupName":"w4y1au",
"jobCode":"buzhdj", "jobCode":"p48hfz",
"jobName":"vduagu", "jobName":"tvhi3v",
"page":1, "page":1,
"size":10 "size":10
} }
...@@ -3128,7 +3374,9 @@ data|object|数据对象 ...@@ -3128,7 +3374,9 @@ data|object|数据对象
&emsp;&emsp;createUserId|Long|创建用户 &emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;updateUserId|Long|更新用户 &emsp;&emsp;updateUserId|Long|更新用户
&emsp;&emsp;updateTime|Date|修改时间 &emsp;&emsp;updateTime|Date|修改时间
&emsp;&emsp;type|Integer|节点类型(1.分组,2.职位)
dict|object|字典对象 dict|object|字典对象
&emsp;type|object|字典属性对象,详见附录
**响应消息样例:** **响应消息样例:**
``` ```
...@@ -3176,23 +3424,26 @@ data|object|数据对象 ...@@ -3176,23 +3424,26 @@ data|object|数据对象
&emsp;createUserId|Long|创建用户 &emsp;createUserId|Long|创建用户
&emsp;updateUserId|Long|更新用户 &emsp;updateUserId|Long|更新用户
&emsp;updateTime|Date|修改时间 &emsp;updateTime|Date|修改时间
&emsp;type|Integer|节点类型(1.分组,2.职位)
dict|object|字典对象 dict|object|字典对象
&emsp;type|object|字典属性对象,详见附录
**响应消息样例:** **响应消息样例:**
``` ```
{ {
"code": 1, "code": 1,
"data": { "data": {
"id":3224, "id":6214,
"groupId":5192, "groupId":6910,
"groupName":"y8zckh", "groupName":"h3qmbp",
"jobCode":"djdvg1", "jobCode":"ybsxab",
"jobName":"k2657g", "jobName":"mwfwda",
"remark":"ajxdd3", "remark":"j454du",
"createTime":"2023-04-07", "createTime":"2023-04-11",
"createUserId":4686, "createUserId":3094,
"updateUserId":8121, "updateUserId":1149,
"updateTime":"2023-04-07" "updateTime":"2023-04-11",
"type":4950
} }
} }
``` ```
...@@ -3216,15 +3467,17 @@ groupName|String|否|分组名称 ...@@ -3216,15 +3467,17 @@ groupName|String|否|分组名称
jobCode|String|否|职位编码 jobCode|String|否|职位编码
jobName|String|否|职位名称 jobName|String|否|职位名称
remark|String|否|备注 remark|String|否|备注
type|Integer|否|节点类型(1.分组,2.职位)
**请求样例:** **请求样例:**
``` ```
{ {
"groupId":3140, "groupId":4323,
"groupName":"q8jukx", "groupName":"0rvnhk",
"jobCode":"38mrsx", "jobCode":"qlhfq6",
"jobName":"fxtzka", "jobName":"aw1orv",
"remark":"owe9bs", "remark":"b3g5ig",
"type":5729
} }
``` ```
...@@ -3247,6 +3500,7 @@ data|object|数据对象 ...@@ -3247,6 +3500,7 @@ data|object|数据对象
&emsp;&emsp;createUserId|Long|创建用户 &emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;updateUserId|Long|更新用户 &emsp;&emsp;updateUserId|Long|更新用户
&emsp;&emsp;updateTime|Date|修改时间 &emsp;&emsp;updateTime|Date|修改时间
&emsp;&emsp;type|Integer|节点类型(1.分组,2.职位)
**响应消息样例:** **响应消息样例:**
``` ```
...@@ -7606,30 +7860,10 @@ msg|String|消息|- ...@@ -7606,30 +7860,10 @@ msg|String|消息|-
:---|:---|:---|:------ :---|:---|:---|:------
page|Integer|否|当前页 page|Integer|否|当前页
size|Integer|否|每页条数,值为-1,查询所有记录 size|Integer|否|每页条数,值为-1,查询所有记录
staffId|Long|否|员工id
staffName|String|否|员工姓名,字段前后添加%%模糊查询
deptId|Long|否|部门id
deptName|String|否|部门名称,字段前后添加%%模糊查询
entryTime|Date|否|入职时间
personalLeaveDays|BigDecimal|否|事假(天)
compensatedLeaveDays|BigDecimal|否|调休(天)
sickLeaveDays|BigDecimal|否|病假(天)
annualLeaveDays|BigDecimal|否|年假(天)
marriageLeaveDays|BigDecimal|否|婚假(天)
**请求样例:** **请求样例:**
``` ```
{ {
"staffId":9144,
"staffName":"th922m",
"deptId":2036,
"deptName":"pntg03",
"entryTime":"2023-04-07",
"personalLeaveDays":0.95,
"compensatedLeaveDays":0.42,
"sickLeaveDays":0.18,
"annualLeaveDays":0.05,
"marriageLeaveDays":0.19,
"page":1, "page":1,
"size":10 "size":10
} }
...@@ -7657,7 +7891,12 @@ data|object|数据对象 ...@@ -7657,7 +7891,12 @@ data|object|数据对象
&emsp;&emsp;compensatedLeaveDays|BigDecimal|调休(天) &emsp;&emsp;compensatedLeaveDays|BigDecimal|调休(天)
&emsp;&emsp;sickLeaveDays|BigDecimal|病假(天) &emsp;&emsp;sickLeaveDays|BigDecimal|病假(天)
&emsp;&emsp;annualLeaveDays|BigDecimal|年假(天) &emsp;&emsp;annualLeaveDays|BigDecimal|年假(天)
&emsp;&emsp;maternityLeaveDays|BigDecimal|产假(天)
&emsp;&emsp;paternityLeaveDays|BigDecimal|陪产假(天)
&emsp;&emsp;marriageLeaveDays|BigDecimal|婚假(天) &emsp;&emsp;marriageLeaveDays|BigDecimal|婚假(天)
&emsp;&emsp;menstrualLeaveDays|BigDecimal|例假(天)
&emsp;&emsp;breastfeedingLeaveDays|BigDecimal|哺乳假(天)
&emsp;&emsp;bereavementLeaveDays|BigDecimal|丧假(天)
&emsp;&emsp;remark|String|备注 &emsp;&emsp;remark|String|备注
&emsp;&emsp;createUserId|Long|创建用户 &emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;createTime|Date|创建时间 &emsp;&emsp;createTime|Date|创建时间
...@@ -7711,7 +7950,12 @@ data|object|数据对象 ...@@ -7711,7 +7950,12 @@ data|object|数据对象
&emsp;compensatedLeaveDays|BigDecimal|调休(天) &emsp;compensatedLeaveDays|BigDecimal|调休(天)
&emsp;sickLeaveDays|BigDecimal|病假(天) &emsp;sickLeaveDays|BigDecimal|病假(天)
&emsp;annualLeaveDays|BigDecimal|年假(天) &emsp;annualLeaveDays|BigDecimal|年假(天)
&emsp;maternityLeaveDays|BigDecimal|产假(天)
&emsp;paternityLeaveDays|BigDecimal|陪产假(天)
&emsp;marriageLeaveDays|BigDecimal|婚假(天) &emsp;marriageLeaveDays|BigDecimal|婚假(天)
&emsp;menstrualLeaveDays|BigDecimal|例假(天)
&emsp;breastfeedingLeaveDays|BigDecimal|哺乳假(天)
&emsp;bereavementLeaveDays|BigDecimal|丧假(天)
&emsp;remark|String|备注 &emsp;remark|String|备注
&emsp;createUserId|Long|创建用户 &emsp;createUserId|Long|创建用户
&emsp;createTime|Date|创建时间 &emsp;createTime|Date|创建时间
...@@ -7724,22 +7968,27 @@ dict|object|字典对象 ...@@ -7724,22 +7968,27 @@ dict|object|字典对象
{ {
"code": 1, "code": 1,
"data": { "data": {
"id":4062, "id":9420,
"staffId":3961, "staffId":9986,
"staffName":"39vtrt", "staffName":"r84j8j",
"deptId":3250, "deptId":8490,
"deptName":"cmn42l", "deptName":"9h1my7",
"entryTime":"2023-04-07", "entryTime":"2023-04-11",
"personalLeaveDays":0.21, "personalLeaveDays":0.14,
"compensatedLeaveDays":0.24, "compensatedLeaveDays":0.2,
"sickLeaveDays":0.33, "sickLeaveDays":0.07,
"annualLeaveDays":0.09, "annualLeaveDays":0.76,
"marriageLeaveDays":0.68, "maternityLeaveDays":0.83,
"remark":"iltzm1", "paternityLeaveDays":0.65,
"createUserId":3323, "marriageLeaveDays":0.61,
"createTime":"2023-04-07", "menstrualLeaveDays":0.43,
"updateUserId":8630, "breastfeedingLeaveDays":0.26,
"updateTime":"2023-04-07" "bereavementLeaveDays":0.58,
"remark":"88xnhv",
"createUserId":7178,
"createTime":"2023-04-11",
"updateUserId":3567,
"updateTime":"2023-04-11"
} }
} }
``` ```
...@@ -7767,23 +8016,33 @@ personalLeaveDays|BigDecimal|否|事假(天) ...@@ -7767,23 +8016,33 @@ personalLeaveDays|BigDecimal|否|事假(天)
compensatedLeaveDays|BigDecimal|否|调休(天) compensatedLeaveDays|BigDecimal|否|调休(天)
sickLeaveDays|BigDecimal|否|病假(天) sickLeaveDays|BigDecimal|否|病假(天)
annualLeaveDays|BigDecimal|否|年假(天) annualLeaveDays|BigDecimal|否|年假(天)
maternityLeaveDays|BigDecimal|否|产假(天)
paternityLeaveDays|BigDecimal|否|陪产假(天)
marriageLeaveDays|BigDecimal|否|婚假(天) marriageLeaveDays|BigDecimal|否|婚假(天)
menstrualLeaveDays|BigDecimal|否|例假(天)
breastfeedingLeaveDays|BigDecimal|否|哺乳假(天)
bereavementLeaveDays|BigDecimal|否|丧假(天)
remark|String|否|备注 remark|String|否|备注
**请求样例:** **请求样例:**
``` ```
{ {
"staffId":5626, "staffId":9529,
"staffName":"e2rs4j", "staffName":"3c197f",
"deptId":9498, "deptId":8317,
"deptName":"o2fvb6", "deptName":"dwos3l",
"entryTime":"2023-04-07", "entryTime":"2023-04-11",
"personalLeaveDays":0.8, "personalLeaveDays":0.0,
"compensatedLeaveDays":0.17, "compensatedLeaveDays":0.36,
"sickLeaveDays":0.24, "sickLeaveDays":0.1,
"annualLeaveDays":0.64, "annualLeaveDays":0.68,
"marriageLeaveDays":0.11, "maternityLeaveDays":0.35,
"remark":"ylqz26", "paternityLeaveDays":0.38,
"marriageLeaveDays":0.53,
"menstrualLeaveDays":0.17,
"breastfeedingLeaveDays":0.53,
"bereavementLeaveDays":0.12,
"remark":"wo79df",
} }
``` ```
...@@ -7806,7 +8065,12 @@ data|object|数据对象 ...@@ -7806,7 +8065,12 @@ data|object|数据对象
&emsp;&emsp;compensatedLeaveDays|BigDecimal|调休(天) &emsp;&emsp;compensatedLeaveDays|BigDecimal|调休(天)
&emsp;&emsp;sickLeaveDays|BigDecimal|病假(天) &emsp;&emsp;sickLeaveDays|BigDecimal|病假(天)
&emsp;&emsp;annualLeaveDays|BigDecimal|年假(天) &emsp;&emsp;annualLeaveDays|BigDecimal|年假(天)
&emsp;&emsp;maternityLeaveDays|BigDecimal|产假(天)
&emsp;&emsp;paternityLeaveDays|BigDecimal|陪产假(天)
&emsp;&emsp;marriageLeaveDays|BigDecimal|婚假(天) &emsp;&emsp;marriageLeaveDays|BigDecimal|婚假(天)
&emsp;&emsp;menstrualLeaveDays|BigDecimal|例假(天)
&emsp;&emsp;breastfeedingLeaveDays|BigDecimal|哺乳假(天)
&emsp;&emsp;bereavementLeaveDays|BigDecimal|丧假(天)
&emsp;&emsp;remark|String|备注 &emsp;&emsp;remark|String|备注
&emsp;&emsp;createUserId|Long|创建用户 &emsp;&emsp;createUserId|Long|创建用户
&emsp;&emsp;createTime|Date|创建时间 &emsp;&emsp;createTime|Date|创建时间
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
<common-lib.version>0.0.1-SNAPSHOT</common-lib.version> <common-lib.version>0.0.1-SNAPSHOT</common-lib.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment