|
|
@@ -1526,7 +1526,7 @@ left join department d on o.order_dep = d.id left join t_order_mid a on o.orde
|
|
|
and a.order_no like CONCAT('%',#{orderNo,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test="contractNo != null">
|
|
|
- and a.contract_no like CONCAT('%',#{contractNo,jdbcType=VARCHAR},'%')
|
|
|
+ and b.contract_no like CONCAT('%',#{contractNo,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test="depId != null">
|
|
|
and b.order_dep= #{depId,jdbcType=VARCHAR}
|
|
|
@@ -1571,7 +1571,7 @@ left join department d on o.order_dep = d.id left join t_order_mid a on o.orde
|
|
|
and a.order_no like CONCAT('%',#{orderNo,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test="contractNo != null">
|
|
|
- and a.contract_no like CONCAT('%',#{contractNo,jdbcType=VARCHAR},'%')
|
|
|
+ and b.contract_no like CONCAT('%',#{contractNo,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test="depId != null">
|
|
|
and b.order_dep= #{depId,jdbcType=VARCHAR}
|