2022-12-08 09:56:25 +08:00
|
|
|
package com.engine.organization.mapper.version;
|
|
|
|
|
|
2022-12-09 16:04:35 +08:00
|
|
|
import com.engine.organization.entity.version.HrmDepartmentVersion;
|
|
|
|
|
import com.engine.organization.entity.version.HrmResourceVersion;
|
2022-12-09 08:50:23 +08:00
|
|
|
import com.engine.organization.entity.version.HrmSubCompanyVersion;
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
2022-12-08 09:56:25 +08:00
|
|
|
/**
|
|
|
|
|
* @Author weaver_cl
|
|
|
|
|
* @Description:
|
|
|
|
|
* @Date 2022/12/8
|
|
|
|
|
* @Version V1.0
|
|
|
|
|
**/
|
|
|
|
|
public interface CompanyVersionMapper {
|
2022-12-09 08:50:23 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 取分部版本最大记录
|
|
|
|
|
*/
|
2022-12-09 16:04:35 +08:00
|
|
|
HrmSubCompanyVersion getMaxVersion(@Param("subComId") String subComId);
|
2022-12-09 08:50:23 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增分部版本
|
|
|
|
|
*/
|
|
|
|
|
int insertHrmSubComVersion(HrmSubCompanyVersion hrmSubCompanyVersion);
|
2022-12-09 16:04:35 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 取部门版本最大记录
|
|
|
|
|
*/
|
|
|
|
|
HrmDepartmentVersion getMaxDeptVersion(@Param("departmentid") String departmentid);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增部门版本
|
|
|
|
|
*/
|
|
|
|
|
int insertHrmDeptVersion(HrmDepartmentVersion hrmDepartmentVersion);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 人员版本最大记录
|
|
|
|
|
*/
|
|
|
|
|
HrmResourceVersion getMaxHrmVersion(@Param("getMaxHrmVersion") String getMaxHrmVersion);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增人员版本
|
|
|
|
|
*/
|
|
|
|
|
int insertHrmResourceVersion(HrmResourceVersion hrmResourceVersion);
|
2022-12-08 09:56:25 +08:00
|
|
|
}
|