|
|
@ -196,15 +196,15 @@ public class AndonHqlPack {
|
|
|
|
DdlPreparedPack.getStringEqualPack(andonManageQueue.getShiftCode(), "shiftCode", result);
|
|
|
|
DdlPreparedPack.getStringEqualPack(andonManageQueue.getShiftCode(), "shiftCode", result);
|
|
|
|
DdlPreparedPack.getInPackArray(obj, "statusCode", result);
|
|
|
|
DdlPreparedPack.getInPackArray(obj, "statusCode", result);
|
|
|
|
|
|
|
|
|
|
|
|
getStringBuilderPack(andonManageQueue, result);
|
|
|
|
if(StringUtils.isNotBlank(andonManageQueue.getCallTimeStart()) || StringUtils.isNotBlank(andonManageQueue.getCallTimeEnd())){
|
|
|
|
|
|
|
|
|
|
|
|
if(andonManageQueue.getCallTimeStart() != null || andonManageQueue.getCallTimeEnd() != null){
|
|
|
|
|
|
|
|
DdlPreparedPack.timeBuilder(andonManageQueue.getCallTimeStart(), andonManageQueue.getCallTimeEnd(), "callTime", result, true);
|
|
|
|
DdlPreparedPack.timeBuilder(andonManageQueue.getCallTimeStart(), andonManageQueue.getCallTimeEnd(), "callTime", result, true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getStringBuilderPack(andonManageQueue, result);
|
|
|
|
// 根据优先级倒序,序号升序排序
|
|
|
|
// 根据优先级倒序,序号升序排序
|
|
|
|
DdlPreparedPack.getOrderByPack(new Object[]{2, 1},
|
|
|
|
// DdlPreparedPack.getOrderByPack(new Object[]{2, 1},
|
|
|
|
new String[]{"priorityLevel", "seq"}, result);
|
|
|
|
// new String[]{"priorityLevel", "seq"}, result);
|
|
|
|
|
|
|
|
result.setOrderByStr(andonManageQueue.orderBy());
|
|
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -418,6 +418,23 @@ public class AndonHqlPack {
|
|
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 模糊查询安灯子类型信息
|
|
|
|
|
|
|
|
* @param andonAlarmDetailType
|
|
|
|
|
|
|
|
* @return
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
public static DdlPackBean packAndonAlarmDetailTypeLike(AndonAlarmDetailType andonAlarmDetailType) {
|
|
|
|
|
|
|
|
DdlPackBean result = new DdlPackBean();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DdlPreparedPack.getStringEqualPack(andonAlarmDetailType.getAlarmCode(), "alarmCode", result);
|
|
|
|
|
|
|
|
DdlPreparedPack.getStringLikerPack(andonAlarmDetailType.getAlarmDetailCode(), "alarmDetailCode", result);
|
|
|
|
|
|
|
|
DdlPreparedPack.getStringLikerPack(andonAlarmDetailType.getAlarmDetailName(), "alarmDetailName", result);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getStringBuilderPack(andonAlarmDetailType, result);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
|
|
|
}
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// /**
|
|
|
|
// /**
|
|
|
|
// * 安灯类型查询条件封装
|
|
|
|
// * 安灯类型查询条件封装
|
|
|
|