...
|
...
|
@@ -80,9 +80,9 @@ func (controller *CooperationContractController) SearchCooperationContract() { |
|
|
searchCooperationContractQuery.OrgId = header.OrgId
|
|
|
searchCooperationContractQuery.UserId = header.UserId
|
|
|
searchCooperationContractQuery.UserBaseId = header.UserBaseId
|
|
|
pageSize, _ := controller.GetInt32("pageSize")
|
|
|
pageSize, _ := controller.GetInt64("pageSize")
|
|
|
searchCooperationContractQuery.PageSize = pageSize
|
|
|
pageNumber, _ := controller.GetInt32("pageNumber")
|
|
|
pageNumber, _ := controller.GetInt64("pageNumber")
|
|
|
searchCooperationContractQuery.PageNumber = pageNumber
|
|
|
data, err := cooperationContractService.SearchCooperationContract(searchCooperationContractQuery)
|
|
|
controller.Response(data, err)
|
...
|
...
|
@@ -97,9 +97,9 @@ func (controller *CooperationContractController) SearchCooperationContractByUnde |
|
|
searchCooperationContractByUndertakerQuery.OrgId = header.OrgId
|
|
|
searchCooperationContractByUndertakerQuery.UserId = header.UserId
|
|
|
searchCooperationContractByUndertakerQuery.UserBaseId = header.UserBaseId
|
|
|
pageSize, _ := controller.GetInt32("pageSize")
|
|
|
pageSize, _ := controller.GetInt64("pageSize")
|
|
|
searchCooperationContractByUndertakerQuery.PageSize = pageSize
|
|
|
pageNumber, _ := controller.GetInt32("pageNumber")
|
|
|
pageNumber, _ := controller.GetInt64("pageNumber")
|
|
|
searchCooperationContractByUndertakerQuery.PageNumber = pageNumber
|
|
|
data, err := cooperationContractService.SearchCooperationContractByUndertaker(searchCooperationContractByUndertakerQuery)
|
|
|
controller.Response(data, err)
|
...
|
...
|
@@ -114,9 +114,9 @@ func (controller *CooperationContractController) ListCooperationContract() { |
|
|
listCooperationContractQuery.OrgId = header.OrgId
|
|
|
listCooperationContractQuery.UserId = header.UserId
|
|
|
listCooperationContractQuery.UserBaseId = header.UserBaseId
|
|
|
pageSize, _ := controller.GetInt32("pageSize")
|
|
|
pageSize, _ := controller.GetInt64("pageSize")
|
|
|
listCooperationContractQuery.PageSize = pageSize
|
|
|
pageNumber, _ := controller.GetInt32("pageNumber")
|
|
|
pageNumber, _ := controller.GetInt64("pageNumber")
|
|
|
listCooperationContractQuery.PageNumber = pageNumber
|
|
|
data, err := cooperationContractService.ListCooperationContract(listCooperationContractQuery)
|
|
|
controller.Response(data, err)
|
...
|
...
|
|