parent
d88e284eb3
commit
aa43779801
18 changed files with 317 additions and 13 deletions
@ -0,0 +1,84 @@ |
||||
package org.springblade.desk.produce.pojo.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.core.mp.base.BaseEntity; |
||||
|
||||
import java.io.Serial; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 数据维护记录 实体类 |
||||
* @author litao |
||||
*/ |
||||
@Data |
||||
@TableName("MES_DATA_MAINTAIN_LOG") |
||||
@Schema(description = "MesDataMaintainLog对象") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class MesDataMaintainLog extends BaseEntity { |
||||
|
||||
@Schema(description = "生产订单id") |
||||
private Long yoId; |
||||
|
||||
@Schema(description = "修改前数量") |
||||
private Double qtyFront; |
||||
|
||||
@Schema(description = "修改后数量") |
||||
private Double qtyAfter; |
||||
|
||||
@Schema(description = "修改前面积") |
||||
private Double areaFront; |
||||
|
||||
@Schema(description = "修改后面积") |
||||
private Double areaAfter; |
||||
|
||||
@Schema(description = "修改前镀种") |
||||
private String plateFront; |
||||
|
||||
@Schema(description = "修改后镀种") |
||||
private String plateAfter; |
||||
|
||||
@Schema(description = "修改前镀层厚度") |
||||
private Double plateThicknessFront; |
||||
|
||||
@Schema(description = "修改后镀层厚度") |
||||
private Double plateThicknessAfter; |
||||
|
||||
@Schema(description = "修改前涂色标") |
||||
private String tsbFront; |
||||
|
||||
@Schema(description = "修改后涂色标") |
||||
private String tsbAfter; |
||||
|
||||
@Schema(description = "修改前涂色带") |
||||
private String tsdFront; |
||||
|
||||
@Schema(description = "修改后涂色带") |
||||
private String tsdAfter; |
||||
|
||||
@Schema(description = "修改前涂箭头") |
||||
private String tjtFront; |
||||
|
||||
@Schema(description = "修改后涂箭头") |
||||
private String tjtAfter; |
||||
|
||||
@Schema(description = "流程卡号") |
||||
private String cardNo; |
||||
|
||||
@Schema(description = "零件号") |
||||
private String partCode; |
||||
|
||||
@Schema(description = "批次号") |
||||
private String batchNo; |
||||
|
||||
@Schema(description = "备注") |
||||
private String memo; |
||||
|
||||
@Schema(description = "维护人") |
||||
@TableField(exist = false) |
||||
private String name; |
||||
|
||||
} |
||||
@ -0,0 +1,14 @@ |
||||
package org.springblade.desk.produce.mapper; |
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import org.springblade.desk.produce.pojo.entity.MesDataMaintainLog; |
||||
|
||||
/** |
||||
* 数据维护记录 Mapper 接口 |
||||
* |
||||
* @author BladeX |
||||
*/ |
||||
public interface MesDataMaintainLogMapper extends BaseMapper<MesDataMaintainLog> { |
||||
|
||||
} |
||||
@ -0,0 +1,13 @@ |
||||
package org.springblade.desk.produce.service; |
||||
|
||||
import org.springblade.core.mp.base.BaseService; |
||||
import org.springblade.desk.produce.pojo.entity.MesDataMaintainLog; |
||||
|
||||
/** |
||||
* 数据维护记录 服务类 |
||||
* |
||||
* @author BladeX |
||||
*/ |
||||
public interface IMesDataMaintainLogService extends BaseService<MesDataMaintainLog> { |
||||
|
||||
} |
||||
@ -0,0 +1,23 @@ |
||||
package org.springblade.desk.produce.service.impl; |
||||
|
||||
import lombok.RequiredArgsConstructor; |
||||
import lombok.extern.slf4j.Slf4j; |
||||
import org.springblade.core.log.exception.ServiceException; |
||||
import org.springblade.core.mp.base.BaseServiceImpl; |
||||
import org.springblade.desk.produce.mapper.MesDataMaintainLogMapper; |
||||
import org.springblade.desk.produce.pojo.entity.MesDataMaintainLog; |
||||
import org.springblade.desk.produce.service.IMesDataMaintainLogService; |
||||
import org.springframework.stereotype.Service; |
||||
import org.springframework.transaction.annotation.Transactional; |
||||
|
||||
/** |
||||
* 数据维护记录 服务实现类 |
||||
* |
||||
* @author BladeX |
||||
*/ |
||||
@Slf4j |
||||
@Service |
||||
@RequiredArgsConstructor |
||||
public class MesDataMaintainLogServiceImpl extends BaseServiceImpl<MesDataMaintainLogMapper, MesDataMaintainLog> implements IMesDataMaintainLogService { |
||||
|
||||
} |
||||
Loading…
Reference in new issue