| | |
| | | <!--派遣记录分页数据--> |
| | | <select id="selectDispatcherPage" resultType="org.springblade.modules.dispatcher.vo.DispatcherVO"> |
| | | select |
| | | sd.*,sdu.name dispatcherCompany |
| | | sd.*,sd.name securityName,sdu.name dispatcherCompany |
| | | from |
| | | sys_dispatcher sd |
| | | left join |
| | |
| | | <if test="dispatcher.dispatcherCompany!=null and dispatcher.dispatcherCompany!=''"> |
| | | and sdu.name like concat('%', #{dispatcher.dispatcherCompany},'%') |
| | | </if> |
| | | <if test="dispatcher.beginTime!=null and dispatcher.beginTime!=''"> |
| | | and sd.dispatcherTime > #{dispatcher.beginTime} |
| | | </if> |
| | | <if test="dispatcher.overTime!=null and dispatcher.overTime!=''"> |
| | | and sd.end_time < #{dispatcher.overTime} |
| | | </if> |
| | | </select> |
| | | |
| | | <!--派遣记录详情--> |