소스 검색

Merge branch 'pool_639' into debug

ziwen 1 년 전
부모
커밋
71b19c8dee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      models/fms/contract_register.go

+ 1 - 1
models/fms/contract_register.go

@@ -936,7 +936,7 @@ type ContractServiceDuplicateItem struct {
 
 func CheckContractServiceDuplicate(registerIds []int) (list []*ContractServiceDuplicateItem, err error) {
 	err = global.DEFAULT_MYSQL.Table("contract_service").
-		Select("GROUP_CONCAT(service_template_id ORDER BY service_template_id)  AS ids ").
+		Select("GROUP_CONCAT(service_template_id ORDER BY service_template_id)  AS ids, contract_register_id ").
 		Where("contract_register_id IN (?)", registerIds).
 		Group("contract_register_id").Find(&list).Error
 	return