Commit 83b57fac by zhengxj

finish 解决小程序端订单列表报错问题 on 20190321 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18763 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent b45c9988
......@@ -425,7 +425,6 @@ public class OrderServiceImpl implements IOrderService {
for (SysOrder order : orderList) {
// 订单地址信息
order.setArea(areaService.getAllChargeItems(order.getDistrict()));
// 渠道名称
if (oueryOrderReq.getOrderChannel() != null) {
order.setOrderChannel(orderChannelDao.selectByPrimaryKey(oueryOrderReq.getOrderChannel()).getName());
......@@ -1178,8 +1177,11 @@ public class OrderServiceImpl implements IOrderService {
@Override
public List<SysOrder> selectByClientType(Integer userId, String keyWord, Integer orderStatus,
SysOrderExample example, Page page) {
SysUser user = sysUserDao.selectByPrimaryKey(userId);
int userType = user.getUserType();
JSONObject user = getUserInfo(userId);
// SysUser user = sysUserDao.selectByPrimaryKey(userId);
byte userType = user.getByte("userType");
// 用户类型(0:系统管理员,1:服务商,2:门店,3:技工)
// SysMerchant sysMerchant = null;
// com.glsx.ordercenter.pojo.user.SysMerchantExample.Criteria
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!