Commit 70aadb65 by zhengxj

finish 后台订单管理 on 20190307 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18273 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 485b2ffb
...@@ -2605,63 +2605,63 @@ public class SysOrderExample { ...@@ -2605,63 +2605,63 @@ public class SysOrderExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInstallDiviceTypeIsNull() { public Criteria andinstallDeviceTypeIsNull() {
addCriterion("install_divice_type is null"); addCriterion("install_device_type is null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInstallDiviceTypeIsNotNull() { public Criteria andInstallDeviceTypeIsNotNull() {
addCriterion("install_divice_type is not null"); addCriterion("install_device_type is not null");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInstallDiviceTypeEqualTo(Byte value) { public Criteria andInstallDeviceTypeEqualTo(String value) {
addCriterion("install_divice_type =", value, "installDiviceType"); addCriterion("install_device_type =", value, "installDeviceType");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInstallDiviceTypeNotEqualTo(Byte value) { public Criteria andInstallDeviceTypeNotEqualTo(String value) {
addCriterion("install_divice_type <>", value, "installDiviceType"); addCriterion("install_device_type <>", value, "installDeviceType");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInstallDiviceTypeGreaterThan(Byte value) { public Criteria andinstallDeviceTypeGreaterThan(Byte value) {
addCriterion("install_divice_type >", value, "installDiviceType"); addCriterion("install_device_type >", value, "installDeviceType");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInstallDiviceTypeGreaterThanOrEqualTo(Byte value) { public Criteria andinstallDeviceTypeGreaterThanOrEqualTo(Byte value) {
addCriterion("install_divice_type >=", value, "installDiviceType"); addCriterion("install_device_type >=", value, "installDeviceType");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInstallDiviceTypeLessThan(Byte value) { public Criteria andinstallDeviceTypeLessThan(Byte value) {
addCriterion("install_divice_type <", value, "installDiviceType"); addCriterion("install_device_type <", value, "installDeviceType");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInstallDiviceTypeLessThanOrEqualTo(Byte value) { public Criteria andinstallDeviceTypeLessThanOrEqualTo(Byte value) {
addCriterion("install_divice_type <=", value, "installDiviceType"); addCriterion("install_device_type <=", value, "installDeviceType");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInstallDiviceTypeIn(List<Byte> values) { public Criteria andinstallDeviceTypeIn(List<Byte> values) {
addCriterion("install_divice_type in", values, "installDiviceType"); addCriterion("install_device_type in", values, "installDeviceType");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInstallDiviceTypeNotIn(List<Byte> values) { public Criteria andinstallDeviceTypeNotIn(List<Byte> values) {
addCriterion("install_divice_type not in", values, "installDiviceType"); addCriterion("install_device_type not in", values, "installDeviceType");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInstallDiviceTypeBetween(Byte value1, Byte value2) { public Criteria andinstallDeviceTypeBetween(Byte value1, Byte value2) {
addCriterion("install_divice_type between", value1, value2, "installDiviceType"); addCriterion("install_device_type between", value1, value2, "installDeviceType");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andInstallDiviceTypeNotBetween(Byte value1, Byte value2) { public Criteria andinstallDeviceTypeNotBetween(Byte value1, Byte value2) {
addCriterion("install_divice_type not between", value1, value2, "installDiviceType"); addCriterion("install_device_type not between", value1, value2, "installDeviceType");
return (Criteria) this; return (Criteria) this;
} }
......
...@@ -175,6 +175,7 @@ public class OrderServiceImpl implements IOrderService { ...@@ -175,6 +175,7 @@ public class OrderServiceImpl implements IOrderService {
Criteria criteria = example.createCriteria(); Criteria criteria = example.createCriteria();
List<Integer> Ids = new ArrayList<>(); List<Integer> Ids = new ArrayList<>();
// TODO 根据用户类型管理订单 // TODO 根据用户类型管理订单
// 如果当前用户是商户 限制搜索范围 // 如果当前用户是商户 限制搜索范围
int userType = user.getUserType(); int userType = user.getUserType();
...@@ -198,7 +199,8 @@ public class OrderServiceImpl implements IOrderService { ...@@ -198,7 +199,8 @@ public class OrderServiceImpl implements IOrderService {
// 服务类型 // 服务类型
if (oueryOrderReq.getServiceType() != null) { if (oueryOrderReq.getServiceType() != null) {
criteria.andServiceTypeEqualTo(oueryOrderReq.getServiceType()); criteria.andInstallDeviceTypeEqualTo(oueryOrderReq.getServiceType());
// criteria.andServiceTypeEqualTo(oueryOrderReq.getServiceType());
} }
// 订单起始日 // 订单起始日
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!