case when t.status = '0' then '进行中' when t.status = '1' then '已完成' when t.status = '2' then '待审批' when t.status = '3' then '审批通过' when t.status = '4' then '审批不通过' else '' end as statusName,
case when t.status = '1' then '进行中' when t.status = '2' then '已完成' when t.status = '3' then '待审批' when t.status = '4' then '审批通过' when t.status = '5' then '审批不通过' else '' end as statusName,
ba.link as attachLink,
ba.original_name as attackName
FROM BS_EFFICIENCY_TASK t
@ -52,7 +52,7 @@
SELECT t.*,
bu.real_name as reportUserName,
bu1.real_name as createUserName,
case when t.status = '0' then '进行中' when t.status = '1' then '已完成' when t.status = '2' then '待审批' when t.status = '3' then '审批通过' when t.status = '4' then '审批不通过' else '' end as statusName,
case when t.status = '1' then '进行中' when t.status = '2' then '已完成' when t.status = '3' then '待审批' when t.status = '4' then '审批通过' when t.status = '5' then '审批不通过' else '' end as statusName,