|
@@ -19,6 +19,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import com.ctc.wstx.util.StringUtil;
|
|
|
import com.jsjty.jdc.common.Constants;
|
|
|
import com.jsjty.jdc.util.DateUtil;
|
|
|
import com.jsjty.jdc.web.accessory.entity.AccessoryEntity;
|
|
@@ -460,6 +461,22 @@ public class ComandTaskServiceImpl implements ComandTaskService {
|
|
|
content += ",目的地为" +getMapValue(map, "END_NAME");
|
|
|
}
|
|
|
content += "。";
|
|
|
+// List<TaskRouteEntity> routeList = this.findRouteList(entity.getId());
|
|
|
+// if(null != routeList && routeList.size() > 0) {
|
|
|
+// StringBuffer routeContent = new StringBuffer();
|
|
|
+// for (TaskRouteEntity taskRouteEntity : routeList) {
|
|
|
+// if ("air".equals(taskRouteEntity.getType())) {
|
|
|
+// routeContent.append("航班"+taskRouteEntity.getNames()).append(",");
|
|
|
+// } else if(taskRouteEntity.getType().equals("railway")){
|
|
|
+// routeContent.append("车次"+taskRouteEntity.getNames()).append(",");
|
|
|
+// }
|
|
|
+// }
|
|
|
+// if(routeContent.length() > 0) {
|
|
|
+// routeContent.subSequence(0, routeContent.length() - 1);
|
|
|
+// content += "任务交通工具:" + routeContent.toString();
|
|
|
+// content += "。";
|
|
|
+// }
|
|
|
+// }
|
|
|
// 获取路段描述信息
|
|
|
String desc = getRouteDesc(map);
|
|
|
// 消息实体
|