Commit 7ad122db by 宋祥

1.语法错误修正

parent a818f806
......@@ -4,23 +4,23 @@
Version : 1.0
schema : hggp
tableName : HGSC002
id BIGINT NOT NULL primarykey,
company_code VARCHAR NOT NULL,
company_name VARCHAR NOT NULL,
dep_code VARCHAR,
dep_name VARCHAR,
proj_code VARCHAR,
proj_name VARCHAR,
person_dep_name VARCHAR,
person_name VARCHAR,
person_phone VARCHAR,
person_id_card VARCHAR,
account_code VARCHAR NOT NULL,
created_by VARCHAR,
created_name VARCHAR,
created_time VARCHAR,
updated_by VARCHAR,
updated_name VARCHAR,
id BIGINT NOT NULL primarykey,
company_code VARCHAR NOT NULL,
company_name VARCHAR NOT NULL,
dep_code VARCHAR,
dep_name VARCHAR,
proj_code VARCHAR,
proj_name VARCHAR,
person_dep_name VARCHAR,
person_name VARCHAR,
person_phone VARCHAR,
person_id_card VARCHAR,
account_code VARCHAR NOT NULL,
created_by VARCHAR,
created_name VARCHAR,
created_time VARCHAR,
updated_by VARCHAR,
updated_name VARCHAR,
updated_time VARCHAR
-->
<sqlMap namespace="HGSC002">
......@@ -35,7 +35,7 @@
company_code = #companyCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="companyName">
company_name = ('%$companyName#$')
company_name = ('%$companyName$')
</isNotEmpty>
<isNotEmpty prepend=" AND " property="depCode">
dep_code = #depCode#
......@@ -47,19 +47,19 @@
proj_code = #projCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="projName">
proj_name = ('%$projName#$')
proj_name = ('%$projName$')
</isNotEmpty>
<isNotEmpty prepend=" AND " property="personDepName">
person_dep_name = ('%$personDepName#$')
person_dep_name = ('%$personDepName$')
</isNotEmpty>
<isNotEmpty prepend=" AND " property="personName">
person_name = ('%$personName#$')
person_name = ('%$personName$')
</isNotEmpty>
<isNotEmpty prepend=" AND " property="personPhone">
person_phone = ('%$personPhone#$')
person_phone = ('%$personPhone$')
</isNotEmpty>
<isNotEmpty prepend=" AND " property="personIdCard">
person_id_card = ('%$personIdCard#$')
person_id_card = ('%$personIdCard$')
</isNotEmpty>
<isNotEmpty prepend=" AND " property="accountCode">
account_code = #accountCode#
......@@ -87,7 +87,7 @@
<select id="query" parameterClass="java.util.HashMap"
resultClass="com.baosight.hggp.hg.sc.domain.HGSC002">
SELECT
id as "id",
id as "id",
company_code as "companyCode", <!-- 公司编码 -->
company_name as "companyName", <!-- 公司名称 -->
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