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
......@@ -72,9 +72,7 @@ public class OrderRepairReq implements Serializable{
private String deviceNo;
private String installLocationPicture;
private String installLocationPicture;
public Integer getId() {
return id;
......
......@@ -885,11 +885,10 @@ public class OrderServiceImpl implements IOrderService {
// 待完成(状态4、状态6、状态7)、
// 已完成(状态8)、
// 已拒绝(状态3)
SysMerchantExample merchantExample = new SysMerchantExample();
merchantExample.createCriteria().andUserIdEqualTo(userId);
int merchantId = sysMerchantDao.selectByExample(merchantExample).get(0).getId();
orderCriteria.andMerchantIdEqualTo(merchantId).andCanceledNotEqualTo((byte) 0);
// SysMerchantExample merchantExample = new SysMerchantExample();
// merchantExample.createCriteria().andUserIdEqualTo(userId);
// int merchantId = sysMerchantDao.selectByExample(merchantExample).get(0).getId();
orderCriteria.andMerchantIdEqualTo(userId).andCanceledNotEqualTo((byte) 0);
switch (orderStatus) {
case 0:
// 待指派
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!