|
@@ -456,7 +456,7 @@ public class TaskWorkNode {
|
|
JSONObject ret = new JSONObject();
|
|
JSONObject ret = new JSONObject();
|
|
ret.put("result","true");
|
|
ret.put("result","true");
|
|
returnData = ret.toJSONString();
|
|
returnData = ret.toJSONString();
|
|
- }else if(taskNode.getTargetResourceId() == Long.parseLong("1496354747433615360")){
|
|
|
|
|
|
+ }else if(!Objects.isNull(conMap.get("HELLER"))){
|
|
logger.warn("恒轮机床上传程序内部调用");
|
|
logger.warn("恒轮机床上传程序内部调用");
|
|
JSONObject ret = new JSONObject();
|
|
JSONObject ret = new JSONObject();
|
|
ret.put("result","true");
|
|
ret.put("result","true");
|
|
@@ -1425,6 +1425,7 @@ public class TaskWorkNode {
|
|
if(zoneType.equals(ParameterKey.ZONE_YJ)){
|
|
if(zoneType.equals(ParameterKey.ZONE_YJ)){
|
|
TTask task = taskMapper.selectById(taskNode.getTaskId());
|
|
TTask task = taskMapper.selectById(taskNode.getTaskId());
|
|
BomProcedure procedure = bomProcedureService.getById(task.getProcedureId());
|
|
BomProcedure procedure = bomProcedureService.getById(task.getProcedureId());
|
|
|
|
+ Productionresource productionresource = productionresourceBizMapper.selectOne(Wraps.<Productionresource>lbQ().eq(Productionresource::getId,resourceId));
|
|
// 判断是工件坐标系还是质量测量
|
|
// 判断是工件坐标系还是质量测量
|
|
if("1".equals(procedure.getThreeDimensionalConf()) || "1".equals(procedure.getThreeDimensionalDeviationConf())){
|
|
if("1".equals(procedure.getThreeDimensionalConf()) || "1".equals(procedure.getThreeDimensionalDeviationConf())){
|
|
// 质量检测
|
|
// 质量检测
|
|
@@ -1459,7 +1460,7 @@ public class TaskWorkNode {
|
|
String putPoint = DictionaryKey.ZEISS_LOCATION.get("M");
|
|
String putPoint = DictionaryKey.ZEISS_LOCATION.get("M");
|
|
targetList = productionresourcePositionService.list(Wraps.<ProductionresourcePosition>lbQ().eq(ProductionresourcePosition::getResourceId, taskNode.getTargetResourceId()).eq(ProductionresourcePosition::getPointId,putPoint));
|
|
targetList = productionresourcePositionService.list(Wraps.<ProductionresourcePosition>lbQ().eq(ProductionresourcePosition::getResourceId, taskNode.getTargetResourceId()).eq(ProductionresourcePosition::getPointId,putPoint));
|
|
}
|
|
}
|
|
- }else if(resourceId == Long.parseLong("1496354747433615360")){
|
|
|
|
|
|
+ }else if(!Objects.isNull(productionresource) && StringUtils.isNotEmpty(productionresource.getModeSpecification()) && productionresource.getModeSpecification().contains("HELLER")){
|
|
//恒轮
|
|
//恒轮
|
|
String hellerPoint = storgeService.getHellerPoint(taskNode);
|
|
String hellerPoint = storgeService.getHellerPoint(taskNode);
|
|
if(StringUtil.isNotEmpty(hellerPoint)) {
|
|
if(StringUtil.isNotEmpty(hellerPoint)) {
|