|
@@ -156,7 +156,7 @@ public class bookAction extends ActionSupport implements ServletRequestAware {
|
|
|
//推送信息
|
|
//推送信息
|
|
|
if(!"".equals(sendMsg)){
|
|
if(!"".equals(sendMsg)){
|
|
|
String errmsg = Message.wxErrorMsg(Message.send(user.getOpenid(),book.getOrderNum(),book.getUserName(),sendMsg,book.getCreateTime().substring(0,10)));
|
|
String errmsg = Message.wxErrorMsg(Message.send(user.getOpenid(),book.getOrderNum(),book.getUserName(),sendMsg,book.getCreateTime().substring(0,10)));
|
|
|
- if("请求成功 ".equals(errmsg)){
|
|
|
|
|
|
|
+ if("请求成功".equals(errmsg)){
|
|
|
resultJson.put("message", msg+"成功");
|
|
resultJson.put("message", msg+"成功");
|
|
|
resultJson.put("code", 200);
|
|
resultJson.put("code", 200);
|
|
|
ResUtil.writeJson(ServletActionContext.getResponse(), resultJson.toString());
|
|
ResUtil.writeJson(ServletActionContext.getResponse(), resultJson.toString());
|
|
@@ -167,7 +167,10 @@ public class bookAction extends ActionSupport implements ServletRequestAware {
|
|
|
ResUtil.writeJson(ServletActionContext.getResponse(), resultJson.toString());
|
|
ResUtil.writeJson(ServletActionContext.getResponse(), resultJson.toString());
|
|
|
return null;
|
|
return null;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ resultJson.put("message", msg+"成功");
|
|
|
|
|
+ resultJson.put("code", 500);
|
|
|
|
|
+ ResUtil.writeJson(ServletActionContext.getResponse(), resultJson.toString());
|
|
|
|
|
+ return null;
|
|
|
} else {
|
|
} else {
|
|
|
resultJson.put("message", msg+"失败");
|
|
resultJson.put("message", msg+"失败");
|
|
|
resultJson.put("code", 502);
|
|
resultJson.put("code", 502);
|
|
@@ -315,7 +318,7 @@ public class bookAction extends ActionSupport implements ServletRequestAware {
|
|
|
.append(" and pay_time <= '").append(payEndTime).append("'");
|
|
.append(" and pay_time <= '").append(payEndTime).append("'");
|
|
|
}
|
|
}
|
|
|
if(hotelTownship!=null){
|
|
if(hotelTownship!=null){
|
|
|
- s1.append(" and hotel_township = '").append(payStartTime).append("'");
|
|
|
|
|
|
|
+ s1.append(" and hotel_township = '").append(hotelTownship).append("'");
|
|
|
}
|
|
}
|
|
|
if(minTotalPrice!=null){
|
|
if(minTotalPrice!=null){
|
|
|
s1.append(" and house_total_price >= '").append(minTotalPrice).append("'");
|
|
s1.append(" and house_total_price >= '").append(minTotalPrice).append("'");
|