|
|
|
@ -234,8 +234,8 @@ public class MesProductionCustomContextStepService extends BaseStepService imple
|
|
|
|
|
@Override
|
|
|
|
|
public String getRepeatAssemblySn(String organizeCode, String workCenterCode, String workCellCode, String repeatKey) {
|
|
|
|
|
String repeatAssemblySnJson = getFsmBusiData(organizeCode, getRepeatAssemblySnContextKey(organizeCode, workCenterCode, workCellCode), repeatKey);
|
|
|
|
|
MesProductionAssemblyContext productionAssemblyContext = !StringUtils.isEmpty(repeatAssemblySnJson) ? JSONObject.parseObject(repeatAssemblySnJson, MesProductionAssemblyContext.class) : null;
|
|
|
|
|
return null != productionAssemblyContext ? productionAssemblyContext.getAssemblySn() : null;
|
|
|
|
|
//MesProductionAssemblyContext productionAssemblyContext = !StringUtils.isEmpty(repeatAssemblySnJson) ? JSONObject.parseObject(repeatAssemblySnJson, MesProductionAssemblyContext.class) : null;
|
|
|
|
|
return repeatAssemblySnJson;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//根据设备代码获取可复用条码的个数
|
|
|
|
|