Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-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
hg-smart
Commits
7ad122db
Commit
7ad122db
authored
May 14, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.语法错误修正
parent
a818f806
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
HGSC002.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC002.xml
+24
-24
No files found.
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC002.xml
View file @
7ad122db
...
@@ -4,23 +4,23 @@
...
@@ -4,23 +4,23 @@
Version : 1.0
Version : 1.0
schema : hggp
schema : hggp
tableName : HGSC002
tableName : HGSC002
id BIGINT NOT NULL primarykey,
id BIGINT NOT NULL primarykey,
company_code VARCHAR NOT NULL,
company_code VARCHAR NOT NULL,
company_name VARCHAR NOT NULL,
company_name VARCHAR NOT NULL,
dep_code VARCHAR,
dep_code VARCHAR,
dep_name VARCHAR,
dep_name VARCHAR,
proj_code VARCHAR,
proj_code VARCHAR,
proj_name VARCHAR,
proj_name VARCHAR,
person_dep_name VARCHAR,
person_dep_name VARCHAR,
person_name VARCHAR,
person_name VARCHAR,
person_phone VARCHAR,
person_phone VARCHAR,
person_id_card VARCHAR,
person_id_card VARCHAR,
account_code VARCHAR NOT NULL,
account_code VARCHAR NOT NULL,
created_by VARCHAR,
created_by VARCHAR,
created_name VARCHAR,
created_name VARCHAR,
created_time VARCHAR,
created_time VARCHAR,
updated_by VARCHAR,
updated_by VARCHAR,
updated_name VARCHAR,
updated_name VARCHAR,
updated_time VARCHAR
updated_time VARCHAR
-->
-->
<sqlMap
namespace=
"HGSC002"
>
<sqlMap
namespace=
"HGSC002"
>
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
company_code = #companyCode#
company_code = #companyCode#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"companyName"
>
<isNotEmpty
prepend=
" AND "
property=
"companyName"
>
company_name = ('%$companyName
#
$')
company_name = ('%$companyName$')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
<isNotEmpty
prepend=
" AND "
property=
"depCode"
>
dep_code = #depCode#
dep_code = #depCode#
...
@@ -47,19 +47,19 @@
...
@@ -47,19 +47,19 @@
proj_code = #projCode#
proj_code = #projCode#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
proj_name = ('%$projName
#
$')
proj_name = ('%$projName$')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"personDepName"
>
<isNotEmpty
prepend=
" AND "
property=
"personDepName"
>
person_dep_name = ('%$personDepName
#
$')
person_dep_name = ('%$personDepName$')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"personName"
>
<isNotEmpty
prepend=
" AND "
property=
"personName"
>
person_name = ('%$personName
#
$')
person_name = ('%$personName$')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"personPhone"
>
<isNotEmpty
prepend=
" AND "
property=
"personPhone"
>
person_phone = ('%$personPhone
#
$')
person_phone = ('%$personPhone$')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"personIdCard"
>
<isNotEmpty
prepend=
" AND "
property=
"personIdCard"
>
person_id_card = ('%$personIdCard
#
$')
person_id_card = ('%$personIdCard$')
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
account_code = #accountCode#
account_code = #accountCode#
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
<select
id=
"query"
parameterClass=
"java.util.HashMap"
<select
id=
"query"
parameterClass=
"java.util.HashMap"
resultClass=
"com.baosight.hggp.hg.sc.domain.HGSC002"
>
resultClass=
"com.baosight.hggp.hg.sc.domain.HGSC002"
>
SELECT
SELECT
id as "id",
id as "id",
company_code as "companyCode",
<!-- 公司编码 -->
company_code as "companyCode",
<!-- 公司编码 -->
company_name as "companyName",
<!-- 公司名称 -->
company_name as "companyName",
<!-- 公司名称 -->
dep_code as "depCode",
<!-- 部门编码 -->
dep_code as "depCode",
<!-- 部门编码 -->
...
...
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