1来函信息专项任务显示审核人员及时间,审核通过及取消设置有效状态
2自定义列国际化
This commit is contained in:
@@ -39,6 +39,7 @@
|
|||||||
u.name AS editorName,
|
u.name AS editorName,
|
||||||
r.edit_time AS editTime,
|
r.edit_time AS editTime,
|
||||||
e.name AS currentName,
|
e.name AS currentName,
|
||||||
|
e.name AS auditorName,
|
||||||
r.audit_time AS auditTime,
|
r.audit_time AS auditTime,
|
||||||
t.task_name AS taskName
|
t.task_name AS taskName
|
||||||
from request_info r
|
from request_info r
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
r.create_time AS createTime,
|
r.create_time AS createTime,
|
||||||
u.name AS editorName,
|
u.name AS editorName,
|
||||||
r.edit_time AS editTime,
|
r.edit_time AS editTime,
|
||||||
e.name AS currentName,
|
e.name AS auditorName,
|
||||||
r.audit_time AS auditTime
|
r.audit_time AS auditTime
|
||||||
from task_info r
|
from task_info r
|
||||||
left join sys_user s on r.creator_id=s.id
|
left join sys_user s on r.creator_id=s.id
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ public class TaskInfoService extends BaseService{
|
|||||||
for (int i = 0; i < exId.length; i++) {
|
for (int i = 0; i < exId.length; i++) {
|
||||||
taskInfo.setId(Long.valueOf(exId[i]));
|
taskInfo.setId(Long.valueOf(exId[i]));
|
||||||
taskInfo.setIsAudit(1);//审核通过
|
taskInfo.setIsAudit(1);//审核通过
|
||||||
|
taskInfo.setIsValid(1);//审核通过
|
||||||
taskInfo.setAuditTime(new Date());
|
taskInfo.setAuditTime(new Date());
|
||||||
taskInfo.setAuditorId((UserUtils.getUser().getId()).intValue());//审核人员
|
taskInfo.setAuditorId((UserUtils.getUser().getId()).intValue());//审核人员
|
||||||
taskInfoDao.update(taskInfo);
|
taskInfoDao.update(taskInfo);
|
||||||
@@ -85,6 +86,7 @@ public class TaskInfoService extends BaseService{
|
|||||||
for (int i = 0; i < cancelId.length; i++) {
|
for (int i = 0; i < cancelId.length; i++) {
|
||||||
taskInfo.setId(Long.valueOf(cancelId[i]));
|
taskInfo.setId(Long.valueOf(cancelId[i]));
|
||||||
taskInfo.setIsAudit(3);//取消审核通过
|
taskInfo.setIsAudit(3);//取消审核通过
|
||||||
|
taskInfo.setIsValid(0);
|
||||||
taskInfo.setAuditTime(new Date());
|
taskInfo.setAuditTime(new Date());
|
||||||
taskInfo.setAuditorId((UserUtils.getUser().getId()).intValue());//审核人员
|
taskInfo.setAuditorId((UserUtils.getUser().getId()).intValue());//审核人员
|
||||||
taskInfoDao.update(taskInfo);
|
taskInfoDao.update(taskInfo);
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ public class RequestInfoService extends BaseService{
|
|||||||
for (int i = 0; i < exId.length; i++) {
|
for (int i = 0; i < exId.length; i++) {
|
||||||
requestInfo.setId(Long.valueOf(exId[i]));
|
requestInfo.setId(Long.valueOf(exId[i]));
|
||||||
requestInfo.setIsAudit(1);//审核通过
|
requestInfo.setIsAudit(1);//审核通过
|
||||||
|
requestInfo.setIsValid(1);//审核通过有效
|
||||||
requestInfo.setAuditTime(new Date());
|
requestInfo.setAuditTime(new Date());
|
||||||
requestInfo.setAuditorId((UserUtils.getUser().getId()).intValue());//审核人员
|
requestInfo.setAuditorId((UserUtils.getUser().getId()).intValue());//审核人员
|
||||||
requestInfoDao.update(requestInfo);
|
requestInfoDao.update(requestInfo);
|
||||||
@@ -89,6 +90,7 @@ public class RequestInfoService extends BaseService{
|
|||||||
for (int i = 0; i < cancelId.length; i++) {
|
for (int i = 0; i < cancelId.length; i++) {
|
||||||
requestInfo.setId(Long.valueOf(cancelId[i]));
|
requestInfo.setId(Long.valueOf(cancelId[i]));
|
||||||
requestInfo.setIsAudit(3);//取消审核通过
|
requestInfo.setIsAudit(3);//取消审核通过
|
||||||
|
requestInfo.setIsValid(0);//取消审核通过无效
|
||||||
requestInfo.setAuditTime(new Date());
|
requestInfo.setAuditTime(new Date());
|
||||||
requestInfo.setAuditorId((UserUtils.getUser().getId()).intValue());//审核人员
|
requestInfo.setAuditorId((UserUtils.getUser().getId()).intValue());//审核人员
|
||||||
requestInfoDao.update(requestInfo);
|
requestInfoDao.update(requestInfo);
|
||||||
|
|||||||
@@ -172,6 +172,7 @@ has_approved=It has been approved and can not be operated on !
|
|||||||
hasnot_approved=It has not been approved and can not be operated on !
|
hasnot_approved=It has not been approved and can not be operated on !
|
||||||
check_one=choose one please !
|
check_one=choose one please !
|
||||||
one_more=please choose at least one !
|
one_more=please choose at least one !
|
||||||
|
custom_columns=custom columns
|
||||||
#==========message end=====================
|
#==========message end=====================
|
||||||
|
|
||||||
#==========yewuliexingguanli begin=====================
|
#==========yewuliexingguanli begin=====================
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ has_approved=\u5df2\u7ecf\u901a\u8fc7\u5ba1\u6838\uff0c\u65e0\u6cd5\u8fdb\u884c\
|
|||||||
hasnot_approved=\u672a\u901a\u8fc7\u5ba1\u6838\uff0c\u65e0\u6cd5\u8fdb\u884c\u8be5\u64cd\u4f5c\uff01
|
hasnot_approved=\u672a\u901a\u8fc7\u5ba1\u6838\uff0c\u65e0\u6cd5\u8fdb\u884c\u8be5\u64cd\u4f5c\uff01
|
||||||
check_one=\u8bf7\u9009\u62e9\u4e00\u6761\u6570\u636e\uff01
|
check_one=\u8bf7\u9009\u62e9\u4e00\u6761\u6570\u636e\uff01
|
||||||
one_more=\u8bf7\u81f3\u5c11\u9009\u62e9\u4e00\u6761\u6570\u636e!
|
one_more=\u8bf7\u81f3\u5c11\u9009\u62e9\u4e00\u6761\u6570\u636e!
|
||||||
|
custom_columns=\u81ea\u5b9a\u4e49\u5217\u5b57\u6bb5
|
||||||
#==========message end=====================
|
#==========message end=====================
|
||||||
|
|
||||||
#==========yewuliexingguanli begin=====================
|
#==========yewuliexingguanli begin=====================
|
||||||
|
|||||||
@@ -82,6 +82,10 @@
|
|||||||
<li><sys:delRow url="${ctx}/basics/taskInfo/taskCancelExamine" id="contentTable" label="cancelPass"></sys:delRow></li>
|
<li><sys:delRow url="${ctx}/basics/taskInfo/taskCancelExamine" id="contentTable" label="cancelPass"></sys:delRow></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<a class="btn btn-icon-only btn-default setfields tooltips"
|
||||||
|
data-container="body" data-placement="top" data-original-title=<spring:message code="custom_columns"/> href="javascript:;">
|
||||||
|
<i class="icon-wrench"></i>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@@ -158,6 +162,8 @@
|
|||||||
<th><spring:message code="state"></spring:message></th>
|
<th><spring:message code="state"></spring:message></th>
|
||||||
<th><spring:message code="operator"></spring:message></th>
|
<th><spring:message code="operator"></spring:message></th>
|
||||||
<th><spring:message code="operate_time"></spring:message></th>
|
<th><spring:message code="operate_time"></spring:message></th>
|
||||||
|
<th><spring:message code="auditor"></spring:message></th>
|
||||||
|
<th><spring:message code="audit_time"></spring:message></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -187,6 +193,8 @@
|
|||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</td>
|
</td>
|
||||||
|
<td>${taskInfo.auditorName }</td>
|
||||||
|
<td><fmt:formatDate value="${taskInfo.auditTime }" pattern="yyyy-MM-dd"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
|
|
||||||
|
|||||||
@@ -90,7 +90,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a class="btn btn-icon-only btn-default setfields tooltips"
|
<a class="btn btn-icon-only btn-default setfields tooltips"
|
||||||
data-container="body" data-placement="top" data-original-title="自定义列字段" href="javascript:;">
|
data-container="body" data-placement="top" data-original-title=<spring:message code="custom_columns"/> href="javascript:;">
|
||||||
<i class="icon-wrench"></i>
|
<i class="icon-wrench"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -180,7 +180,8 @@
|
|||||||
<th><spring:message code="title"></spring:message></th>
|
<th><spring:message code="title"></spring:message></th>
|
||||||
<th><spring:message code="content"></spring:message></th>
|
<th><spring:message code="content"></spring:message></th>
|
||||||
<th><spring:message code="special_task"></spring:message></th>
|
<th><spring:message code="special_task"></spring:message></th>
|
||||||
<%-- <th><spring:message code="operation"></spring:message></th> --%>
|
<th><spring:message code="auditor"></spring:message></th>
|
||||||
|
<th><spring:message code="audit_time"></spring:message></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -213,6 +214,8 @@
|
|||||||
<td>${requestInfo.requestTitle }</td>
|
<td>${requestInfo.requestTitle }</td>
|
||||||
<td>${requestInfo.requestContent }</td>
|
<td>${requestInfo.requestContent }</td>
|
||||||
<td>${requestInfo.taskName }</td>
|
<td>${requestInfo.taskName }</td>
|
||||||
|
<td>${requestInfo.auditorName }</td>
|
||||||
|
<td><fmt:formatDate value="${requestInfo.auditTime }" pattern="yyyy-MM-dd"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user