Sfoglia il codice sorgente

Merge branch 'fms_2.5' into debug

ziwen 2 anni fa
parent
commit
fe4e82702c
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      models/fms/contract_register.go

+ 1 - 0
models/fms/contract_register.go

@@ -375,6 +375,7 @@ func GetContractRegisterItemPageList(page base.IPage, condition string, pars []i
 	list := make([]*ContractRegister, 0)
 	query := global.DEFAULT_MYSQL.Table("contract_register").
 		Where("is_deleted = 0").
+		Where("register_status <> 0").
 		Where(condition, pars...)
 	query.Count(&count)
 	if len(page.GetOrderItemsString()) > 0 {