You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
<?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="com.ccsens.carbasics.persist.dao.AccountManageDao">
|
|
|
|
|
|
<select id="queryApply" resultType="com.ccsens.carbasics.bean.vo.AccountVo$ApplyOfHospital">
|
|
SELECT
|
|
id AS id,
|
|
submitter AS NAME,
|
|
submitter_phone AS phone,
|
|
hospital_name,
|
|
department_name AS department,
|
|
department_code,
|
|
position_name AS position,
|
|
position_code,
|
|
audit_status
|
|
FROM
|
|
t_qcp_account_manage
|
|
WHERE
|
|
rec_status = 0
|
|
<if test="hospitalName != null and hospitalName != ''">
|
|
AND hospital_name = #{hospitalName}
|
|
</if>
|
|
<if test="name != null and name != ''">
|
|
AND submitter = #{name}
|
|
</if>
|
|
<if test="status != null">
|
|
AND audit_status = #{status}
|
|
</if>
|
|
<if test="userId != null">
|
|
AND submitter_user_id = #{userId}
|
|
</if>
|
|
</select>
|
|
|
|
</mapper>
|