Commit fecfab64 authored by neo's avatar neo

[Bugfx] fixed lit bugs

parent 3c7421e4
...@@ -152,11 +152,10 @@ public class ApprovalService { ...@@ -152,11 +152,10 @@ public class ApprovalService {
taskService.complete(task.getId(), map); taskService.complete(task.getId(), map);
pa.setId(uuid); pa.setId(uuid);
periodApproveMapper.updateByPrimaryKeySelective(pa);
pa.setApprovalBy("Admin"); pa.setApprovalBy("Admin");
pa.setApprovalTime(new Date()); pa.setApprovalTime(new Date());
pa.setApprovalResualt(comment); pa.setApprovalResualt(comment);
periodApproveMapper.updateByPrimaryKey(pa); periodApproveMapper.updateByPrimaryKeySelective(pa);
} else { } else {
logger.warn("task must not null or size gt 1"); logger.warn("task must not null or size gt 1");
} }
......
...@@ -169,10 +169,10 @@ ...@@ -169,10 +169,10 @@
</tr> </tr>
<tr> <tr>
<td style="float:right;border-top:none;"> <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>
<button class="btn btn-sm" ng-click="agreeApproval()">审核拒绝 <button class="btn btn-sm" ng-click="agreeApproval()">通过
</button> </button>
</td> </td>
</tr> </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