t3.sql 222 B

1234
  1. SELECT `id`,`warehosetName`,`warehoseCode`,`pastureId` FROM warehouse
  2. WHERE warehouse.`pastureId` =115 AND warehouse.isWhPostion=1
  3. -- AND (warehouse.warehoseCode LIKE CONCAT('%',?,'%') OR ?='')
  4. ORDER BY warehoseCode