Browse Source

git-svn-id: https://192.168.57.71/svn/jsgkj@1212 931142cf-59ea-a443-aa0e-51397b428577

ld_liqk 8 năm trước cách đây
mục cha
commit
47f904a2a8

+ 1 - 1
gkjsjy/exchangeWeb/src/com/cxfws/demo/xml/bwMapper.xml

@@ -47,7 +47,7 @@
 	<select id="queryDeleteBw"  parameterType="java.lang.String" resultMap="bwResultMap">
 		select 
 	<include refid="bwsql"/>
-		from GK_BASIC_JSJY_JYR_BW where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9'
+		from GK_BASIC_JSJY_JYR_BW where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9' and aqid is not null
 	</select>
 	
 	<update id="updateDeleteStatus" parameterType="java.util.Map">

+ 1 - 1
gkjsjy/exchangeWeb/src/com/cxfws/demo/xml/cgMapper.xml

@@ -51,7 +51,7 @@
 	<select id="queryDeleteCg" resultType="map">
 		select 
     <include refid="cgsql"/>
- 	from GK_BASIC_JSJY_JYR_CG where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9'
+ 	from GK_BASIC_JSJY_JYR_CG where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9' and aqid is not null
 	</select> 
 	
 	<update id="updateDeleteStatus" parameterType="java.util.Map">

+ 1 - 1
gkjsjy/exchangeWeb/src/com/cxfws/demo/xml/ckMapper.xml

@@ -48,7 +48,7 @@
 	<select id="queryDeleteCk"  parameterType="java.lang.String" resultMap="ckResultMap">
 		select 
 		 <include refid="cksql"/>
-	from GK_BASIC_JSJY_JYR_CK where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9'
+	from GK_BASIC_JSJY_JYR_CK where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9' and aqid is not null
 	</select>
 	
 	<update id="updateDeleteStatus" parameterType="java.util.Map">

+ 1 - 1
gkjsjy/exchangeWeb/src/com/cxfws/demo/xml/gqMapper.xml

@@ -45,7 +45,7 @@
 	<select id="queryDeleteGq" resultMap="gqResultMap">
 		select 
 	<include refid="gqsql"/>
-		from GK_BASIC_JSJY_GK_GQ where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9'
+		from GK_BASIC_JSJY_GK_GQ where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9' and aqid is not null
 	</select>
 	
 	<update id="updateDeleteStatus" parameterType="java.util.Map">

+ 1 - 1
gkjsjy/exchangeWeb/src/com/cxfws/demo/xml/jyrMapper.xml

@@ -49,7 +49,7 @@
    <select id="queryDeleteJyr" resultMap="jyrResultMap" parameterType="java.lang.String">
 		select 
 		 <include refid="jyrsql"/>
-	 from GK_BASIC_JSJY_JYR where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9' 
+	 from GK_BASIC_JSJY_JYR where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9'  and aqid is not null
 	</select>
 	
 	<update id="updateDeleteStatus" parameterType="java.util.Map">

+ 1 - 1
gkjsjy/exchangeWeb/src/com/cxfws/demo/xml/jyrdcMapper.xml

@@ -48,7 +48,7 @@
    <select id="queryDeleteDc"  parameterType="java.lang.String" resultMap="jyrdcResultMap">
 		select 
 		<include refid="jyrdcsql"/>
- 	from GK_BASIC_JSJY_JYR_DC  where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9'
+ 	from GK_BASIC_JSJY_JYR_DC  where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9' and aqid is not null
 	</select>
 	
 	<update id="updateDeleteStatus" parameterType="java.util.Map">

+ 1 - 1
gkjsjy/exchangeWeb/src/com/cxfws/demo/xml/mtMapper.xml

@@ -42,7 +42,7 @@
    <select id="queryDeleteMt"  parameterType="java.lang.String" resultMap="mtResultMap">
 		select 
 		 <include refid="mtsql"/>
- 	from GK_BASIC_JSJY_JYR_MT where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9'
+ 	from GK_BASIC_JSJY_JYR_MT where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9' and aqid is not null
 	</select>
 	
    <select id="querySyncMt"  parameterType="java.lang.String" resultMap="mtResultMap">

+ 1 - 1
gkjsjy/exchangeWeb/src/com/cxfws/demo/xml/ryMapper.xml

@@ -41,7 +41,7 @@
 	<select id="queryDeleteRy" resultMap="ryResultMap">
 		select 
  	<include refid="rysql"/>
-        from GK_BASIC_JSJY_JYR_RY where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9'
+        from GK_BASIC_JSJY_JYR_RY where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9' and aqid is not null
 	</select>
 	
 	<update id="updateDeleteStatus" parameterType="java.util.Map">

+ 1 - 1
gkjsjy/exchangeWeb/src/com/cxfws/demo/xml/sssbMapper.xml

@@ -41,7 +41,7 @@
    <select id="queryDeleteSssb" resultMap="sssbResultMap">
 		select 
  	<include refid="sssbsql"/>
-        from GK_BASIC_JSJY_JYR_SSSB where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9'
+        from GK_BASIC_JSJY_JYR_SSSB where SFTB = 'Y' and (TBZT='N' or TBZT='Z') and RECORD_STATUS = '9' and aqid is not null
 	</select>
 	
 	<update id="updateDeleteStatus" parameterType="java.util.Map">