增加了医生管理分页查询

This commit is contained in:
2025-07-06 23:52:13 +08:00
parent 7d91e804a2
commit 5909c9682e
7 changed files with 239 additions and 69 deletions
@@ -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>