yys
maven
16 小时以前 7f616cfc0eeb35dd08cbd070b81661d351386c95
yys
已修改2个文件
4 ■■■■ 文件已修改
src/main/resources/mapper/staff/StaffJoinLeaveRecordMapper.xml 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/staff/StaffOnJobMapper.xml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/staff/StaffJoinLeaveRecordMapper.xml
@@ -12,6 +12,9 @@
        <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>
src/main/resources/mapper/staff/StaffOnJobMapper.xml
@@ -14,6 +14,7 @@
        <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 &gt;= DATE_FORMAT(#{staffOnJob.entryDateStart},'%Y-%m-%d')
        </if>