select *,(case ypstate when 0 then '收样中' when 1 then '正在试验' when 2 then '试验完成' when 3 then '报告审核' when 4 then '已经出报告' else '其他' end )as teststate from tl_tsoft_Material_yp_bg
sql状态查询
最新推荐文章于 2023-04-21 18:40:05 发布
select *,(case ypstate when 0 then '收样中' when 1 then '正在试验' when 2 then '试验完成' when 3 then '报告审核' when 4 then '已经出报告' else '其他' end )as teststate from tl_tsoft_Material_yp_bg