2021
02-20
02-20
mybatis plus or and 的合并写法实例
我就废话不多说了,大家还是直接看代码吧~intcount=hrDeliverEmployContractService.selectCount(newEntityWrapper<HrDeliverEmployContractEntity>().eq("pool_id",hrDeliverEmployContract.getPoolId()).andNew().lt("contract_start_date",hrDeliverEmployContract.getContractStartDate()).or().gt("contract_end_date",hrDeliverEmployContract.getContractEndDate()));对应的SQLSELECTCOUNT(1)FROMhr_deliver_employ_c...
继续阅读 >