|
@@ -9,6 +9,7 @@ import java.util.List;
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
+import com.iamberry.wechat.core.entity.OrderUtil;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
@@ -18,9 +19,7 @@ import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
-
|
|
|
import com.iamberry.app.tool.log.RatFWLogger;
|
|
|
-import com.iamberry.wechat.core.entity.OrderUtil;
|
|
|
import com.iamberry.wechat.core.entity.drp.PlaceInfo;
|
|
|
import com.iamberry.wechat.core.entity.member.Member;
|
|
|
import com.iamberry.wechat.core.entity.mq.MQMessage;
|
|
@@ -344,7 +343,7 @@ public class AdminOrderHandlers {
|
|
|
return mv;
|
|
|
case 1:
|
|
|
|
|
|
- if (!orderUtil.orderActin[0].equals(action)) {
|
|
|
+ if (!orderUtil.getOrderActin()[0].equals(action)) {
|
|
|
mv.addObject("msgObj", new MessageDto(false, "对不起,操作有误", "对不起,您刚才的操作流程有误,请按照系统流程操作!"));
|
|
|
return mv;
|
|
|
}
|
|
@@ -362,8 +361,10 @@ public class AdminOrderHandlers {
|
|
|
return mv;
|
|
|
}
|
|
|
case 2:
|
|
|
-
|
|
|
- if (!orderUtil.orderActin[2].equals(action)) {
|
|
|
+ System.out.println("orderUtil="+orderUtil);
|
|
|
+ System.out.println("orderUtil.orderActin[2]="+orderUtil.getOrderActin()[2]);
|
|
|
+ System.out.println("action="+action);
|
|
|
+ if (!orderUtil.getOrderActin()[2].equals(action)) {
|
|
|
mv.addObject("msgObj", new MessageDto(false, "对不起,操作有误", "对不起,您刚才的操作流程有误,请按照系统流程操作!"));
|
|
|
return mv;
|
|
|
}
|
|
@@ -409,7 +410,7 @@ public class AdminOrderHandlers {
|
|
|
case 3:
|
|
|
|
|
|
|
|
|
- if (orderUtil.orderActin[4].equals(action)) {
|
|
|
+ if (orderUtil.getOrderActin()[4].equals(action)) {
|
|
|
|
|
|
|
|
|
if (!orderUtil.orderStatusIntToOrderStatusString(2).equals(actionDto.getToOrderStatus())) {
|
|
@@ -424,7 +425,7 @@ public class AdminOrderHandlers {
|
|
|
mv.addObject("msgObj", new MessageDto(false, "对不起,驳回退款订单失败", "对不起,对不起,驳回退款订单失败,请稍后重试!"));
|
|
|
return mv;
|
|
|
}
|
|
|
- } else if (orderUtil.orderActin[5].equals(action)) {
|
|
|
+ } else if (orderUtil.getOrderActin()[5].equals(action)) {
|
|
|
|
|
|
|
|
|
if (!orderUtil.orderStatusIntToOrderStatusString(4).equals(actionDto.getToOrderStatus())) {
|
|
@@ -458,7 +459,7 @@ public class AdminOrderHandlers {
|
|
|
return mv;
|
|
|
case 6:
|
|
|
|
|
|
- if (!orderUtil.orderActin[6].equals(action) && !orderUtil.orderActin[10].equals(action)) {
|
|
|
+ if (!orderUtil.getOrderActin()[6].equals(action) && !orderUtil.getOrderActin()[10].equals(action)) {
|
|
|
mv.addObject("msgObj", new MessageDto(false, "对不起,操作有误", "对不起,您刚才的操作流程有误,请按照系统流程操作!"));
|
|
|
return mv;
|
|
|
}
|
|
@@ -482,7 +483,7 @@ public class AdminOrderHandlers {
|
|
|
}
|
|
|
case 7:
|
|
|
|
|
|
- if (!orderUtil.orderActin[7].equals(action)) {
|
|
|
+ if (!orderUtil.getOrderActin()[7].equals(action)) {
|
|
|
mv.addObject("msgObj", new MessageDto(false, "对不起,操作有误", "对不起,您刚才的操作流程有误,请按照系统流程操作!"));
|
|
|
return mv;
|
|
|
}
|
|
@@ -562,7 +563,7 @@ public class AdminOrderHandlers {
|
|
|
return mv;
|
|
|
case 9:
|
|
|
|
|
|
- if (!orderUtil.orderActin[9].equals(action)) {
|
|
|
+ if (!orderUtil.getOrderActin()[9].equals(action)) {
|
|
|
mv.addObject("msgObj", new MessageDto(false, "对不起,操作有误", "对不起,您刚才的操作流程有误,请按照系统流程操作!"));
|
|
|
return mv;
|
|
|
}
|
|
@@ -601,7 +602,7 @@ public class AdminOrderHandlers {
|
|
|
break;
|
|
|
case 11:
|
|
|
|
|
|
- if (!orderUtil.orderActin[8].equals(action) && !orderUtil.orderActin[11].equals(action)) {
|
|
|
+ if (!orderUtil.getOrderActin()[8].equals(action) && !orderUtil.getOrderActin()[11].equals(action)) {
|
|
|
mv.addObject("msgObj", new MessageDto(false, "对不起,操作有误", "对不起,您刚才的操作流程有误,请按照系统流程操作!"));
|
|
|
return mv;
|
|
|
}
|
|
@@ -642,7 +643,7 @@ public class AdminOrderHandlers {
|
|
|
|
|
|
|
|
|
* 订单备注
|
|
|
- * @param actionDTO
|
|
|
+ * @param actionDto
|
|
|
* @throws IOException
|
|
|
*/
|
|
|
@RequestMapping("/remark/{id}")
|