Browse Source

Merge branch 'fms_2.5' into debug

ziwen 2 years ago
parent
commit
fe4e82702c
1 changed files with 1 additions and 0 deletions
  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 {