| | |
| | | ORDER BY rn; |
| | | |
| | | </select> |
| | | <select id="selectOneData" resultType="com.ruoyi.quality.pojo.QualityInspect"> |
| | | select id, |
| | | inspect_type, |
| | | check_time, |
| | | production_date, |
| | | supplier, |
| | | customer, |
| | | process, |
| | | check_name, |
| | | product_id, |
| | | product_name, |
| | | model, |
| | | unit, |
| | | quantity, |
| | | check_company, |
| | | check_result, |
| | | create_time, |
| | | create_user, |
| | | update_time, |
| | | update_user, |
| | | tenant_id, |
| | | inspect_state, |
| | | purchase_ledger_id, |
| | | product_main_id, |
| | | defective_phenomena, |
| | | product_model_id, |
| | | test_standard_id, |
| | | inspected_quantity, |
| | | |
| | | case |
| | | when inspect_material_condition = '检验用液剂情况' then |
| | | '☐' |
| | | else |
| | | '☑' |
| | | end as inspect_material_condition_a, |
| | | case |
| | | when inspect_material_condition = '检验用粉剂情况' then |
| | | '☐' |
| | | else |
| | | '☑' |
| | | end as inspect_material_condition_b, |
| | | |
| | | validity_date, |
| | | manufacturing_team, |
| | | batch_no |
| | | |
| | | from quality_inspect |
| | | where id = #{id}; |
| | | </select> |
| | | |
| | | |
| | | </mapper> |