Commit dc918e8e372c320acf1b0929d8a180506abcfc4a

Authored by 房远帅
2 parents 9fa78665 9480ec50

Merge branch 'master_cj_zq' into master_sample_order

... ... @@ -196,6 +196,10 @@
196 196 <if test="vo.orderingUnitName != null and vo.orderingUnitName != ''">
197 197 AND cu.name LIKE CONCAT('%', #{vo.orderingUnitName},'%')
198 198 </if>
  199 + <if test="vo.searchKey != null and vo.searchKey != ''">
  200 + AND (cu.name LIKE CONCAT('%', #{vo.searchKey},'%')
  201 + or tb.order_no LIKE CONCAT('%', #{vo.searchKey},'%'))
  202 + </if>
199 203 <if test="vo.orderDateStart != null">
200 204 AND tb.order_date >= #{vo.orderDateStart}
201 205 </if>
... ...