Commit 1da1d3a9 by 彭祥礼

Merge remote-tracking branch 'origin/master'

parents 13585175 37b48f08
......@@ -158,9 +158,9 @@ public class supervisorController extends BaseController {
wrapper.eq("id", orderId);
Order order = orderMapper.selectById(orderId);
Map<String, Object> dataMapping = new HashMap<>();
int xb = order.getXbType();
String xb = order.getXbType();
if ("0".equals(type)) {
if (xb == 1) {
if ("1".equals(xb)) {
dataMapping.put("order_status", "待配送");
dataMapping.put("send_type", "快递");
} else {
......@@ -169,7 +169,7 @@ public class supervisorController extends BaseController {
}
}
if ("1".equals(type)) {
if (xb == 1) {
if ("1".equals(xb)) {
dataMapping.put("order_status", "待活体");
dataMapping.put("send_type", "送货上门");
} else {
......@@ -272,8 +272,8 @@ public class supervisorController extends BaseController {
Wrapper wrapper = new EntityWrapper<>();
wrapper.eq("id", orderId);
Map<String, Object> dataMapping = new HashMap<>();
int xbType = order.getXbType();
if (xbType == 1) {
String xbType = order.getXbType();
if ("1".equals(xbType)) {
dataMapping.put("order_status", "待活体");
} else {
dataMapping.put("order_status", "已完成");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment