| | |
| | | |
| | | <select id="remakList"> |
| | | SELECT |
| | | JSON_UNQUOTE(JSON_EXTRACT(other_columns, '$.S01')) AS S01, |
| | | JSON_UNQUOTE(JSON_EXTRACT(other_columns, '$.S04')) AS S02, |
| | | JSON_UNQUOTE(JSON_EXTRACT(other_columns, '$.S05')) AS S03, |
| | | JSON_UNQUOTE(JSON_EXTRACT(other_columns, '$.S06')) AS S04, |
| | | JSON_UNQUOTE(JSON_EXTRACT(other_columns, '$.S07')) AS S05 |
| | | ifnull(JSON_UNQUOTE(JSON_EXTRACT(other_columns, '$.S01')),'') AS S01, |
| | | ifnull(JSON_UNQUOTE(JSON_EXTRACT(other_columns, '$.S04')),'') AS S02, |
| | | ifnull(JSON_UNQUOTE(JSON_EXTRACT(other_columns, '$.S05')),'') AS S03, |
| | | ifnull(JSON_UNQUOTE(JSON_EXTRACT(other_columns, '$.S06')),'') AS S04, |
| | | ifnull(JSON_UNQUOTE(JSON_EXTRACT(other_columns, '$.S07')),'') AS S05 |
| | | FROM flow_card as fc left join sd.order_detail as od on fc.order_id = od.order_id |
| | | and fc.order_number = od.order_number |
| | | WHERE fc.process_id=#{processId} |