fix(ops): 修改新工单语音
This commit is contained in:
@@ -89,7 +89,7 @@ public class CleanNotificationConstants {
|
||||
* 新工单播报(完整版)
|
||||
* 参数: {areaName} - 区域名称, {orderTitle} - 工单标题(截断)
|
||||
*/
|
||||
public static final String NEW_ORDER_FULL = "新工单来啦,请前往%s进行清洁";
|
||||
public static final String NEW_ORDER_FULL = "新工单来啦,请按1键进行确认";
|
||||
|
||||
// ==================== 工单确认播报 ====================
|
||||
|
||||
@@ -244,7 +244,7 @@ public class CleanNotificationConstants {
|
||||
/**
|
||||
* 构建新工单播报
|
||||
*
|
||||
* @param order 工单信息
|
||||
* @param order 工单信息
|
||||
* @param useDetail 是否使用详细版
|
||||
* @return 播报内容
|
||||
*/
|
||||
@@ -260,7 +260,8 @@ public class CleanNotificationConstants {
|
||||
String areaName = order.getLocation() != null ? order.getLocation() : DEFAULT_AREA_NAME;
|
||||
String title = truncateTitle(order.getTitle());
|
||||
|
||||
return String.format(VoiceTemplate.NEW_ORDER_FULL, title, areaName);
|
||||
// return String.format(VoiceTemplate.NEW_ORDER_FULL, title, areaName);
|
||||
return VoiceTemplate.NEW_ORDER_FULL;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user