Commit b6879a5c by zhengxj

finish 订单搜索 on 20190228 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@17999 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent d656b866
...@@ -2664,6 +2664,11 @@ public class SysOrderExample { ...@@ -2664,6 +2664,11 @@ public class SysOrderExample {
addCriterion("install_divice_type not between", value1, value2, "installDiviceType"); addCriterion("install_divice_type not between", value1, value2, "installDiviceType");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andOrCriteria(String value){
addCriterion("(order_sn LIKE"+"\"" +"%"+value+"%"+"\"" +" or car_type LIKE"+"\"" +"%"+value+"%"+"\"" +" or vin_no LIKE"+"\"" +"%"+value+"%"+"\"" +" or car_owner LIKE"+"\"" +"%"+value+"%"+"\"" +")");
return (Criteria) this;
}
} }
public static class Criteria extends GeneratedCriteria { public static class Criteria extends GeneratedCriteria {
...@@ -2757,5 +2762,9 @@ public class SysOrderExample { ...@@ -2757,5 +2762,9 @@ public class SysOrderExample {
protected Criterion(String condition, Object value, Object secondValue) { protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null); this(condition, value, secondValue, null);
} }
} }
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!