|
|
@@ -511,7 +511,7 @@
|
|
|
</if>
|
|
|
<if test="employerName != null">
|
|
|
and d.employer_name like CONCAT('%',#{employerName,jdbcType=VARCHAR},'%')
|
|
|
- and d.employer_id is null
|
|
|
+ and (d.employer_id is null or d.employer_id='')
|
|
|
</if>
|
|
|
<if test="infoSources != null">
|
|
|
and d.info_sources = #{infoSources,jdbcType=INTEGER}
|
|
|
@@ -579,7 +579,7 @@
|
|
|
</if>
|
|
|
<if test="employerName != null">
|
|
|
and d.employer_name like CONCAT('%',#{employerName,jdbcType=VARCHAR},'%')
|
|
|
- and d.employer_id is null
|
|
|
+ and (d.employer_id is null or d.employer_id='')
|
|
|
</if>
|
|
|
<if test="infoSources != null">
|
|
|
and d.info_sources = #{infoSources,jdbcType=INTEGER}
|
|
|
@@ -646,14 +646,14 @@
|
|
|
and d.name like CONCAT('%',#{name,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test="keyword != null">
|
|
|
- and d.keyword like "%"#{keyword,jdbcType=VARCHAR}"%"
|
|
|
+ and d.keyword like CONCAT('%',#{keyword,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test="unitName != null">
|
|
|
and oi.unit_name like CONCAT('%',#{unitName,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test="employerName != null">
|
|
|
and d.employer_name like CONCAT('%',#{employerName,jdbcType=VARCHAR},'%')
|
|
|
- and d.employer_id is null
|
|
|
+ and (d.employer_id is null or d.employer_id='')
|
|
|
</if>
|
|
|
<if test="infoSources != null">
|
|
|
and d.info_sources = #{infoSources,jdbcType=INTEGER}
|
|
|
@@ -725,7 +725,7 @@
|
|
|
</if>
|
|
|
<if test="employerName != null">
|
|
|
and d.employer_name like CONCAT('%',#{employerName,jdbcType=VARCHAR},'%')
|
|
|
- and d.employer_id is null
|
|
|
+ and (d.employer_id is null or d.employer_id='')
|
|
|
</if>
|
|
|
<if test="infoSources != null">
|
|
|
and d.info_sources = #{infoSources,jdbcType=INTEGER}
|