Răsfoiți Sursa

git-svn-id: https://192.168.57.71/svn/qt@49 12fe181a-e57f-b044-8676-16dc139aa63e

ld_zhoutl 9 ani în urmă
părinte
comite
7fa12a00c9

+ 17 - 0
jdc/jdcweb/trunk/src/main/java/com/jsjty/jdc/web/command/task/service/impl/ComandTaskServiceImpl.java

@@ -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);
             	// 消息实体