@ -86,6 +86,11 @@ public class MeasuringUpkeepEntity extends BaseEntity {
*/
@Schema(description = "检定标记")
private Integer checkFlag;
/**
* 使用次数
@Schema(description = "使用次数")
private Long maintainNum;
* 库存物料
@ -152,6 +152,7 @@ public class MeasuringUpkeepServiceImpl extends BaseServiceImpl<MeasuringUpkeepM
entity.setLocation(stock.getLocation());
entity.setCheckQty(stock.getQuantity());
entity.setQuantityLevel("0");
entity.setMaintainNum(stock.getStayMaintainNum());
entity.setCreateMan(AuthUtil.getUser() != null ? AuthUtil.getUser().getUserId() : 1);
list.add(entity);