|
@@ -309,7 +309,7 @@
|
|
|
left join warehouse_base_info wbi on wbi.id = w.base_id
|
|
|
where wbi.comp_id = #{compId}
|
|
|
and w.delete_flag = '0'
|
|
|
- and w.status_flag = '1'
|
|
|
+ and w.status_flag = '3'
|
|
|
and w.in_out_type like "%${type}%"
|
|
|
and w.create_date >= CURDATE()
|
|
|
</select>
|
|
@@ -327,8 +327,9 @@
|
|
|
a.delete_flag = 0
|
|
|
AND b.comp_id = #{compId}
|
|
|
AND a.in_out_type = '移库出库'
|
|
|
+ and a.create_date > '2022-10-10'
|
|
|
AND a.car_id is not null
|
|
|
- and SUBSTR(a.in_out_task_no,3) = SUBSTR(c.in_out_task_no,3)
|
|
|
+ AND c.id is null
|
|
|
</select>
|
|
|
<!-- 关键字查询 -->
|
|
|
<select id="brokenLineStatisticalChartByYear" parameterType="Map"
|