|
|
@ -1169,7 +1169,7 @@ |
|
|
|
IF |
|
|
|
IF |
|
|
|
( ldl.id IS NOT NULL, 1, ldl.id ) AS is_loading, |
|
|
|
( ldl.id IS NOT NULL, 1, ldl.id ) AS is_loading, |
|
|
|
1 is_out, |
|
|
|
1 is_out, |
|
|
|
ldpl.conditions AS goods_type, |
|
|
|
IF(ldpl.conditions = 1, 0 ,ldpl.conditions) AS goods_type, |
|
|
|
ldl.received_quantity AS signNum, |
|
|
|
ldl.received_quantity AS signNum, |
|
|
|
5 AS broke_state |
|
|
|
5 AS broke_state |
|
|
|
FROM |
|
|
|
FROM |
|
|
@ -1200,7 +1200,7 @@ |
|
|
|
IF |
|
|
|
IF |
|
|
|
( ldl.id IS NOT NULL, 1, ldl.id ) AS is_loading, |
|
|
|
( ldl.id IS NOT NULL, 1, ldl.id ) AS is_loading, |
|
|
|
1 is_out, |
|
|
|
1 is_out, |
|
|
|
ldpl.conditions AS goods_type, |
|
|
|
IF(ldpl.conditions = 1, 0 ,ldpl.conditions) AS goods_type, |
|
|
|
ldl.received_quantity AS signNum, |
|
|
|
ldl.received_quantity AS signNum, |
|
|
|
5 AS broke_state |
|
|
|
5 AS broke_state |
|
|
|
FROM |
|
|
|
FROM |
|
|
@ -1234,7 +1234,7 @@ |
|
|
|
ldl.signing_time AS sign_time, |
|
|
|
ldl.signing_time AS sign_time, |
|
|
|
1 AS is_out, |
|
|
|
1 AS is_out, |
|
|
|
ldsl.quantity_stock AS num, |
|
|
|
ldsl.quantity_stock AS num, |
|
|
|
3 AS goods_type, |
|
|
|
2 AS goods_type, |
|
|
|
ldl.received_quantity AS sign_num, |
|
|
|
ldl.received_quantity AS sign_num, |
|
|
|
4 AS broke_state |
|
|
|
4 AS broke_state |
|
|
|
FROM |
|
|
|
FROM |
|
|
@ -1269,7 +1269,7 @@ |
|
|
|
ldl.signing_time AS sign_time, |
|
|
|
ldl.signing_time AS sign_time, |
|
|
|
1 AS is_out, |
|
|
|
1 AS is_out, |
|
|
|
ldsl.quantity_stock AS num, |
|
|
|
ldsl.quantity_stock AS num, |
|
|
|
3 AS goods_type, |
|
|
|
2 AS goods_type, |
|
|
|
ldl.received_quantity AS sign_num, |
|
|
|
ldl.received_quantity AS sign_num, |
|
|
|
4 AS broke_state |
|
|
|
4 AS broke_state |
|
|
|
FROM |
|
|
|
FROM |
|
|
|