Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hp-smart
Commits
3e5883c1
Commit
3e5883c1
authored
Aug 19, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-08-16 安全记录APP附件上传调整
parent
d2ed7d39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
4 deletions
+50
-4
HPSB099.xml
src/main/java/com/baosight/hpjx/hp/sb/sql/HPSB099.xml
+50
-4
No files found.
src/main/java/com/baosight/hpjx/hp/sb/sql/HPSB099.xml
View file @
3e5883c1
...
...
@@ -122,8 +122,31 @@
BIZ_TYPE as "bizType",
<!-- 业务类型 -->
MAT_ID as "matId",
<!-- 上级ID -->
DOC_VIDEO_ID as "docVideoId"
FROM ${hpjxSchema}.T_HPSB099 A WHERE 1=1
<include
refid=
"condition"
/>
FROM ${hpjxSchema}.T_HPSB099 WHERE 1=1
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
DEP_CODE = #depCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"bizType"
>
BIZ_TYPE = #bizType#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"matId"
>
MAT_ID = #matId#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"bizTypes"
>
BIZ_TYPE IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"bizTypes"
>
#bizTypes[]#
</iterate>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"docId"
>
DOC_ID = #docId#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"docVideoId"
>
DOC_VIDEO_ID = #docVideoId#
</isNotEmpty>
<dynamic
prepend=
"ORDER BY"
>
<isNotEmpty
property=
"orderBy"
>
$orderBy$
...
...
@@ -173,7 +196,30 @@
<select
id=
"count"
resultClass=
"int"
>
SELECT COUNT(*) FROM ${hpjxSchema}.T_HPSB099 WHERE 1=1
<include
refid=
"condition"
/>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
DEP_CODE = #depCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"bizType"
>
BIZ_TYPE = #bizType#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"matId"
>
MAT_ID = #matId#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"bizTypes"
>
BIZ_TYPE IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"bizTypes"
>
#bizTypes[]#
</iterate>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"docId"
>
DOC_ID = #docId#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"docVideoId"
>
DOC_VIDEO_ID = #docVideoId#
</isNotEmpty>
</select>
<!--
...
...
@@ -256,7 +302,7 @@
)
VALUES (#companyCode#, #depCode#, #docId#, #dirId#, #docName#, #chgName#, #docSize#, #docTag#, #createdBy#,
#createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #archiveFlag#, #realPath#, #bizType#,
#matId#,
#docVideoId#)
#matId#,#docVideoId#)
</insert>
<delete
id=
"delete"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment