|
@@ -26,9 +26,6 @@
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
AND (lower(contract_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
AND (lower(contract_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
OR lower(in_out_task_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
OR lower(in_out_task_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
- OR lower(move_task_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
|
- OR lower(send_warehouse) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
|
- OR lower(receive_warehouse) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
|
</if>
|
|
</if>
|
|
</select>
|
|
</select>
|
|
<!-- 获得出入库任务列表 -->
|
|
<!-- 获得出入库任务列表 -->
|
|
@@ -38,7 +35,6 @@
|
|
id,
|
|
id,
|
|
contract_no as contractNo,
|
|
contract_no as contractNo,
|
|
in_out_task_no as inOutTaskNo,
|
|
in_out_task_no as inOutTaskNo,
|
|
- move_task_no as moveTaskNo,
|
|
|
|
warehouse_name as warehouseName,
|
|
warehouse_name as warehouseName,
|
|
in_out_type as inOutType,
|
|
in_out_type as inOutType,
|
|
goods_name as goodsName,
|
|
goods_name as goodsName,
|
|
@@ -47,12 +43,7 @@
|
|
publisher as publisher,
|
|
publisher as publisher,
|
|
task_status as taskStatus,
|
|
task_status as taskStatus,
|
|
establish_date as establishDate,
|
|
establish_date as establishDate,
|
|
- send_warehouse as sendWarehouse,
|
|
|
|
- receive_warehouse as receiveWarehouse,
|
|
|
|
- delivery_volume as deliveryVolume,
|
|
|
|
- storage_volume as storageVolume,
|
|
|
|
- stock_return as stockReturn,
|
|
|
|
- transport_loss as transportLoss
|
|
|
|
|
|
+ relevance_id as relevanceId
|
|
FROM in_out_warehouse_task
|
|
FROM in_out_warehouse_task
|
|
WHERE
|
|
WHERE
|
|
comp_id = #{compId}
|
|
comp_id = #{compId}
|
|
@@ -74,9 +65,6 @@
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
<if test="searchKeyWord != null and searchKeyWord != ''">
|
|
AND (lower(contract_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
AND (lower(contract_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
OR lower(in_out_task_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
OR lower(in_out_task_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
- OR lower(move_task_no) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
|
- OR lower(send_warehouse) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
|
- OR lower(receive_warehouse) like lower(CONCAT('%',#{searchKeyWord},'%'))
|
|
|
|
</if>
|
|
</if>
|
|
ORDER BY task_status DESC , establish_date DESC
|
|
ORDER BY task_status DESC , establish_date DESC
|
|
<if test="currentPage != null and currentPage != ''">
|
|
<if test="currentPage != null and currentPage != ''">
|