yuan
2 天以前 5a44cc19254b49329c33bbe82446764cdcc6a7d5
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};