◆ CustomerOrderWrapper()
org.turro.erp.workorder.CustomerOrderWrapper.CustomerOrderWrapper |
( |
CustomerOrder |
entity | ) |
|
◆ createDao()
Dao org.turro.erp.workorder.CustomerOrderWrapper.createDao |
( |
| ) |
|
|
protected |
◆ getLines()
Definition at line 49 of file bserp-core/src/main/java/org/turro/erp/workorder/CustomerOrderWrapper.java.
50 WhereClause wc =
new WhereClause();
51 wc.addClause(
"select cu from CustomerOrder as cu");
52 wc.addClause(
"where cu.customerId = :customerId");
53 wc.addNamedValue(
"customerId", customerOrder.getCustomerId());
54 if(customerOrder.getOrderId() ==
null) {
55 wc.addClause(
"and cu.orderId is null");
57 wc.addClause(
"and cu.orderId = :orderId");
58 wc.addNamedValue(
"orderId", customerOrder.getOrderId());
60 if(customerOrder.getOrderDate() ==
null) {
61 wc.addClause(
"and cu.orderDate is null");
63 wc.addClause(
"and cu.orderDate = :orderDate");
64 wc.addNamedValue(
"orderDate", customerOrder.getOrderDate());
66 return new ErpPU().getResultList(wc);
◆ save()
CustomerOrder org.turro.erp.workorder.CustomerOrderWrapper.save |
( |
| ) |
|
◆ shouldLog()
boolean org.turro.erp.workorder.CustomerOrderWrapper.shouldLog |
( |
| ) |
|
|
protected |
The documentation for this class was generated from the following file: