feat(staff): 添加民族字段及相关查询支持
| | |
| | | * 离职原因文本 |
| | | */ |
| | | private String reasonText; |
| | | |
| | | /** |
| | | * 民族 |
| | | */ |
| | | private String nation; |
| | | } |
| | |
| | | soj.staff_no as staffNo, |
| | | soj.sex as sex, |
| | | soj.native_place as nativePlace, |
| | | soj.nation as nation, |
| | | soj.adress as adress, |
| | | soj.first_study as firstStudy, |
| | | soj.profession as profession, |
| | |
| | | <if test="c.staffName != null and c.staffName != '' "> |
| | | AND soj.staff_name LIKE CONCAT('%',#{c.staffName},'%') |
| | | </if> |
| | | <if test="c.nation != null and c.nation != '' "> |
| | | AND soj.nation = #{c.nation} |
| | | </if> |
| | | </select> |
| | | <select id="staffLeaveList" resultType="com.ruoyi.staff.dto.StaffLeaveDto"> |
| | | SELECT |
| | |
| | | <if test="staffOnJob.staffState != null"> |
| | | AND staff_state = #{staffOnJob.staffState} |
| | | </if> |
| | | <if test="staffOnJob.nation != null"> |
| | | AND nation = #{staffOnJob.nation} |
| | | </if> |
| | | <if test="staffOnJob.staffName != null and staffOnJob.staffName != '' "> |
| | | AND staff_name LIKE CONCAT('%',#{staffOnJob.staffName},'%') |
| | | </if> |