Преглед изворни кода

流程列表sql修改发起人关联表修改

lijie пре 2 година
родитељ
комит
ac3f9f7b46
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      mhotel/src/com/happy/dao/impl/WorkflowImplDao.java

+ 2 - 2
mhotel/src/com/happy/dao/impl/WorkflowImplDao.java

@@ -33,9 +33,9 @@ public class WorkflowImplDao implements WorkflowDao {
     }
 
     private String selectSql = " select a.id,a.link_id,a.type,a.title,a.status,a.remark,a.create_id,a.workflow_date,a.cover_img,date_format(a.create_date, '%Y-%m-%d') as create_date,a.workflow_remark,a.workflow_name, " +
-                                " case when a.type = 1 then b.hname when a.type = 2 then c.user_name else null end as createName "+
+                                " case when a.type = 1 then b.corpn_name when a.type = 2 then c.user_name else null end as createName "+
                                 " from workflow a " +
-                                " left join hotel b on a.type = 1 and a.create_id = b.id " +
+                                " left join admin_manager b on a.type = 1 and a.create_id = b.id " +
                                 " left join users c on a.type = 2 and a.create_id = c.id " +
                                 " where 1=1";