|
|
@@ -422,7 +422,10 @@
|
|
|
and a.`type`= #{type,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="name != null">
|
|
|
- and b.name like CONCAT('%',#{name,jdbcType=VARCHAR},'%')
|
|
|
+ and a.name like CONCAT('%',#{name,jdbcType=VARCHAR},'%')
|
|
|
+ </if>
|
|
|
+ <if test="orgName != null">
|
|
|
+ and b.name like CONCAT('%',#{orgName,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test="reserveButtUnit != null">
|
|
|
and a.reserve_butt_unit like CONCAT('%',#{reserveButtUnit,jdbcType=VARCHAR},'%')
|
|
|
@@ -441,7 +444,10 @@
|
|
|
and a.`type`= #{type,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="name != null">
|
|
|
- and b.name like CONCAT('%',#{name,jdbcType=VARCHAR},'%')
|
|
|
+ and a.name like CONCAT('%',#{name,jdbcType=VARCHAR},'%')
|
|
|
+ </if>
|
|
|
+ <if test="orgName != null">
|
|
|
+ and b.name like CONCAT('%',#{orgName,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test="reserveButtUnit != null">
|
|
|
and a.reserve_butt_unit = #{reserveButtUnit,jdbcType=VARCHAR}
|