|
|
@ -53,6 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="downloadStatus != null and downloadStatus != ''"> and download_status = #{downloadStatus}</if> |
|
|
<if test="downloadStatus != null and downloadStatus != ''"> and download_status = #{downloadStatus}</if> |
|
|
<if test="deptName != null and deptName != ''"> and dept_name like concat('%', #{deptName}, '%')</if> |
|
|
<if test="deptName != null and deptName != ''"> and dept_name like concat('%', #{deptName}, '%')</if> |
|
|
<if test="deptId != null and deptId != ''"> and dept_id = #{deptId}</if> |
|
|
<if test="deptId != null and deptId != ''"> and dept_id = #{deptId}</if> |
|
|
|
|
|
<if test="userId != null and userId != ''"> and user_id = #{userId}</if> |
|
|
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if> |
|
|
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if> |
|
|
<if test="importFileName != null and importFileName != ''"> and import_file_name like concat('%', #{importFileName}, '%')</if> |
|
|
<if test="importFileName != null and importFileName != ''"> and import_file_name like concat('%', #{importFileName}, '%')</if> |
|
|
<if test="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</if> |
|
|
<if test="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</if> |
|
|
@ -71,6 +72,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
limit 1 |
|
|
limit 1 |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<select id="selectByEnterpriseNumberAndUserId" resultMap="EnterprisePubQrcodeResult"> |
|
|
|
|
|
<include refid="selectEnterprisePubQrcodeVo"/> |
|
|
|
|
|
where enterprise_number = #{enterpriseNumber} |
|
|
|
|
|
and user_id = #{userId} |
|
|
|
|
|
limit 1 |
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
<select id="selectEnterprisePubQrcodeByIds" resultMap="EnterprisePubQrcodeResult"> |
|
|
<select id="selectEnterprisePubQrcodeByIds" resultMap="EnterprisePubQrcodeResult"> |
|
|
<include refid="selectEnterprisePubQrcodeVo"/> |
|
|
<include refid="selectEnterprisePubQrcodeVo"/> |
|
|
where id in |
|
|
where id in |
|
|
|