liding
7 天以前 6b32f837de57c227588276be75c6cd875214632e
src/main/resources/mapper/quality/QualityInspectMapper.xml
@@ -443,6 +443,23 @@
        ORDER BY rn;
    </select>
    <select id="selectOneData" resultType="com.ruoyi.quality.pojo.QualityInspect">
        select *,
               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
        from quality_inspect
        where id = #{id};
    </select>
</mapper>