innerCheckTaskQuery.presto 387 B

1234567891011
  1. <script>
  2. SELECT status , count(*) AS total_num FROM UPCLOUD_BIZ_OUTBOUND.WMS_PICK_TASK_H picktaskH
  3. WHERE 1=1
  4. <if test="params.warehouseId != null and params.warehouseId != ''">
  5. and picktaskH.warehouse_id = #{warehouseId}
  6. </if>
  7. <if test="params.stationCode != null and params.stationCode != ''">
  8. and picktaskH.station_code = #{stationCode}
  9. </if>
  10. GROUP BY picktaskH.status
  11. </script>