huminmin
2026-04-08 f7b8a02843673c19e21b275d1c54e2a778bfedd4
src/main/resources/mapper/quality/QualityInspectMapper.xml
@@ -446,16 +446,16 @@
    <select id="selectOneData" resultType="com.ruoyi.quality.pojo.QualityInspect">
        select *,
               case
                   when inspect_material_condition = '检验用液剂情况' then
                       '☐'
                   else
                   when inspect_material_condition = '检验用粉剂' then
                       '☑'
                   else
                       '☐'
                   end as inspect_material_condition_a,
               case
                   when inspect_material_condition = '检验用粉剂情况' then
                       '☐'
                   else
                   when inspect_material_condition = '检验用液剂' then
                       '☑'
                   else
                       '☐'
                   end as inspect_material_condition_b
        from quality_inspect
        where id = #{id};