fix:调整物料检定及批次拆分
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.zt.plat.module.qms.resource.material.controller.admin;
|
||||
|
||||
import com.zt.plat.framework.datapermission.core.annotation.DeptDataPermissionIgnore;
|
||||
import com.zt.plat.module.qms.resource.material.controller.vo.MaterialInfomationPageReqVO;
|
||||
import com.zt.plat.module.qms.resource.material.controller.vo.MaterialInfomationRespVO;
|
||||
import com.zt.plat.module.qms.resource.material.controller.vo.MaterialInfomationSaveReqVO;
|
||||
@@ -39,6 +40,7 @@ import static com.zt.plat.framework.apilog.core.enums.OperateTypeEnum.*;
|
||||
@RestController
|
||||
@RequestMapping("/qms/resource/material-infomation")
|
||||
@Validated
|
||||
@DeptDataPermissionIgnore(enable = "true")
|
||||
public class MaterialInfomationController implements BusinessControllerMarker {
|
||||
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ import com.zt.plat.framework.common.pojo.PageParam;
|
||||
import com.zt.plat.framework.common.pojo.PageResult;
|
||||
import com.zt.plat.framework.common.pojo.vo.BatchDeleteReqVO;
|
||||
import com.zt.plat.framework.common.util.object.BeanUtils;
|
||||
import com.zt.plat.framework.datapermission.core.annotation.DeptDataPermissionIgnore;
|
||||
import com.zt.plat.framework.excel.core.util.ExcelUtils;
|
||||
import com.zt.plat.module.qms.resource.material.controller.vo.MaterialLifecycleDetailPageReqVO;
|
||||
import com.zt.plat.module.qms.resource.material.controller.vo.MaterialLifecycleDetailRespVO;
|
||||
@@ -33,6 +34,7 @@ import static com.zt.plat.framework.common.pojo.CommonResult.success;
|
||||
@RestController
|
||||
@RequestMapping("/qms/resource/material-lifecycle-detail")
|
||||
@Validated
|
||||
@DeptDataPermissionIgnore(enable = "true")
|
||||
public class MaterialLifecycleDetailController implements BusinessControllerMarker {
|
||||
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ import com.zt.plat.framework.common.pojo.PageParam;
|
||||
import com.zt.plat.framework.common.pojo.PageResult;
|
||||
import com.zt.plat.framework.common.pojo.vo.BatchDeleteReqVO;
|
||||
import com.zt.plat.framework.common.util.object.BeanUtils;
|
||||
import com.zt.plat.framework.datapermission.core.annotation.DeptDataPermissionIgnore;
|
||||
import com.zt.plat.framework.excel.core.util.ExcelUtils;
|
||||
import com.zt.plat.module.qms.resource.device.controller.vo.DeviceProductPageReqVO;
|
||||
import com.zt.plat.module.qms.resource.device.controller.vo.DeviceProductRespVO;
|
||||
@@ -42,6 +43,7 @@ import static com.zt.plat.framework.common.pojo.CommonResult.success;
|
||||
@RequestMapping("/qms/resource/material-standard-solution")
|
||||
@Validated
|
||||
@FileUploadController(source = "qms.materialstandardsolution")
|
||||
@DeptDataPermissionIgnore(enable = "true")
|
||||
public class MaterialStandardSolutionController extends AbstractFileUploadController implements BusinessControllerMarker{
|
||||
|
||||
static {
|
||||
|
||||
@@ -9,6 +9,7 @@ import com.zt.plat.framework.common.pojo.PageParam;
|
||||
import com.zt.plat.framework.common.pojo.PageResult;
|
||||
import com.zt.plat.framework.common.pojo.vo.BatchDeleteReqVO;
|
||||
import com.zt.plat.framework.common.util.object.BeanUtils;
|
||||
import com.zt.plat.framework.datapermission.core.annotation.DeptDataPermissionIgnore;
|
||||
import com.zt.plat.framework.excel.core.util.ExcelUtils;
|
||||
import com.zt.plat.module.qms.resource.material.controller.vo.MaterialUseEndReusePageReqVO;
|
||||
import com.zt.plat.module.qms.resource.material.controller.vo.MaterialUseEndReuseRespVO;
|
||||
@@ -36,6 +37,7 @@ import static com.zt.plat.framework.common.pojo.CommonResult.success;
|
||||
@RequestMapping("/qms/resource/material-use-end-reuse")
|
||||
@Validated
|
||||
@FileUploadController(source = "qms.materialuseendreuse")
|
||||
@DeptDataPermissionIgnore(enable = "true")
|
||||
public class MaterialUseEndReuseController extends AbstractFileUploadController implements BusinessControllerMarker{
|
||||
|
||||
static {
|
||||
|
||||
@@ -7,6 +7,7 @@ import com.zt.plat.framework.common.pojo.PageParam;
|
||||
import com.zt.plat.framework.common.pojo.PageResult;
|
||||
import com.zt.plat.framework.common.pojo.vo.BatchDeleteReqVO;
|
||||
import com.zt.plat.framework.common.util.object.BeanUtils;
|
||||
import com.zt.plat.framework.datapermission.core.annotation.DeptDataPermissionIgnore;
|
||||
import com.zt.plat.framework.excel.core.util.ExcelUtils;
|
||||
import com.zt.plat.module.qms.resource.material.controller.vo.MaterialUseEndReuseDetailPageReqVO;
|
||||
import com.zt.plat.module.qms.resource.material.controller.vo.MaterialUseEndReuseDetailRespVO;
|
||||
@@ -33,6 +34,7 @@ import static com.zt.plat.framework.common.pojo.CommonResult.success;
|
||||
@RestController
|
||||
@RequestMapping("/qms/resource/material-use-end-reuse-detail")
|
||||
@Validated
|
||||
@DeptDataPermissionIgnore(enable = "true")
|
||||
public class MaterialUseEndReuseDetailController implements BusinessControllerMarker {
|
||||
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ import com.zt.plat.framework.common.pojo.PageParam;
|
||||
import com.zt.plat.framework.common.pojo.PageResult;
|
||||
import com.zt.plat.framework.common.pojo.vo.BatchDeleteReqVO;
|
||||
import com.zt.plat.framework.common.util.object.BeanUtils;
|
||||
import com.zt.plat.framework.datapermission.core.annotation.DeptDataPermissionIgnore;
|
||||
import com.zt.plat.framework.excel.core.util.ExcelUtils;
|
||||
import com.zt.plat.module.qms.resource.material.controller.vo.*;
|
||||
import com.zt.plat.module.qms.resource.material.dal.dataobject.MaterialUseRecordDO;
|
||||
@@ -33,6 +34,7 @@ import static com.zt.plat.framework.common.pojo.CommonResult.success;
|
||||
@RestController
|
||||
@RequestMapping("/qms/resource/material-use-record")
|
||||
@Validated
|
||||
@DeptDataPermissionIgnore(enable = "true")
|
||||
public class MaterialUseRecordController implements BusinessControllerMarker {
|
||||
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ import com.zt.plat.framework.common.pojo.PageParam;
|
||||
import com.zt.plat.framework.common.pojo.PageResult;
|
||||
import com.zt.plat.framework.common.pojo.vo.BatchDeleteReqVO;
|
||||
import com.zt.plat.framework.common.util.object.BeanUtils;
|
||||
import com.zt.plat.framework.datapermission.core.annotation.DeptDataPermissionIgnore;
|
||||
import com.zt.plat.framework.excel.core.util.ExcelUtils;
|
||||
import com.zt.plat.module.qms.resource.material.controller.vo.MaterialUseRecordDetailPageReqVO;
|
||||
import com.zt.plat.module.qms.resource.material.controller.vo.MaterialUseRecordDetailRespVO;
|
||||
@@ -35,6 +36,7 @@ import static com.zt.plat.framework.common.pojo.CommonResult.success;
|
||||
@RestController
|
||||
@RequestMapping("/qms/resource/material-use-record-detail")
|
||||
@Validated
|
||||
@DeptDataPermissionIgnore(enable = "true")
|
||||
public class MaterialUseRecordDetailController implements BusinessControllerMarker {
|
||||
|
||||
|
||||
|
||||
@@ -114,6 +114,10 @@ public class MaterialLifecycleDetailRespVO {
|
||||
@ExcelProperty("批次或工段数量")
|
||||
private BigDecimal inboundQuantity;
|
||||
|
||||
@Schema(description = "批次或工段可用数量")
|
||||
@ExcelProperty("批次或工段可用数量")
|
||||
private BigDecimal remaineQuantity;
|
||||
|
||||
@Schema(description = "影响数量", example = "15772")
|
||||
@ExcelProperty("影响数量")
|
||||
private String influenceCount;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package com.zt.plat.module.qms.resource.material.controller.vo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.zt.plat.module.qms.resource.material.valid.AddGroup;
|
||||
import com.zt.plat.module.qms.resource.material.valid.UpdateGroup;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
@@ -100,10 +99,10 @@ public class MaterialProductSaveReqVO {
|
||||
private Integer assayFlag;
|
||||
|
||||
@Schema(description = "是否进行库存预警,1-是,0-否")
|
||||
private Integer InventoryAlarmFlag;
|
||||
private Integer inventoryAlarmFlag;
|
||||
|
||||
@Schema(description = "库存预警区间,json格式配置")
|
||||
private String InventoryAlarmRange;
|
||||
private String inventoryAlarmRange;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.zt.plat.module.qms.resource.material.controller.vo.query;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
@@ -40,7 +41,10 @@ public class MaterialProductQueryVO {
|
||||
private Integer assayFlag;
|
||||
|
||||
@Schema(description = "是否进行库存预警,1-是,0-否")
|
||||
private Integer InventoryAlarmFlag;
|
||||
private Integer inventoryAlarmFlag;
|
||||
|
||||
@Schema(description = "分类其他配置")
|
||||
private String categoryCustomConfig;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user