|
|
@ -402,7 +402,7 @@ func (impl *CustOrderDAOImplement) SelectWorkLineTaskBeyondStatus(startTime time |
|
|
|
meta.CustOrderQty_CustOrderId.ColumnName) |
|
|
|
data := make([]model.CustOrderData, 0) |
|
|
|
session := impl.session.Table(impl.meta.TableName).Join("INNER", meta.CustOrderStatus.TableName, condition).Join("INNER", meta.CustOrderQty.TableName, qtyCondition) |
|
|
|
where := fmt.Sprintf("%s = ? and %s = ? and %s >= ? and (%s >= ? and %s <= ? ) or (%s >= ? and %s <= ?)", |
|
|
|
where := fmt.Sprintf("%s = ? and %s = ? and %s >= ? and ((%s >= ? and %s <= ? ) or (%s >= ? and %s <= ?))", |
|
|
|
meta.CustOrder_PlantNr.ColumnName, |
|
|
|
meta.CustOrder_WorkLineId.ColumnName, |
|
|
|
meta.CustOrderStatus_Status.ColumnName, |
|
|
|