| | |
| | | <if test="staffJoinLeaveRecord.staffName != null and staffJoinLeaveRecord.staffName != '' "> |
| | | AND t1.staff_name LIKE CONCAT('%',#{staffJoinLeaveRecord.staffName},'%') |
| | | </if> |
| | | <if test="staffOnJob.deptPositionId != null"> |
| | | AND t1.dept_position_id = #{staffOnJob.deptPositionId} |
| | | </if> |
| | | <if test="staffJoinLeaveRecord.entryDateStart != null and staffJoinLeaveRecord.entryDateStart != '' "> |
| | | and t1.contract_start_time like concat('%',#{staffJoinLeaveRecord.entryDateStart},'%') |
| | | </if> |
| | |
| | | <if test="staffOnJob.staffName != null and staffOnJob.staffName != '' "> |
| | | AND t1.staff_name LIKE CONCAT('%',#{staffOnJob.staffName},'%') |
| | | </if> |
| | | |
| | | <if test="staffOnJob.entryDateStart != null and staffOnJob.entryDateStart != '' "> |
| | | AND t1.contract_expire_time >= DATE_FORMAT(#{staffOnJob.entryDateStart},'%Y-%m-%d') |
| | | </if> |