Commit eed4ed0b authored by 周健威's avatar 周健威

Merge branch 'feature_chw_zjw' into dev-chw

# Conflicts:
#	xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/BaseOrderController.java
parents 6ee22ecb 234fc056
......@@ -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;
......
......@@ -58,6 +58,8 @@ import java.util.List;
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
......@@ -167,6 +169,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