Commit 75376f74 by zhengxj

finish 技工段订单列表 on 20190306 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18151 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 44d3cad9
...@@ -855,10 +855,10 @@ public class OrderServiceImpl implements IOrderService { ...@@ -855,10 +855,10 @@ public class OrderServiceImpl implements IOrderService {
// 已完成(状态8) // 已完成(状态8)
// 已拒绝(状态5) // 已拒绝(状态5)
SysMechanicExample sysMechanicExample = new SysMechanicExample(); // SysMechanicExample sysMechanicExample = new SysMechanicExample();
sysMechanicExample.createCriteria().andUserIdEqualTo(userId); // sysMechanicExample.createCriteria().andUserIdEqualTo(userId);
int mechanicId = sysMechanicDao.selectByExample(sysMechanicExample).get(0).getId(); // int mechanicId = sysMechanicDao.selectByExample(sysMechanicExample).get(0).getId();
orderCriteria.andMechanicIdEqualTo(mechanicId).andCanceledNotEqualTo((byte) 0); orderCriteria.andMechanicIdEqualTo(userId).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!