Kaynağa Gözat

待办取消发起人展示项和查询代码

user5 2 yıl önce
ebeveyn
işleme
fa2a9379d1

+ 2 - 2
src/main/resources/mappings/modules/workprojectnotify/WorkProjectNotifyDao.xml

@@ -88,10 +88,10 @@
 		SELECT
 		<include refid="workProjectNotifyColumns"/>
 		,a.wap_begin_date AS "wapCreateDate"
-		,(select user.id from work_activity_process wap left join sys_user user on wap.create_by = user.id where wap.count != 0 and (case when a.process_instance_id is null then wap.process_instance_id in (select waps.process_instance_id
+		/*,(select user.id from work_activity_process wap left join sys_user user on wap.create_by = user.id where wap.count != 0 and (case when a.process_instance_id is null then wap.process_instance_id in (select waps.process_instance_id
 		FROM work_project_notify waps
 		WHERE waps.notify_id = a.notify_id and waps.process_instance_id is not null order by waps.notify_id desc
-		) else wap.process_instance_id = a.process_instance_id end)  and wap.is_approval = '0'  order by wap.create_date asc, wap.count asc limit 1) as 'initiator'
+		) else wap.process_instance_id = a.process_instance_id end)  and wap.is_approval = '0'  order by wap.create_date asc, wap.count asc limit 1) as 'initiator'*/
 		/*,(select p.user_id from work_activity_process wap
 		left join work_activity_process_user p on wap.process_instance_id = p.process_id and p.count = wap.count
 		left join sys_user u on u.id = p.user_id

+ 4 - 4
src/main/webapp/webpage/modules/workprojectnotify/workProjectNotifyList.jsp

@@ -566,13 +566,13 @@
 					<div style="    clear:both;"></div>
 				</div>
 				<div id="moresees" style="clear:both;display:none;height: 70px;">
-					<div class="layui-item query athird">
+					<%--<div class="layui-item query athird">
 						<label class="layui-form-label">提交人:</label>
 						<div class="layui-input-block with-icon">
 							<sys:inquireselectUserNotReadolny id="createUser" name="createUserId" value="${workProjectNotify.createUserId}" labelName="createUserName" labelValue="${workProjectNotify.createUserName}" cssStyle="background-color: #fff"
 															  title="用户" url="/sys/office/treeDataAll?type=3" cssClass="form-control layui-input" allowClear="true" notAllowSelectParent="true"/>
 						</div>
-					</div>
+					</div>--%>
 					<div class="layui-item query athird">
 						<label class="layui-form-label">创建时间:</label>
 						<div class="layui-input-block">
@@ -833,9 +833,9 @@
                 ,{align:'center',title: '内容', minWidth:150,templet:function(d){
                         return "<span title='"+ d.content +"'>" + d.content + "</span>";
                     }}
-                ,{align:'center',title: '提交人', width:80,templet:function(d){
+                /*,{align:'center',title: '提交人', width:80,templet:function(d){
                         return "<span title='"+ d.initiator +"'>" + d.initiator + "</span>";
-                    }}
+                    }}*/
                 ,{align:'center',title: '审核人', width:80,templet:function(d){
                         return "<span title='"+ d.submit +"'>" + d.submit + "</span>";
                     }}