|
@@ -119,7 +119,11 @@
|
|
|
|
|
|
<select id="findCommitteeAndExpert" parameterType="Long" resultMap="twoComAndExp">
|
|
|
select c.pb_id,c.xid,c.sid,c.status,c.is_leader,e.* from bid_committee c
|
|
|
- inner join bs_expert e on e.jid = c.jid where c.sid=#{sid}
|
|
|
+ inner join bs_expert e on e.jid = c.jid
|
|
|
+ <where>
|
|
|
+ <if test="sid != null"> and sid = #{sid}</if>
|
|
|
+ <if test="status != null"> and status = #{status}</if>
|
|
|
+ </where>
|
|
|
</select>
|
|
|
<resultMap id="twoComAndExp" type="com.hh.bidding.domain.BidCommittee">
|
|
|
<id column="pb_id" property="pbId"/>
|