|
...
|
...
|
@@ -9,7 +9,7 @@ |
|
|
|
a.id,a.order_id,a.part_number,a.product_name,
|
|
|
|
a.specifications,a.type,a.appearance_size,a.num,a.danwei,a.brand,a.wu_type,
|
|
|
|
a.work_order,a.purpose,a.ku,a.sq_time,a.delivery_time,a.notes,a.applicant,
|
|
|
|
a.approval_status,a.approval_result,a.create_by,a.create_time,a.update_by,a.update_time,a.choose_status,
|
|
|
|
a.approval_status,a.approval_result,a.create_by,a.create_time,a.update_by,a.update_time,a.choose_status,a.source,
|
|
|
|
IF
|
|
|
|
( a.choose_status = '0', b.oper_number, '0' ) AS oper_number
|
|
|
|
FROM
|
|
...
|
...
|
@@ -17,7 +17,7 @@ |
|
|
|
LEFT JOIN view_depot_stock b ON a.part_number = b.part_number
|
|
|
|
where 1=1
|
|
|
|
<if test="biddingShenqForm.applicant!=null and biddingShenqForm.applicant !=''">
|
|
|
|
and (a.applicant like concat('%',#{biddingShenqForm.applicant},'%') or a.choose_status = '1')
|
|
|
|
and (a.applicant like concat('%',#{biddingShenqForm.applicant},'%') or a.source = '1')
|
|
|
|
</if>
|
|
|
|
<if test="biddingShenqForm.approvalStatus!=null and biddingShenqForm.approvalStatus !=''">
|
|
|
|
and a.approval_status like concat('%',#{biddingShenqForm.approvalStatus},'%')
|
...
|
...
|
|