feat(ebom): 新增sap排序字符串
This commit is contained in:
parent
c0ebb43349
commit
760ae24a8e
|
|
@ -224,13 +224,6 @@ public class BomNewEbomChildEntity implements Serializable {
|
|||
@ApiModelProperty(value = "原始单位-来自cad")
|
||||
private String materialOriginalUnit;
|
||||
|
||||
/**
|
||||
* SAP排序字符串
|
||||
*/
|
||||
@TableField(value = "sap_order_num")
|
||||
@ApiModelProperty(value = "SAP排序字符串")
|
||||
private String sapOrderNum;
|
||||
|
||||
|
||||
// private String materialNoAndProjectType;
|
||||
|
||||
|
|
|
|||
|
|
@ -385,12 +385,5 @@ public class BomNewEbomParentEntity implements Serializable {
|
|||
@ApiModelProperty(value = "导入SAP时间")
|
||||
private LocalDateTime sapTime;
|
||||
|
||||
/**
|
||||
* SAP排序字符串
|
||||
*/
|
||||
@TableField(value = "sap_order_num")
|
||||
@ApiModelProperty(value = "SAP排序字符串")
|
||||
private String sapOrderNum;
|
||||
|
||||
private static final long serialVersionUID = 265246823929418418L;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ import com.nflg.product.bomnew.service.BomNewEbomParentService;
|
|||
import com.nflg.product.bomnew.service.MaterialMainService;
|
||||
import com.nflg.product.bomnew.service.UserRoleService;
|
||||
import com.nflg.product.bomnew.service.cache.MaterialMateCache;
|
||||
import com.nflg.product.bomnew.util.BomUtil;
|
||||
import com.nflg.product.bomnew.util.ListCommonUtil;
|
||||
import com.nflg.product.bomnew.util.VUtils;
|
||||
import com.nflg.product.bomnew.util.VersionUtil;
|
||||
|
|
@ -388,8 +387,6 @@ public class OriginalBomToEBomV2Convert extends BaseConvert {
|
|||
this.eBomParentResult.add(ebom);
|
||||
}
|
||||
eBomParent.setMaterialOriginalUnit(eBomParent.getMaterialUnit());
|
||||
eBomParent.setSapOrderNum(BomUtil.generateSapOrderNum(parentEnt.getProjectType(), parentEnt.getMaterialCategoryCode()
|
||||
, "1010", parentEnt.getMaterialNo(), parentEnt.getBomExist()));
|
||||
this.eBomParentResult.add(eBomParent);
|
||||
|
||||
return eBomParent.getRowId();
|
||||
|
|
@ -431,8 +428,6 @@ public class OriginalBomToEBomV2Convert extends BaseConvert {
|
|||
// childEntity.setDrawingNo(childEntity.getMaterialNo());
|
||||
// }
|
||||
childEntity.setMaterialOriginalUnit(childEntity.getMaterialUnit());
|
||||
childEntity.setSapOrderNum(BomUtil.generateSapOrderNum(childEntity.getProjectType()
|
||||
, childEntity.getMaterialCategoryCode(), "1010", childEntity.getMaterialNo(), 0));
|
||||
this.eBomChildResult.add(childEntity);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue