|
@@ -94,7 +94,7 @@ public class OnceWorkOrderProductionController extends BaseController {
|
|
|
/**
|
|
|
* 导出划款列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('business:deduction:export')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('business:entrust:workOrder:current:export')")
|
|
|
@Log(title = "单次任务", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, BizWorkOrder conditions) throws NoSuchFieldException, IllegalAccessException {
|
|
@@ -192,7 +192,7 @@ public class OnceWorkOrderProductionController extends BaseController {
|
|
|
record.setHandlerTime(new Date());
|
|
|
}else {
|
|
|
Long handlerId = workOrderRecordService.getById(record.getId()).getHandlerId();
|
|
|
- if (handlerId != SecurityUtils.getUserId()){
|
|
|
+ if (!handlerId.equals(SecurityUtils.getUserId()) ){
|
|
|
return error("只能由当前办理人取消");
|
|
|
}
|
|
|
record.setHandlerId(null);
|