| | |
| | | and fol.type regexp #{finishedOperateLog.type} |
| | | </if> |
| | | <if test="finishedOperateLog.remarks != null and finishedOperateLog.remarks != ''"> |
| | | and fol.remarks regexp #{finishedOperateLog.remarksr} |
| | | and fol.remarks regexp #{finishedOperateLog.remarks} |
| | | </if> |
| | | <if test="finishedOperateLog.area != null and finishedOperateLog.area != ''"> |
| | | and fol.area regexp #{finishedOperateLog.area} |
| | |
| | | and fol.type regexp #{finishedOperateLog.type} |
| | | </if> |
| | | <if test="finishedOperateLog.remarks != null and finishedOperateLog.remarks != ''"> |
| | | and fol.remarks regexp #{finishedOperateLog.remarksr} |
| | | and fol.remarks regexp #{finishedOperateLog.remarks} |
| | | </if> |
| | | <if test="finishedOperateLog.area != null and finishedOperateLog.area != ''"> |
| | | and fol.area regexp #{finishedOperateLog.area} |
| | |
| | | and o.delivery_address regexp #{finishedOperateLog.order.deliveryAddress} |
| | | </if> |
| | | <if test="finishedOperateLog.remarks != null and finishedOperateLog.remarks != ''"> |
| | | and fol.remarks regexp #{finishedOperateLog.remarksr} |
| | | and fol.remarks regexp #{finishedOperateLog.remarks} |
| | | </if> |
| | | </where> |
| | | group by fol.remarks,od.order_id |
| | |
| | | and o.delivery_address regexp #{finishedOperateLog.order.deliveryAddress} |
| | | </if> |
| | | <if test="finishedOperateLog.remarks != null and finishedOperateLog.remarks != ''"> |
| | | and fol.remarks regexp #{finishedOperateLog.remarksr} |
| | | and fol.remarks regexp #{finishedOperateLog.remarks} |
| | | </if> |
| | | </where> |
| | | group by fol.remarks,od.order_id,fol.process_id) as zu |
| | |
| | | select kkk.*,rw.teams_groups_name as teams_groups_name2 from(select o.order_id, |
| | | o.customer_name, |
| | | o.project, |
| | | o.batch, |
| | | fol.remarks, |
| | | SUM(fol.quantity) as quantity, |
| | | ROUND( sum(od.width * od.height * fol.quantity) / 1000000, 2 ) as area, |