Browse Source

Merge pull request '排程bug修改' (#101) from fix_scheduler into develop

Reviewed-on: #101
pull/102/head
zhangxin 3 years ago
parent
commit
2486bca583
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dao/pln/implments/CustOrder.dao.impl.go

+ 1
- 1
dao/pln/implments/CustOrder.dao.impl.go View File

@ -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,


Loading…
Cancel
Save