zds
1 month ago
7 changed files with 133 additions and 34 deletions
@ -0,0 +1,9 @@ |
|||
package org.nl.wms.sch.material.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import org.nl.wms.sch.material.service.dao.MaterialProc; |
|||
|
|||
|
|||
public interface IMaterialServiceProc extends IService<MaterialProc> { |
|||
|
|||
} |
@ -0,0 +1,75 @@ |
|||
package org.nl.wms.sch.material.service.dao; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import cn.hutool.core.bean.copier.CopyOptions; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
import org.nl.wms.mes.domain.QPMES060RequestBody; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
@Data |
|||
@EqualsAndHashCode(callSuper = false) |
|||
@TableName("sch_base_material") |
|||
public class MaterialProc implements Serializable { |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@TableId(value = "lotSN", type = IdType.NONE) |
|||
@ApiModelProperty(value = "物料条码号") |
|||
private String lotSN; |
|||
@ApiModelProperty(value = "入库单号") |
|||
private String SimtOrderNo; |
|||
@ApiModelProperty(value = "场地") |
|||
private String locationCode; |
|||
@ApiModelProperty(value = "入库类型") |
|||
private String simtType; |
|||
@ApiModelProperty(value = "到货单号") |
|||
private String deliveryNo; |
|||
@ApiModelProperty(value = "扫描库位") |
|||
private String whlCode; |
|||
@ApiModelProperty(value = "托盘号") |
|||
private String PalletSN; |
|||
@ApiModelProperty(value = "物料编码") |
|||
private String productName; |
|||
@ApiModelProperty(value = "物料名称") |
|||
private String productDescription; |
|||
@ApiModelProperty(value = "供应商编码") |
|||
private String supplierCode; |
|||
@ApiModelProperty(value = "供应商名称") |
|||
private String supplierName; |
|||
@ApiModelProperty(value = "规格") |
|||
private String specification; |
|||
@ApiModelProperty(value = "批次号") |
|||
private String batch; |
|||
@ApiModelProperty(value = "数量") |
|||
private String qty; |
|||
@ApiModelProperty(value = "来料长度") |
|||
private String incomingLength; |
|||
@ApiModelProperty(value = "来料重量") |
|||
private String incomingWeight; |
|||
@ApiModelProperty(value = "来料缺陷长度") |
|||
private String incomingchipping; |
|||
@ApiModelProperty(value = "拼棒类型") |
|||
private String planZBNum; |
|||
@ApiModelProperty(value = "客户来料批次号") |
|||
private String ingotBatch; |
|||
@ApiModelProperty(value = "晶棒等级") |
|||
private String siliconGrade; |
|||
@ApiModelProperty(value = "极性") |
|||
private String siliconPolarity; |
|||
@ApiModelProperty(value = "重量折算系数") |
|||
private String weightCoefficientValue; |
|||
@ApiModelProperty(value = "线径") |
|||
private String lineDiameter; |
|||
@ApiModelProperty(value = "操作时间") |
|||
private String create_time; |
|||
|
|||
|
|||
public void copyFrom(QPMES060RequestBody source){ |
|||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true)); |
|||
} |
|||
} |
@ -0,0 +1,13 @@ |
|||
package org.nl.wms.sch.material.service.dao.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import org.nl.wms.sch.material.service.dao.Material; |
|||
import org.nl.wms.sch.material.service.dao.MaterialProc; |
|||
|
|||
/** |
|||
* @author lyd |
|||
* @date 2023-05-16 |
|||
**/ |
|||
public interface MaterialProcMapper extends BaseMapper<MaterialProc> { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
package org.nl.wms.sch.material.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.nl.wms.sch.material.service.IMaterialServiceProc; |
|||
import org.nl.wms.sch.material.service.dao.MaterialProc; |
|||
import org.nl.wms.sch.material.service.dao.mapper.MaterialProcMapper; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
@Slf4j |
|||
@Service |
|||
public class MaterialServiceProcImpl extends ServiceImpl<MaterialProcMapper, MaterialProc> implements IMaterialServiceProc { |
|||
|
|||
|
|||
} |
Loading…
Reference in new issue