Commit 7ad122db by 宋祥

1.语法错误修正

parent a818f806
...@@ -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", <!-- 部门编码 -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment