Commit 41ef0355 by 袁伟铭

修改

parent abca8311
...@@ -82,7 +82,11 @@ ...@@ -82,7 +82,11 @@
</select> </select>
<select id="search" resultType="java.util.Map"> <select id="search" resultType="java.util.Map">
SELECT AXCP0002 'name' ,AXCP0005 'idCard', AJEF0124 'fullAddress',AJEP0120 'createTime' SELECT
AXCP0002 'name',
AXCP0005 'idCard',
REPLACE ( AJEF0124, '广西壮族自治区', '' ) 'fullAddress',
AJEP0120 'createTime'
FROM FROM
jep01 jep01
WHERE 1=1 WHERE 1=1
......
...@@ -161,10 +161,26 @@ ...@@ -161,10 +161,26 @@
<!-- </select>--> <!-- </select>-->
<select id="search" resultType="java.util.Map"> <select id="search" resultType="java.util.Map">
SELECT businessType, manName, girlName, manIdCard, girlIdCard, SELECT
manNationality, girlNationality, manState, girlState, manDomicile, businessType,
girlDomicile, manContact, girlContact, archiveYear, registerDate, orgName, areaCode manName,
FROM `search_data` girlName,
manIdCard,
girlIdCard,
manNationality,
girlNationality,
manState,
girlState,
REPLACE ( manDomicile, '广西壮族自治区/', '' ) 'manDomicile',
REPLACE ( girlDomicile, '广西壮族自治区/', '' ) 'girlDomicile',
manContact,
girlContact,
archiveYear,
registerDate,
orgName,
areaCode
FROM
`search_data`
WHERE 1=1 WHERE 1=1
<if test="keyword != null and keyword != ''"> <if test="keyword != null and keyword != ''">
AND (manName = #{keyword} OR girlName = #{keyword} OR manIdCard = #{keyword} OR girlIdCard = #{keyword}) AND (manName = #{keyword} OR girlName = #{keyword} OR manIdCard = #{keyword} OR girlIdCard = #{keyword})
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<select id="search" resultType="java.util.Map"> <select id="search" resultType="java.util.Map">
SELECT SELECT
address 'address', REPLACE(address, '广西壮族自治区-', '') 'address',
NAME 'name', NAME 'name',
id_card 'idCard', id_card 'idCard',
help_type 'helpType', help_type 'helpType',
......
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