Commit 234fc056 authored by 周健威's avatar 周健威

固定订单列表为车辆类型

parent 6faecd4a
......@@ -24,6 +24,8 @@ import java.util.Date;
@Table(name = "base_order")
public class BaseOrder implements Serializable {
private static final long serialVersionUID = 1L;
public static final int ORDER_TYPE_VEHICLE = 1;
public static final int ORDER_SIGN_NORMAL = 1;
public static final int ORDER_SIGN_APPLY = 2;
public static final int ORDER_SIGN_SPECIAL = 3;
......
......@@ -60,6 +60,7 @@ import java.util.Map;
import java.util.stream.Collectors;
import static com.github.wxiaoqi.security.common.constant.CommonConstants.SYS_TRUE;
import static com.xxfc.platform.order.entity.BaseOrder.ORDER_TYPE_VEHICLE;
import static com.xxfc.platform.universal.constant.DictionaryKey.APP_ORDER;
@Controller
......@@ -169,6 +170,7 @@ public class BaseOrderController extends CommonBaseController implements UserRes
throw new BaseException(ResultCode.AJAX_WECHAT_NOTEXIST_CODE);
}
//dto.setCrtUser(Integer.valueOf(BaseContextHandler.getUserID()));
dto.setType(ORDER_TYPE_VEHICLE);
dto.setUserId(Integer.valueOf(BaseContextHandler.getUserID()));
Query query = new Query(dto);
PageDataVO<OrderPageVO> pages = PageDataVO.pageInfo(query, () -> baseOrderBiz.pageByParm(query.getSuper()));
......
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