diff --git a/src/main/resources/mybatis/datasource/xgf/XgfUserDetailsMapper.xml b/src/main/resources/mybatis/datasource/xgf/XgfUserDetailsMapper.xml
index 6ff412f3..0c1343c9 100644
--- a/src/main/resources/mybatis/datasource/xgf/XgfUserDetailsMapper.xml
+++ b/src/main/resources/mybatis/datasource/xgf/XgfUserDetailsMapper.xml
@@ -17,7 +17,7 @@
f.PHONE,
f.CREATE_TIME,
f.DEPART_STATE,
- f.ISDELETE,
+ f.IS_DELETE,
f.AGE,
f.HKLOCAL,
f.ADDRESS,
@@ -76,7 +76,7 @@
PHONE,
CREATE_TIME,
DEPART_STATE,
- ISDELETE,
+ IS_DELETE,
AGE,
HKLOCAL,
ADDRESS,
@@ -135,7 +135,7 @@
#{PHONE},
#{CREATE_TIME},
#{DEPART_STATE},
- #{ISDELETE},
+ #{IS_DELETE},
#{AGE},
#{HKLOCAL},
#{ADDRESS},
@@ -200,7 +200,7 @@
update
set
- ISDELETE = '1'
+ IS_DELETE = '1'
where
XGF_USER_ID = #{XGF_USER_ID}
@@ -218,7 +218,7 @@
PHONE = #{PHONE},
CREATE_TIME = #{CREATE_TIME},
DEPART_STATE = #{DEPART_STATE},
- ISDELETE = #{ISDELETE},
+ IS_DELETE = #{IS_DELETE},
AGE = #{AGE},
HKLOCAL = #{HKLOCAL},
ADDRESS = #{ADDRESS},
@@ -287,7 +287,7 @@
from
f
- where f.ISDELETE = '0' and f.CORPINFO_ID = #{pd.CORPINFO_ID}
+ where f.IS_DELETE = '0' and f.CORPINFO_ID = #{pd.CORPINFO_ID}
and(f.BELONG_TO_CORP_NAME LIKE CONCAT(CONCAT('%', #{pd.KEYWORDS}),'%'))
@@ -302,7 +302,7 @@
from
f
- where f.ISDELETE = '0' and f.CORPINFO_ID = #{pd.CORPINFO_ID}
+ where f.IS_DELETE = '0' and f.CORPINFO_ID = #{pd.CORPINFO_ID}
@@ -310,7 +310,7 @@
update
set
- ISDELETE = '1',
+ IS_DELETE = '1',
OPERATOR = #{OPERATOR},
OPERATTIME = #{OPERATTIME}
where
@@ -327,7 +327,7 @@
from
f
- where f.ISDELETE = '0'
+ where f.IS_DELETE = '0'
and XFG_USER_DETAILS_ID in
#{item}
diff --git a/src/main/resources/mybatis/datasource/xgf/XgfUserMapper.xml b/src/main/resources/mybatis/datasource/xgf/XgfUserMapper.xml
index 9196bc81..6af23e20 100644
--- a/src/main/resources/mybatis/datasource/xgf/XgfUserMapper.xml
+++ b/src/main/resources/mybatis/datasource/xgf/XgfUserMapper.xml
@@ -210,7 +210,7 @@
from
xgf_user a
left join xgf_user_details b on a.XGF_USER_ID = b.XGF_USER_ID
- where 1=1
+ where a.IS_DELETE = '0'
and a.STATUS = #{pd.STATUS}
@@ -302,7 +302,7 @@
left join `qa-gwj-regulatory`.bus_class_message rcm on rf.CLASS_MESSAGE_ID = rcm.CLASS_MESSAGE_ID
left join sys_dictionaries sdp on sdp.DICTIONARIES_ID = rcm.PLACE
left join sys_dictionaries sdt on sdt.DICTIONARIES_ID = rcm.TRAINING_TYPE
- where rf.USER_ID = #{USER_ID}
+ where rf.USER_ID = #{USER_ID} and rf.ISDELETE = '0'
order by rf.CREATE_TIME desc