Commit e90c3d10 authored by hongguangwu's avatar hongguangwu

Merge remote-tracking branch 'origin/MVP1.7.12' into MVP1.7.12

parents 007ddb19 b817d0c2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
/**
* 员工合同签订规则配置表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
@Data
@TableName("t_auto_contract_rule_info")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "员工合同签订规则配置表")
public class TAutoContractRuleInfo extends BaseEntity {
/**
* 主键
*/
@TableId(type = IdType.ASSIGN_ID)
@ExcelProperty("主键")
@Schema(description = "主键")
private String id;
/**
* 是否自动触发申请:0自动生成合同申请 1手动发起合同申请
*/
@ExcelAttribute(name = "是否自动触发申请", isNotEmpty = true, errorInfo = "是否自动触发申请不能为空", maxLength = 1)
@NotBlank(message = "是否自动触发申请不能为空")
@Length(max = 1, message = "是否自动触发申请不能超过1个字符")
@ExcelProperty("是否自动触发申请")
@Schema(description = "是否自动触发申请:0自动生成合同申请 1手动发起合同申请")
private String autoFlag;
/**
* 新签合同发起时间类型 0 入职日期 1入职3天后 2入职1周后 3入职2周后 4入职3周后
*/
@ExcelAttribute(name = "新签合同发起时间类型 ", maxLength = 1)
@Length(max = 1, message = "新签合同发起时间类型 不能超过1个字符")
@ExcelProperty("新签合同发起时间类型 ")
@Schema(description = "新签合同发起时间类型 0 入职日期 1入职3天后 2入职1周后 3入职2周后 4入职3周后")
private String newSignType;
/**
* 新签合同发起时间
*/
@ExcelAttribute(name = "新签合同发起时间", maxLength = 10)
@Length(max = 10, message = "新签合同发起时间不能超过10个字符")
@ExcelProperty("新签合同发起时间")
@Schema(description = "新签合同发起时间")
private String newSignDate;
/**
* 确认签署时间类型 0 签订发起日
*/
@ExcelAttribute(name = "确认签署时间类型 ", maxLength = 1)
@Length(max = 1, message = "确认签署时间类型 不能超过1个字符")
@ExcelProperty("确认签署时间类型 ")
@Schema(description = "确认签署时间类型 0 签订发起日")
private String confirmSignType;
/**
* 确认签署时间
*/
@ExcelAttribute(name = "确认签署时间", maxLength = 10)
@Length(max = 10, message = "确认签署时间不能超过10个字符")
@ExcelProperty("确认签署时间")
@Schema(description = "确认签署时间")
private String confirmSignDate;
/**
* 续签合同发起时间类型 0 上一份合同到期前一个月
*/
@ExcelAttribute(name = "续签合同发起时间类型 ", maxLength = 1)
@Length(max = 1, message = "续签合同发起时间类型 不能超过1个字符")
@ExcelProperty("续签合同发起时间类型 ")
@Schema(description = "续签合同发起时间类型 0 上一份合同到期前一个月")
private String renewalDateType;
/**
* 续签合同发起时间
*/
@ExcelAttribute(name = "续签合同发起时间", maxLength = 10)
@Length(max = 10, message = "续签合同发起时间不能超过10个字符")
@ExcelProperty("续签合同发起时间")
@Schema(description = "续签合同发起时间")
private String renewalDate;
/**
* 入职确认选择 0 配置方案内选择、1 自定义 2 配置方案+自定义
*/
@ExcelAttribute(name = "入职确认选择", maxLength = 1)
@Length(max = 1, message = "入职确认选择不能超过1个字符")
@ExcelProperty("入职确认选择")
@Schema(description = "入职确认选择 0 配置方案内选择、1 自定义 2 配置方案+自定义")
private String confirmEmpSelect;
/**
* 超时未确认是否触发签署任务(电子签) 0 自动触发 1 不触发
*/
@ExcelAttribute(name = "超时未确认是否触发签署任务(电子签)", maxLength = 1)
@Length(max = 1, message = "超时未确认是否触发签署任务(电子签)不能超过1个字符")
@ExcelProperty("超时未确认是否触发签署任务(电子签)")
@Schema(description = "超时未确认是否触发签署任务(电子签) 0 自动触发 1 不触发")
private String timeoutElecSign;
/**
* 签署方式 0 电子签 1 线下签
*/
@ExcelAttribute(name = "签署方式", isNotEmpty = true, errorInfo = "签署方式不能为空", maxLength = 1)
@NotBlank(message = "签署方式不能为空")
@Length(max = 1, message = "签署方式不能超过1个字符")
@ExcelProperty("签署方式")
@Schema(description = "签署方式 0 电子签 1 线下签")
private String signType;
/**
* 项目配置主表ID
*/
@ExcelAttribute(name = "项目配置主表ID",errorInfo = "项目配置主表ID不能为空", maxLength = 32)
@NotBlank(message = "项目配置主表ID不能为空")
@Length(max = 32, message = "项目配置主表ID不能超过32个字符")
@ExcelProperty("项目配置主表ID")
@Schema(description = "项目配置主表ID")
private String mainId;
/**
* 项目编码
*/
@ExcelAttribute(name = "项目编码", errorInfo = "项目编码不能为空", maxLength = 50)
@NotBlank(message = "项目编码不能为空")
@Length(max = 50, message = "项目编码不能超过50个字符")
@ExcelProperty("项目编码")
@Schema(description = "项目编码")
private String deptNo;
/**
* 项目ID
*/
@ExcelAttribute(name = "项目ID", errorInfo = "项目ID不能为空", maxLength = 32)
@NotBlank(message = "项目ID不能为空")
@Length(max = 32, message = "项目ID不能超过32个字符")
@ExcelProperty("项目ID")
@Schema(description = "项目ID")
private String deptId;
}
...@@ -40,4 +40,10 @@ public class TAutoMainRelAddVo implements Serializable { ...@@ -40,4 +40,10 @@ public class TAutoMainRelAddVo implements Serializable {
private TAutoInsurRuleInfo autoInsurRuleInfo; private TAutoInsurRuleInfo autoInsurRuleInfo;
//商险购买标准配置表 //商险购买标准配置表
private List<TAutoInsurStandard> insurStandards; private List<TAutoInsurStandard> insurStandards;
//员工合同签订规则配置表
private TAutoContractRuleInfo contractRuleInfo;
//员工合同签订规则配置方案子表表
private List<TAutoContractScheme> contractSchemes;
} }
...@@ -54,4 +54,10 @@ public class TAutoMainRelDetailVo implements Serializable { ...@@ -54,4 +54,10 @@ public class TAutoMainRelDetailVo implements Serializable {
//商险购买标准表 //商险购买标准表
private List<TAutoInsurStandard> autoInsurStandards; private List<TAutoInsurStandard> autoInsurStandards;
//员工合同签订规则配置表
private TAutoContractRuleInfo contractRuleInfo;
//员工合同签订规则配置方案子表表
private List<TAutoContractScheme> contractSchemes;
} }
...@@ -19,13 +19,13 @@ package com.yifu.cloud.plus.v1.yifu.archives.controller; ...@@ -19,13 +19,13 @@ package com.yifu.cloud.plus.v1.yifu.archives.controller;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoContractScheme;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoMainRel; import com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoMainRel;
import com.yifu.cloud.plus.v1.yifu.archives.service.TAutoMainRelService; import com.yifu.cloud.plus.v1.yifu.archives.service.TAutoMainRelService;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelAddVo; import com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelAddVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelDetailVo; import com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelDetailVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelExportVo; import com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelExportVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelSearchVo; import com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelSearchVo;
import com.yifu.cloud.plus.v1.yifu.common.core.util.Common;
import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage; import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R; import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.core.vo.YifuUser; import com.yifu.cloud.plus.v1.yifu.common.core.vo.YifuUser;
...@@ -60,7 +60,17 @@ public class TAutoMainRelController { ...@@ -60,7 +60,17 @@ public class TAutoMainRelController {
private final MenuUtil menuUtil; private final MenuUtil menuUtil;
/**
* 员工合同签订规则-方案分页查询
* @param page 分页对象
* @param search 项目配置表主表
* @return
*/
@Operation(description = "简单分页查询")
@GetMapping("/contractSchemePage")
public R<IPage<TAutoContractScheme>> getContractSchemePage(Page<TAutoContractScheme> page, TAutoContractScheme search) {
return new R<>(tAutoMainRelService.getContractSchemePage(page,search));
}
/** /**
* 简单分页查询 * 简单分页查询
* @param page 分页对象 * @param page 分页对象
......
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoContractRuleInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 员工合同签订规则配置表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
@Mapper
public interface TAutoContractRuleInfoMapper extends BaseMapper<TAutoContractRuleInfo> {
/**
* 员工合同签订规则配置表简单分页查询
*
* @param tAutoContractRuleInfo 员工合同签订规则配置表
* @return
*/
IPage<TAutoContractRuleInfo> getTAutoContractRuleInfoPage(Page<TAutoContractRuleInfo> page, @Param("tAutoContractRuleInfo") TAutoContractRuleInfo tAutoContractRuleInfo);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoContractScheme;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 员工合同签订配置方案子表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
@Mapper
public interface TAutoContractSchemeMapper extends BaseMapper<TAutoContractScheme> {
/**
* 员工合同签订配置方案子表简单分页查询
*
* @param tAutoContractScheme 员工合同签订配置方案子表
* @return
*/
IPage<TAutoContractScheme> getTAutoContractSchemePage(Page<TAutoContractScheme> page, @Param("tAutoContractScheme") TAutoContractScheme tAutoContractScheme);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoContractRuleInfo;
/**
* 员工合同签订规则配置表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
public interface TAutoContractRuleInfoService extends IService<TAutoContractRuleInfo> {
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoContractScheme;
/**
* 员工合同签订配置方案子表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
public interface TAutoContractSchemeService extends IService<TAutoContractScheme> {
}
...@@ -20,6 +20,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.service; ...@@ -20,6 +20,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoContractScheme;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoMainRel; import com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoMainRel;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelAddVo; import com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelAddVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelDetailVo; import com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelDetailVo;
...@@ -59,4 +60,6 @@ public interface TAutoMainRelService extends IService<TAutoMainRel> { ...@@ -59,4 +60,6 @@ public interface TAutoMainRelService extends IService<TAutoMainRel> {
R<Boolean> updateAsso(TAutoMainRelAddVo entity); R<Boolean> updateAsso(TAutoMainRelAddVo entity);
R<TAutoMainRelDetailVo> getProjectRule(String deptId, String deptNo); R<TAutoMainRelDetailVo> getProjectRule(String deptId, String deptNo);
IPage<TAutoContractScheme> getContractSchemePage(Page<TAutoContractScheme> page, TAutoContractScheme search);
} }
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoContractRuleInfo;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TAutoContractRuleInfoMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TAutoContractRuleInfoService;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
/**
* 员工合同签订规则配置表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
@Log4j2
@Service
public class TAutoContractRuleInfoServiceImpl extends ServiceImpl<TAutoContractRuleInfoMapper, TAutoContractRuleInfo> implements TAutoContractRuleInfoService {
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoContractScheme;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TAutoContractSchemeMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TAutoContractSchemeService;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
/**
* 员工合同签订配置方案子表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
@Log4j2
@Service
public class TAutoContractSchemeServiceImpl extends ServiceImpl<TAutoContractSchemeMapper, TAutoContractScheme> implements TAutoContractSchemeService {
}
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yifu.cloud.plus.v1.yifu.archives.mapper.TAutoContractRuleInfoMapper">
<resultMap id="tAutoContractRuleInfoMap" type="com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoContractRuleInfo">
<id property="id" column="ID"/>
<result property="autoFlag" column="AUTO_FLAG"/>
<result property="newSignType" column="NEW_SIGN_TYPE"/>
<result property="newSignDate" column="NEW_SIGN_DATE"/>
<result property="confirmSignType" column="CONFIRM_SIGN_TYPE"/>
<result property="confirmSignDate" column="CONFIRM_SIGN_DATE"/>
<result property="renewalDateType" column="RENEWAL_DATE_TYPE"/>
<result property="renewalDate" column="RENEWAL_DATE_"/>
<result property="confirmEmpSelect" column="CONFIRM_EMP_SELECT"/>
<result property="timeoutElecSign" column="TIMEOUT_ELEC_SIGN"/>
<result property="signType" column="SIGN_TYPE"/>
<result property="mainId" column="MAIN_ID"/>
<result property="createBy" column="CREATE_BY"/>
<result property="createName" column="CREATE_NAME"/>
<result property="createTime" column="CREATE_TIME"/>
<result property="updateBy" column="UPDATE_BY"/>
<result property="updateTime" column="UPDATE_TIME"/>
<result property="deptNo" column="DEPT_NO"/>
<result property="deptId" column="DEPT_ID"/>
</resultMap>
<sql id="Base_Column_List">
a.ID,
a.AUTO_FLAG,
a.NEW_SIGN_TYPE,
a.NEW_SIGN_DATE,
a.CONFIRM_SIGN_TYPE,
a.CONFIRM_SIGN_DATE,
a.RENEWAL_DATE_TYPE,
a.RENEWAL_DATE_,
a.CONFIRM_EMP_SELECT,
a.TIMEOUT_ELEC_SIGN,
a.SIGN_TYPE,
a.MAIN_ID,
a.CREATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME,
a.DEPT_NO,
a.DEPT_ID
</sql>
<sql id="tAutoContractRuleInfo_where">
<if test="tAutoContractRuleInfo != null">
<if test="tAutoContractRuleInfo.id != null and tAutoContractRuleInfo.id.trim() != ''">
AND a.ID = #{tAutoContractRuleInfo.id}
</if>
<if test="tAutoContractRuleInfo.autoFlag != null and tAutoContractRuleInfo.autoFlag.trim() != ''">
AND a.AUTO_FLAG = #{tAutoContractRuleInfo.autoFlag}
</if>
<if test="tAutoContractRuleInfo.newSignType != null and tAutoContractRuleInfo.newSignType.trim() != ''">
AND a.NEW_SIGN_TYPE = #{tAutoContractRuleInfo.newSignType}
</if>
<if test="tAutoContractRuleInfo.newSignDate != null and tAutoContractRuleInfo.newSignDate.trim() != ''">
AND a.NEW_SIGN_DATE = #{tAutoContractRuleInfo.newSignDate}
</if>
<if test="tAutoContractRuleInfo.confirmSignType != null and tAutoContractRuleInfo.confirmSignType.trim() != ''">
AND a.CONFIRM_SIGN_TYPE = #{tAutoContractRuleInfo.confirmSignType}
</if>
<if test="tAutoContractRuleInfo.confirmSignDate != null and tAutoContractRuleInfo.confirmSignDate.trim() != ''">
AND a.CONFIRM_SIGN_DATE = #{tAutoContractRuleInfo.confirmSignDate}
</if>
<if test="tAutoContractRuleInfo.renewalDateType != null and tAutoContractRuleInfo.renewalDateType.trim() != ''">
AND a.RENEWAL_DATE_TYPE = #{tAutoContractRuleInfo.renewalDateType}
</if>
<if test="tAutoContractRuleInfo.renewalDate != null and tAutoContractRuleInfo.renewalDate.trim() != ''">
AND a.RENEWAL_DATE_ = #{tAutoContractRuleInfo.renewalDate}
</if>
<if test="tAutoContractRuleInfo.confirmEmpSelect != null and tAutoContractRuleInfo.confirmEmpSelect.trim() != ''">
AND a.CONFIRM_EMP_SELECT = #{tAutoContractRuleInfo.confirmEmpSelect}
</if>
<if test="tAutoContractRuleInfo.timeoutElecSign != null and tAutoContractRuleInfo.timeoutElecSign.trim() != ''">
AND a.TIMEOUT_ELEC_SIGN = #{tAutoContractRuleInfo.timeoutElecSign}
</if>
<if test="tAutoContractRuleInfo.signType != null and tAutoContractRuleInfo.signType.trim() != ''">
AND a.SIGN_TYPE = #{tAutoContractRuleInfo.signType}
</if>
<if test="tAutoContractRuleInfo.mainId != null and tAutoContractRuleInfo.mainId.trim() != ''">
AND a.MAIN_ID = #{tAutoContractRuleInfo.mainId}
</if>
<if test="tAutoContractRuleInfo.createBy != null and tAutoContractRuleInfo.createBy.trim() != ''">
AND a.CREATE_BY = #{tAutoContractRuleInfo.createBy}
</if>
<if test="tAutoContractRuleInfo.createName != null and tAutoContractRuleInfo.createName.trim() != ''">
AND a.CREATE_NAME = #{tAutoContractRuleInfo.createName}
</if>
<if test="tAutoContractRuleInfo.createTime != null">
AND a.CREATE_TIME = #{tAutoContractRuleInfo.createTime}
</if>
<if test="tAutoContractRuleInfo.updateBy != null and tAutoContractRuleInfo.updateBy.trim() != ''">
AND a.UPDATE_BY = #{tAutoContractRuleInfo.updateBy}
</if>
<if test="tAutoContractRuleInfo.updateTime != null">
AND a.UPDATE_TIME = #{tAutoContractRuleInfo.updateTime}
</if>
<if test="tAutoContractRuleInfo.deptNo != null and tAutoContractRuleInfo.deptNo.trim() != ''">
AND a.DEPT_NO = #{tAutoContractRuleInfo.deptNo}
</if>
<if test="tAutoContractRuleInfo.deptId != null and tAutoContractRuleInfo.deptId.trim() != ''">
AND a.DEPT_ID = #{tAutoContractRuleInfo.deptId}
</if>
</if>
</sql>
<!--tAutoContractRuleInfo简单分页查询-->
<select id="getTAutoContractRuleInfoPage" resultMap="tAutoContractRuleInfoMap">
SELECT
<include refid="Base_Column_List"/>
FROM t_auto_contract_rule_info a
<where>
1=1
<include refid="tAutoContractRuleInfo_where"/>
</where>
</select>
</mapper>
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