xin
2025-07-02 84277cefdc270f88cd9f2ece3419a428495c7cf2
oying-system/src/main/java/com/oying/modules/sh/rest/OrderOperationLogController.java
@@ -7,8 +7,6 @@
import com.oying.utils.R;
import lombok.RequiredArgsConstructor;
import java.util.List;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.access.prepost.PreAuthorize;
@@ -55,23 +53,5 @@
    public ResponseEntity<Object> createOrderOperationLog(@Validated @RequestBody OrderOperationLog resources) {
        orderOperationLogService.create(resources);
        return new ResponseEntity<>(R.success(), HttpStatus.CREATED);
    }
    @PutMapping
    @Log("修改订单操作日志")
    @ApiOperation("修改订单操作日志")
    @PreAuthorize("@el.check('orderOperationLog:edit')")
    public ResponseEntity<Object> updateOrderOperationLog(@Validated @RequestBody OrderOperationLog resources) {
        orderOperationLogService.update(resources);
        return new ResponseEntity<>(R.success(), HttpStatus.NO_CONTENT);
    }
    @DeleteMapping
    @Log("删除订单操作日志")
    @ApiOperation("删除订单操作日志")
    @PreAuthorize("@el.check('orderOperationLog:del')")
    public ResponseEntity<Object> deleteOrderOperationLog(@ApiParam(value = "传ID数组[]") @RequestBody List<Long> ids) {
        orderOperationLogService.deleteAll(ids);
        return new ResponseEntity<>(R.success(), HttpStatus.OK);
    }
}