增加了医生管理分页查询
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="net.lab1024.sa.admin.module.app.expert.dao.ExpertWhiteEntityDao">
|
||||
|
||||
<!-- 分页查询 -->
|
||||
<select id="queryPage" resultType="net.lab1024.sa.admin.module.business.caseplatformcase.domain.vo.GetCaseplatformExpertWhitePageVo">
|
||||
SELECT *
|
||||
FROM t_caseplatform_expert_white
|
||||
<where>
|
||||
<!--name-->
|
||||
<if test="queryForm.name != null and queryForm.name != ''">
|
||||
AND t_caseplatform_expert_white.name LIKE CONCAT('%', #{queryForm.name}, '%')
|
||||
</if>
|
||||
|
||||
<if test="queryForm.mobile != null and queryForm.mobile != ''">
|
||||
AND t_caseplatform_expert_white.mobile = #{mobile}
|
||||
</if>
|
||||
|
||||
<if test="queryForm.hospitalName != null and queryForm.hospitalName != ''">
|
||||
AND t_caseplatform_expert_white.hospital_name LIKE CONCAT('%', #{hospitalName}, '%')
|
||||
</if>
|
||||
</where>
|
||||
order by t_caseplatform_expert_white.create_time desc
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user