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 {
return (Criteria) this;
}
public Criteria andInstallDiviceTypeIsNull() {
addCriterion("install_divice_type is null");
public Criteria andinstallDeviceTypeIsNull() {
addCriterion("install_device_type is null");
return (Criteria) this;
}
public Criteria andInstallDiviceTypeIsNotNull() {
addCriterion("install_divice_type is not null");
public Criteria andInstallDeviceTypeIsNotNull() {
addCriterion("install_device_type is not null");
return (Criteria) this;
}
public Criteria andInstallDiviceTypeEqualTo(Byte value) {
addCriterion("install_divice_type =", value, "installDiviceType");
public Criteria andInstallDeviceTypeEqualTo(String value) {
addCriterion("install_device_type =", value, "installDeviceType");
return (Criteria) this;
}
public Criteria andInstallDiviceTypeNotEqualTo(Byte value) {
addCriterion("install_divice_type <>", value, "installDiviceType");
public Criteria andInstallDeviceTypeNotEqualTo(String value) {
addCriterion("install_device_type <>", value, "installDeviceType");
return (Criteria) this;
}
public Criteria andInstallDiviceTypeGreaterThan(Byte value) {
addCriterion("install_divice_type >", value, "installDiviceType");
public Criteria andinstallDeviceTypeGreaterThan(Byte value) {
addCriterion("install_device_type >", value, "installDeviceType");
return (Criteria) this;
}
public Criteria andInstallDiviceTypeGreaterThanOrEqualTo(Byte value) {
addCriterion("install_divice_type >=", value, "installDiviceType");
public Criteria andinstallDeviceTypeGreaterThanOrEqualTo(Byte value) {
addCriterion("install_device_type >=", value, "installDeviceType");
return (Criteria) this;
}
public Criteria andInstallDiviceTypeLessThan(Byte value) {
addCriterion("install_divice_type <", value, "installDiviceType");
public Criteria andinstallDeviceTypeLessThan(Byte value) {
addCriterion("install_device_type <", value, "installDeviceType");
return (Criteria) this;
}
public Criteria andInstallDiviceTypeLessThanOrEqualTo(Byte value) {
addCriterion("install_divice_type <=", value, "installDiviceType");
public Criteria andinstallDeviceTypeLessThanOrEqualTo(Byte value) {
addCriterion("install_device_type <=", value, "installDeviceType");
return (Criteria) this;
}
public Criteria andInstallDiviceTypeIn(List<Byte> values) {
addCriterion("install_divice_type in", values, "installDiviceType");
public Criteria andinstallDeviceTypeIn(List<Byte> values) {
addCriterion("install_device_type in", values, "installDeviceType");
return (Criteria) this;
}
public Criteria andInstallDiviceTypeNotIn(List<Byte> values) {
addCriterion("install_divice_type not in", values, "installDiviceType");
public Criteria andinstallDeviceTypeNotIn(List<Byte> values) {
addCriterion("install_device_type not in", values, "installDeviceType");
return (Criteria) this;
}
public Criteria andInstallDiviceTypeBetween(Byte value1, Byte value2) {
addCriterion("install_divice_type between", value1, value2, "installDiviceType");
public Criteria andinstallDeviceTypeBetween(Byte value1, Byte value2) {
addCriterion("install_device_type between", value1, value2, "installDeviceType");
return (Criteria) this;
}
public Criteria andInstallDiviceTypeNotBetween(Byte value1, Byte value2) {
addCriterion("install_divice_type not between", value1, value2, "installDiviceType");
public Criteria andinstallDeviceTypeNotBetween(Byte value1, Byte value2) {
addCriterion("install_device_type not between", value1, value2, "installDeviceType");
return (Criteria) this;
}
......
......@@ -175,6 +175,7 @@ public class OrderServiceImpl implements IOrderService {
Criteria criteria = example.createCriteria();
List<Integer> Ids = new ArrayList<>();
// TODO 根据用户类型管理订单
// 如果当前用户是商户 限制搜索范围
int userType = user.getUserType();
......@@ -198,7 +199,8 @@ public class OrderServiceImpl implements IOrderService {
// 服务类型
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!