mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
日志管理-系统记录操作类型修改
This commit is contained in:
+5
@@ -209,6 +209,7 @@ public class OrderController {
|
||||
// api-生产单导入
|
||||
@GetMapping("getApiData")
|
||||
@Operation(summary = "生产单api数据导入新增")
|
||||
@OperateLog(module="管理后台 - 生产单管理",name = "生产单api数据导入新增",type = IMPORT)
|
||||
@Parameter(name = "orderNo", description = "原订单号", required = true, example = "20230809027818")
|
||||
@PreAuthorize("@ss.hasPermission('production:manager-list:create')")
|
||||
public CommonResult<String> getApiData(@RequestParam(value = "orderNo") String orderNo){
|
||||
@@ -451,6 +452,7 @@ public class OrderController {
|
||||
|
||||
@PostMapping("/get-platesDetailsPage")
|
||||
@Operation(summary = "生产单详情-板件详细信息(分页)")
|
||||
@OperateLog(enable = false)
|
||||
@PreAuthorize("@ss.hasPermission('production:manager-list:detail')")
|
||||
public CommonResult<PageResult<OrderPlatesDetailReqVO>> platesDetails(@Valid @RequestBody OrderBodyPageRespVO orderBodyPageRespVO) {
|
||||
if (orderBodyPageRespVO.getDeleted() == null) {
|
||||
@@ -464,6 +466,7 @@ public class OrderController {
|
||||
|
||||
@PostMapping("/get-partsDetailsPage")
|
||||
@Operation(summary = "生产单详情-配件详细信息(分页)")
|
||||
@OperateLog(enable = false)
|
||||
@PreAuthorize("@ss.hasPermission('production:manager-list:detail')")
|
||||
public CommonResult<PageResult<OrderPartsRespVO>> partsDetails(@Valid @RequestBody OrderBodyPageRespVO orderBodyPageRespVO) {
|
||||
if (orderBodyPageRespVO.getDeleted() == null) {
|
||||
@@ -483,6 +486,7 @@ public class OrderController {
|
||||
|
||||
@PostMapping("/get-goodsDetailsPage")
|
||||
@Operation(summary = "生产单详情-板材详细信息(分页)")
|
||||
@OperateLog(enable = false)
|
||||
@PreAuthorize("@ss.hasPermission('production:manager-list:detail')")
|
||||
public CommonResult<PageResult<OrderGoodsDetailRespVO>> goodsDetails(@Valid @RequestBody OrderBodyPageRespVO orderBodyPageRespVO) {
|
||||
if (orderBodyPageRespVO.getDeleted() == null) {
|
||||
@@ -496,6 +500,7 @@ public class OrderController {
|
||||
|
||||
@PostMapping("/get-componentDetailsPage")
|
||||
@Operation(summary = "生产单详情-组件详细信息(分页)")
|
||||
@OperateLog(enable = false)
|
||||
@PreAuthorize("@ss.hasPermission('production:manager-list:detail')")
|
||||
public CommonResult<PageResult<OrderPartsRespVO>> componentDetails(@Valid @RequestBody OrderBodyPageRespVO orderBodyPageRespVO) {
|
||||
if (orderBodyPageRespVO.getDeleted() == null) {
|
||||
|
||||
+3
-2
@@ -29,7 +29,7 @@ import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
import static com.cf.imes.framework.common.pojo.CommonResult.success;
|
||||
import static com.cf.imes.framework.operatelog.core.enums.OperateTypeEnum.EXPORT;
|
||||
import static com.cf.imes.framework.operatelog.core.enums.OperateTypeEnum.*;
|
||||
|
||||
@Tag(name = "管理后台 - 排单")
|
||||
@RestController
|
||||
@@ -108,7 +108,7 @@ public class PlanController {
|
||||
|
||||
|
||||
|
||||
@PostMapping("/setSort")
|
||||
@PutMapping("/setSort")
|
||||
@Operation(summary = "设置排单优先级")
|
||||
@PreAuthorize("@ss.hasPermission('placeorder:priority')")
|
||||
public CommonResult<Boolean> setSort(@Valid @NotEmpty(message = "参数不能空") @Size(max = 2,message = "做多两条数据") @RequestBody List<SortVO> sortVos) {
|
||||
@@ -188,6 +188,7 @@ public class PlanController {
|
||||
|
||||
@PostMapping("getPlanGoodsList")
|
||||
@Operation(summary = "未排单混单获取分类的排单信息")
|
||||
@OperateLog(enable = false)
|
||||
@PreAuthorize("@ss.hasPermission('manage:un-order-olan:create')")
|
||||
public CommonResult<List<PlanActualGoodsResp>> getPlanGoodsList(@Valid @RequestBody SavePlanPlateList savePlanPlateList) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user