|
@@ -3,13 +3,13 @@
|
|
|
<mapper namespace="org.jeecg.modules.geke.statutoryleave.mapper.StatutoryLeaveMapper">
|
|
|
|
|
|
<select id="getOne" resultType="org.jeecg.modules.geke.statutoryleave.entity.StatutoryLeave">
|
|
|
- select *from geke_statutory_leave where 1=1
|
|
|
+ select *from geke_statutory_leave where del_flag='0'
|
|
|
<if test="date!=null and ''!=date">
|
|
|
and date_format(#{date},'%Y-%m-%d') BETWEEN date_format(start_date,'%Y-%m-%d') AND date_format(end_date,'%Y-%m-%d')
|
|
|
</if>
|
|
|
</select>
|
|
|
<select id="lists" resultType="org.jeecg.modules.geke.statutoryleave.entity.StatutoryLeave">
|
|
|
- select *from geke_statutory_leave where 1=1
|
|
|
+ select *from geke_statutory_leave where del_flag='0'
|
|
|
<if test="st.name!=null and ''!=st.name">
|
|
|
and name like concat(concat('%',#{st.name}),'%')
|
|
|
</if>
|