Commit fecfab64 authored by neo's avatar neo

[Bugfx] fixed lit bugs

parent 3c7421e4
......@@ -152,11 +152,10 @@ public class ApprovalService {
taskService.complete(task.getId(), map);
pa.setId(uuid);
periodApproveMapper.updateByPrimaryKeySelective(pa);
pa.setApprovalBy("Admin");
pa.setApprovalTime(new Date());
pa.setApprovalResualt(comment);
periodApproveMapper.updateByPrimaryKey(pa);
periodApproveMapper.updateByPrimaryKeySelective(pa);
} else {
logger.warn("task must not null or size gt 1");
}
......
......@@ -169,10 +169,10 @@
</tr>
<tr>
<td style="float:right;border-top:none;">
<button class="btn btn-sm" ng-click="rejectApproval()">审核通过
<button class="btn btn-sm" ng-click="rejectApproval()">驳回
</button>
<button class="btn btn-sm" ng-click="agreeApproval()">审核拒绝
<button class="btn btn-sm" ng-click="agreeApproval()">通过
</button>
</td>
</tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment