This commit is contained in:
wucongxing8150 2025-03-07 17:26:03 +08:00
parent 6c173ea4c7
commit bf7bf6a9bf
3 changed files with 29 additions and 2 deletions

23
.gitignore vendored Normal file
View File

@ -0,0 +1,23 @@
# ---> Go
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
*.log
# Dependency directories (remove the comment below to include it)
# vendor/
.idea/
.git/
.DS_Store/
.tmp/
api/.DS_Store
api/dao/.DS_Store

6
.idea/workspace.xml generated
View File

@ -4,7 +4,7 @@
<option name="autoReloadType" value="ALL" />
</component>
<component name="ChangeListManager">
<list default="true" id="09680d75-fdfe-476c-9cbd-c63de2566c12" name="更改" comment="" />
<list default="true" id="09680d75-fdfe-476c-9cbd-c63de2566c12" name="更改" comment="1" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -50,6 +50,10 @@
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="1" />
<option name="LAST_COMMIT_MESSAGE" value="1" />
</component>
<component name="VgoProject">
<settings-migrated>true</settings-migrated>
</component>

View File

@ -124,7 +124,7 @@ func (r *CaseCommentDao) GetCaseCommentPageSearch(req requests.GetCaseCommentPag
// 构建查询条件
query := global.Db.Model(&model.CaseComment{})
// 用户1
// 用户12
query = query.Preload("User")
// 用户医院