|
@@ -25,9 +25,10 @@
|
|
|
LEFT JOIN fbs_technological_process ftp on fwdl.fbs_technological_process_id=ftp.id
|
|
|
WHERE
|
|
|
fwdl.del_flag = '0'
|
|
|
- and DATE_FORMAT( #{date},'%Y-%m-%d') <![CDATA[ >= ]]> DATE_FORMAT(fwdl.planned_start_time,'%Y-%m-%d')
|
|
|
- and DATE_FORMAT( #{date},'%Y-%m-%d') <![CDATA[ <= ]]> DATE_FORMAT(fwdl.planned_end_time,'%Y-%m-%d')
|
|
|
+ <!-- and DATE_FORMAT( #{date},'%Y-%m-%d') <![CDATA[ >= ]]> DATE_FORMAT(fwdl.planned_start_time,'%Y-%m-%d')
|
|
|
+ and DATE_FORMAT( #{date},'%Y-%m-%d') <![CDATA[ <= ]]> DATE_FORMAT(fwdl.planned_end_time,'%Y-%m-%d')-->
|
|
|
<!--AND date_format( date, '%Y-%m-%d' ) = DATE_FORMAT( #{date}, '%Y-%m-%d' )-->
|
|
|
+ and fwdl.production_order_number_name =#{productionOrderNumberName}
|
|
|
GROUP BY
|
|
|
product
|
|
|
</select>
|