|
|
|
@ -264,6 +264,20 @@ public class AndonHqlPack {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 按条件查询安灯工作中心
|
|
|
|
|
* @param andonWorkCenter
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public static DdlPackBean packHqlAndonWorkCenter(AndonWorkCenter andonWorkCenter){
|
|
|
|
|
DdlPackBean result = new DdlPackBean();
|
|
|
|
|
|
|
|
|
|
DdlPreparedPack.getStringEqualPack(andonWorkCenter.getWorkCenterCode(), "workCenterCode", result);
|
|
|
|
|
getStringBuilderPack(andonWorkCenter, result);
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 按条件查询工作单元(工位)
|
|
|
|
|
* @param mesWorkCell
|
|
|
|
|
* @return
|
|
|
|
@ -279,6 +293,21 @@ public class AndonHqlPack {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 按条件查询工作单元(工位)
|
|
|
|
|
* @param andonWorkCell
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public static DdlPackBean packHqlAndonWorkCell(AndonWorkCell andonWorkCell){
|
|
|
|
|
DdlPackBean result = new DdlPackBean();
|
|
|
|
|
DdlPreparedPack.getStringEqualPack(andonWorkCell.getOrganizeCode(), "organizeCode", result);
|
|
|
|
|
DdlPreparedPack.getStringEqualPack(andonWorkCell.getWorkCenterCode(), "workCenterCode", result);
|
|
|
|
|
DdlPreparedPack.getStringEqualPack(andonWorkCell.getWorkCellCode(), "workCellCode", result);
|
|
|
|
|
getStringBuilderPack(andonWorkCell, result);
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 按条件查询设备
|
|
|
|
|
* @param mesEquipment
|
|
|
|
|
* @return
|
|
|
|
|