Browse Source

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

lijie 2 năm trước cách đây
mục cha
commit
ac3f9f7b46
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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";