Commit 17ee5e14 by zhengxj

finish 服务商订单列表 on 20190305 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18132 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent a8f9adb6
...@@ -74,8 +74,6 @@ public class OrderRepairReq implements Serializable{ ...@@ -74,8 +74,6 @@ public class OrderRepairReq implements Serializable{
private String installLocationPicture; private String installLocationPicture;
public Integer getId() { public Integer getId() {
return id; return id;
} }
......
...@@ -885,11 +885,10 @@ public class OrderServiceImpl implements IOrderService { ...@@ -885,11 +885,10 @@ public class OrderServiceImpl implements IOrderService {
// 待完成(状态4、状态6、状态7)、 // 待完成(状态4、状态6、状态7)、
// 已完成(状态8)、 // 已完成(状态8)、
// 已拒绝(状态3) // 已拒绝(状态3)
// SysMerchantExample merchantExample = new SysMerchantExample();
SysMerchantExample merchantExample = new SysMerchantExample(); // merchantExample.createCriteria().andUserIdEqualTo(userId);
merchantExample.createCriteria().andUserIdEqualTo(userId); // int merchantId = sysMerchantDao.selectByExample(merchantExample).get(0).getId();
int merchantId = sysMerchantDao.selectByExample(merchantExample).get(0).getId(); orderCriteria.andMerchantIdEqualTo(userId).andCanceledNotEqualTo((byte) 0);
orderCriteria.andMerchantIdEqualTo(merchantId).andCanceledNotEqualTo((byte) 0);
switch (orderStatus) { switch (orderStatus) {
case 0: case 0:
// 待指派 // 待指派
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!