|  | @ -189,10 +189,16 @@ public class PayService {
 | 
												
													
														
															|  |      * 订单详情接口
 |  |      * 订单详情接口
 | 
												
													
														
															|  |      * @param id
 |  |      * @param id
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     public JSONObject orderInfo(Integer id){
 |  | 
 | 
												
													
														
															|  | 
 |  |     public JSONObject orderInfo(Integer id,String orderId){
 | 
												
													
														
															|  |         JSONObject resJson = new JSONObject();
 |  |         JSONObject resJson = new JSONObject();
 | 
												
													
														
															|  |         resJson.put("id",id);
 |  | 
 | 
												
													
														
															|  |         BusinessOrderDO businessOrderDO = businessOrderDao.findOne(id);
 |  | 
 | 
												
													
														
															|  | 
 |  |         BusinessOrderDO businessOrderDO;
 | 
												
													
														
															|  | 
 |  |         if(StringUtil.isBlank(orderId)){
 | 
												
													
														
															|  | 
 |  |             businessOrderDO = businessOrderDao.findOne(id);
 | 
												
													
														
															|  | 
 |  |         }else{
 | 
												
													
														
															|  | 
 |  |             businessOrderDO = businessOrderDao.selectByRelationCode(orderId);
 | 
												
													
														
															|  | 
 |  |         }
 | 
												
													
														
															|  | 
 |  |         resJson.put("id",businessOrderDO.getId());
 | 
												
													
														
															|  | 
 |  |         resJson.put("orderId",businessOrderDO.getRelationCode());
 | 
												
													
														
															|  |         String type = businessOrderDO.getOrderCategory();
 |  |         String type = businessOrderDO.getOrderCategory();
 | 
												
													
														
															|  |         Integer status = businessOrderDO.getStatus();
 |  |         Integer status = businessOrderDO.getStatus();
 | 
												
													
														
															|  |         resJson.put("orderCategory",type);
 |  |         resJson.put("orderCategory",type);
 | 
												
											
												
													
														
															|  | @ -354,7 +360,7 @@ public class PayService {
 | 
												
													
														
															|  |             result.put(ResponseContant.resultMsg, "工单未创建支付订单");
 |  |             result.put(ResponseContant.resultMsg, "工单未创建支付订单");
 | 
												
													
														
															|  |             return result;
 |  |             return result;
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
													
														
															|  |         JSONObject payInfo = orderInfo(businessOrderDO.getId());
 |  | 
 | 
												
													
														
															|  | 
 |  |         JSONObject payInfo = orderInfo(businessOrderDO.getId(),null);
 | 
												
													
														
															|  |         result.put(ResponseContant.resultFlag, ResponseContant.success);
 |  |         result.put(ResponseContant.resultFlag, ResponseContant.success);
 | 
												
													
														
															|  |         result.put(ResponseContant.resultMsg, payInfo);
 |  |         result.put(ResponseContant.resultMsg, payInfo);
 | 
												
													
														
															|  |         return result;
 |  |         return result;
 |