| | |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="org.springblade.modules.equipage.mapper.EquipageMapper"> |
| | | |
| | | <!--车辆分页信息--> |
| | | <!--装备分页信息--> |
| | | <select id="selectEquipagePage" resultType="org.springblade.modules.equipage.vo.EquipageVo"> |
| | | SELECT |
| | | se.*,bt.dept_name AS tenantName |
| | |
| | | <if test="equipage.name!=null and equipage.name!=''"> |
| | | and se.name like concat('%', #{equipage.name},'%') |
| | | </if> |
| | | <if test="equipage.brand!=null and equipage.brand!=''"> |
| | | and se.brand like concat('%', #{equipage.brand},'%') |
| | | </if> |
| | | <if test="equipage.personInCharge!=null and equipage.personInCharge!=''"> |
| | | and se.person_in_charge like concat('%', #{equipage.personInCharge},'%') |
| | | </if> |