合同档案-搜索修改为模糊搜索,员工档案-搜索栏以下三个修改为模糊搜索,客户档案-修改模糊搜索 默认库房选择sql修改

new
parent 1b7a6fa1d0
commit e7db84d542

@ -19,16 +19,16 @@ public interface ElectronicContractsMapper extends BaseMapperX<ElectronicContrac
default PageResult<ElectronicContractsDO> selectPage(ElectronicContractsPageReqVO reqVO) { default PageResult<ElectronicContractsDO> selectPage(ElectronicContractsPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ElectronicContractsDO>() return selectPage(reqVO, new LambdaQueryWrapperX<ElectronicContractsDO>()
.eqIfPresent(ElectronicContractsDO::getCreateBy, reqVO.getCreateBy()) .likeIfPresent(ElectronicContractsDO::getCreateBy, reqVO.getCreateBy())
.betweenIfPresent(ElectronicContractsDO::getCreateTime, reqVO.getCreateTime()) .betweenIfPresent(ElectronicContractsDO::getCreateTime, reqVO.getCreateTime())
.eqIfPresent(ElectronicContractsDO::getCompanyId, reqVO.getCompanyId()) .eqIfPresent(ElectronicContractsDO::getCompanyId, reqVO.getCompanyId())
.eqIfPresent(ElectronicContractsDO::getCompany, reqVO.getCompany()) .eqIfPresent(ElectronicContractsDO::getCompany, reqVO.getCompany())
.eqIfPresent(ElectronicContractsDO::getDeptId, reqVO.getDeptId()) .eqIfPresent(ElectronicContractsDO::getDeptId, reqVO.getDeptId())
.likeIfPresent(ElectronicContractsDO::getDeptName, reqVO.getDeptName()) .likeIfPresent(ElectronicContractsDO::getDeptName, reqVO.getDeptName())
.eqIfPresent(ElectronicContractsDO::getContractCode, reqVO.getContractCode()) .likeIfPresent(ElectronicContractsDO::getContractCode, reqVO.getContractCode())
.eqIfPresent(ElectronicContractsDO::getContractTitle, reqVO.getContractTitle()) .likeIfPresent(ElectronicContractsDO::getContractTitle, reqVO.getContractTitle())
.eqIfPresent(ElectronicContractsDO::getContractType, reqVO.getContractType()) .eqIfPresent(ElectronicContractsDO::getContractType, reqVO.getContractType())
.eqIfPresent(ElectronicContractsDO::getSignatory, reqVO.getSignatory()) .likeIfPresent(ElectronicContractsDO::getSignatory, reqVO.getSignatory())
.betweenIfPresent(ElectronicContractsDO::getSignDate, reqVO.getSignDate()) .betweenIfPresent(ElectronicContractsDO::getSignDate, reqVO.getSignDate())
.betweenIfPresent(ElectronicContractsDO::getEffectiveDate, reqVO.getEffectiveDate()) .betweenIfPresent(ElectronicContractsDO::getEffectiveDate, reqVO.getEffectiveDate())
.betweenIfPresent(ElectronicContractsDO::getExpiryDate, reqVO.getExpiryDate()) .betweenIfPresent(ElectronicContractsDO::getExpiryDate, reqVO.getExpiryDate())

@ -19,7 +19,7 @@ public interface ElectronicCustomerComplaintMapper extends BaseMapperX<Electroni
default PageResult<ElectronicCustomerComplaintDO> selectPage(ElectronicCustomerComplaintPageReqVO reqVO) { default PageResult<ElectronicCustomerComplaintDO> selectPage(ElectronicCustomerComplaintPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ElectronicCustomerComplaintDO>() return selectPage(reqVO, new LambdaQueryWrapperX<ElectronicCustomerComplaintDO>()
.eqIfPresent(ElectronicCustomerComplaintDO::getCreateBy, reqVO.getCreateBy()) .likeIfPresent(ElectronicCustomerComplaintDO::getCreateBy, reqVO.getCreateBy())
.betweenIfPresent(ElectronicCustomerComplaintDO::getCreateTime, reqVO.getCreateTime()) .betweenIfPresent(ElectronicCustomerComplaintDO::getCreateTime, reqVO.getCreateTime())
.eqIfPresent(ElectronicCustomerComplaintDO::getCompany, reqVO.getCompany()) .eqIfPresent(ElectronicCustomerComplaintDO::getCompany, reqVO.getCompany())
.likeIfPresent(ElectronicCustomerComplaintDO::getDeptName, reqVO.getDeptName()) .likeIfPresent(ElectronicCustomerComplaintDO::getDeptName, reqVO.getDeptName())
@ -29,7 +29,7 @@ public interface ElectronicCustomerComplaintMapper extends BaseMapperX<Electroni
.betweenIfPresent(ElectronicCustomerComplaintDO::getComplaintTime, reqVO.getComplaintTime()) .betweenIfPresent(ElectronicCustomerComplaintDO::getComplaintTime, reqVO.getComplaintTime())
.eqIfPresent(ElectronicCustomerComplaintDO::getComplaintType, reqVO.getComplaintType()) .eqIfPresent(ElectronicCustomerComplaintDO::getComplaintType, reqVO.getComplaintType())
.eqIfPresent(ElectronicCustomerComplaintDO::getComplaintContent, reqVO.getComplaintContent()) .eqIfPresent(ElectronicCustomerComplaintDO::getComplaintContent, reqVO.getComplaintContent())
.eqIfPresent(ElectronicCustomerComplaintDO::getHandler, reqVO.getHandler()) .likeIfPresent(ElectronicCustomerComplaintDO::getHandler, reqVO.getHandler())
.betweenIfPresent(ElectronicCustomerComplaintDO::getHandleTime, reqVO.getHandleTime()) .betweenIfPresent(ElectronicCustomerComplaintDO::getHandleTime, reqVO.getHandleTime())
.eqIfPresent(ElectronicCustomerComplaintDO::getHandleResult, reqVO.getHandleResult()) .eqIfPresent(ElectronicCustomerComplaintDO::getHandleResult, reqVO.getHandleResult())
.eqIfPresent(ElectronicCustomerComplaintDO::getYear, reqVO.getYear()) .eqIfPresent(ElectronicCustomerComplaintDO::getYear, reqVO.getYear())

@ -19,7 +19,7 @@ public interface ElectronicEmployeeMapper extends BaseMapperX<ElectronicEmployee
default PageResult<ElectronicEmployeeDO> selectPage(ElectronicEmployeePageReqVO reqVO) { default PageResult<ElectronicEmployeeDO> selectPage(ElectronicEmployeePageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<ElectronicEmployeeDO>() return selectPage(reqVO, new LambdaQueryWrapperX<ElectronicEmployeeDO>()
.eqIfPresent(ElectronicEmployeeDO::getCreateBy, reqVO.getCreateBy()) .likeIfPresent(ElectronicEmployeeDO::getCreateBy, reqVO.getCreateBy())
.betweenIfPresent(ElectronicEmployeeDO::getCreateTime, reqVO.getCreateTime()) .betweenIfPresent(ElectronicEmployeeDO::getCreateTime, reqVO.getCreateTime())
.eqIfPresent(ElectronicEmployeeDO::getCompany, reqVO.getCompany()) .eqIfPresent(ElectronicEmployeeDO::getCompany, reqVO.getCompany())
.likeIfPresent(ElectronicEmployeeDO::getDeptName, reqVO.getDeptName()) .likeIfPresent(ElectronicEmployeeDO::getDeptName, reqVO.getDeptName())

@ -53,7 +53,7 @@ public interface OrganizationMapper extends BaseMapperX<OrganizationDO> {
+ "IFNULL(c.id, '') AS cabinetId, IFNULL(c.name, '') AS cabinetName, IFNULL(c.code, '') AS cabinetCode " + "IFNULL(c.id, '') AS cabinetId, IFNULL(c.name, '') AS cabinetName, IFNULL(c.code, '') AS cabinetCode "
+ "FROM setting_organization o " + "FROM setting_organization o "
+ "LEFT JOIN setting_depot d ON o.id = d.organization_id " + "LEFT JOIN setting_depot d ON o.id = d.organization_id "
+ "LEFT JOIN setting_depot_cabinet c ON d.id = c.depot_id ") + "LEFT JOIN setting_depot_cabinet c ON d.id = c.depot_id " +"WHERE o.deleted = 0")
@Results({ @Result(property = "organizationId", column = "organizationId"), @Results({ @Result(property = "organizationId", column = "organizationId"),
@Result(property = "organizationName", column = "organizationName"), @Result(property = "organizationName", column = "organizationName"),
@Result(property = "organizationCode", column = "organizationCode"), @Result(property = "organizationCode", column = "organizationCode"),

Loading…
Cancel
Save