回滚中台相关代码

hyx_2024-10-12_xgfPerson
water_xu 2024-09-10 19:54:59 +08:00
parent dc0e4f4374
commit 7925ea2a61
2 changed files with 75 additions and 223 deletions

View File

@ -218,182 +218,65 @@
<update id="edit" parameterType="pd">
update
<include refid="tableName"></include>
<set>
<if test="XGF_USER_DETAILS_ID != null and XGF_USER_DETAILS_ID != ''">
XGF_USER_DETAILS_ID = #{XGF_USER_DETAILS_ID},
</if>
<if test="XGF_USER_ID != null and XGF_USER_ID != ''">
XGF_USER_ID = #{XGF_USER_ID},
</if>
<if test="XGF_USER_NAME != null and XGF_USER_NAME != ''">
XGF_USER_NAME = #{XGF_USER_NAME},
</if>
<if test="BELONG_TO_CORP != null and BELONG_TO_CORP != ''">
BELONG_TO_CORP = #{BELONG_TO_CORP},
</if>
<if test="BELONG_TO_CORP_NAME != null and BELONG_TO_CORP_NAME != ''">
BELONG_TO_CORP_NAME = #{BELONG_TO_CORP_NAME},
</if>
<if test="PHONE != null and PHONE != ''">
PHONE = #{PHONE},
</if>
<if test="CREATE_TIME != null and CREATE_TIME != ''">
CREATE_TIME = #{CREATE_TIME},
</if>
<if test="DEPART_STATE != null and DEPART_STATE != ''">
DEPART_STATE = #{DEPART_STATE},
</if>
<if test="IS_DELETE != null and IS_DELETE != ''">
IS_DELETE = #{IS_DELETE},
</if>
<if test="AGE != null and AGE != ''">
AGE = #{AGE},
</if>
<if test="HKLOCAL != null and HKLOCAL != ''">
HKLOCAL = #{HKLOCAL},
</if>
<if test="ADDRESS != null and ADDRESS != ''">
ADDRESS = #{ADDRESS},
</if>
<if test="DEGREE_OF_EDUCATION != null and DEGREE_OF_EDUCATION != ''">
DEGREE_OF_EDUCATION = #{DEGREE_OF_EDUCATION},
</if>
<if test="DEGREE_OF_EDUCATION_NAME != null and DEGREE_OF_EDUCATION_NAME != ''">
DEGREE_OF_EDUCATION_NAME = #{DEGREE_OF_EDUCATION_NAME},
</if>
<if test="CORP_START_DATE != null and CORP_START_DATE != ''">
CORP_START_DATE = #{CORP_START_DATE},
</if>
<if test="POST_ID != null and POST_ID != ''">
POST_ID = #{POST_ID},
</if>
<if test="POST_NAME != null and POST_NAME != ''">
POST_NAME = #{POST_NAME},
</if>
<if test="WORK_SIGN != null and WORK_SIGN != ''">
WORK_SIGN = #{WORK_SIGN},
</if>
<if test="JOINED_DATE != null and JOINED_DATE != ''">
JOINED_DATE = #{JOINED_DATE},
</if>
<if test="WORK_DATE != null and WORK_DATE != ''">
WORK_DATE = #{WORK_DATE},
</if>
<if test="PHOTO != null and PHOTO != ''">
PHOTO = #{PHOTO},
</if>
<if test="DATE_OF_BIRTH != null and DATE_OF_BIRTH != ''">
DATE_OF_BIRTH = #{DATE_OF_BIRTH},
</if>
<if test="ISPAY != null and ISPAY != ''">
ISPAY = #{ISPAY},
</if>
<if test="ISPAY_NUMBER != null and ISPAY_NUMBER != ''">
ISPAY_NUMBER = #{ISPAY_NUMBER},
</if>
<if test="IS_SAFETY_TELL != null and IS_SAFETY_TELL != ''">
IS_SAFETY_TELL = #{IS_SAFETY_TELL},
</if>
<if test="IS_SAFETY_TIME != null and IS_SAFETY_TIME != ''">
IS_SAFETY_TIME = #{IS_SAFETY_TIME},
</if>
<if test="IS_INJURIES_PAY != null and IS_INJURIES_PAY != ''">
IS_INJURIES_PAY = #{IS_INJURIES_PAY},
</if>
<if test="IS_SIGN_LABOR != null and IS_SIGN_LABOR != ''">
IS_SIGN_LABOR = #{IS_SIGN_LABOR},
</if>
<if test="SEX != null and SEX != ''">
SEX = #{SEX},
</if>
<if test="ENTRY_DATE != null and ENTRY_DATE != ''">
ENTRY_DATE = #{ENTRY_DATE},
</if>
<if test="PERSON_WORK_TYPE != null and PERSON_WORK_TYPE != ''">
PERSON_WORK_TYPE = #{PERSON_WORK_TYPE},
</if>
<if test="PERSON_WORK_TYPE_NAME != null and PERSON_WORK_TYPE_NAME != ''">
PERSON_WORK_TYPE_NAME = #{PERSON_WORK_TYPE_NAME},
</if>
<if test="NATIONALITY != null and NATIONALITY != ''">
NATIONALITY = #{NATIONALITY},
</if>
<if test="NATIONALITY_NAME != null and NATIONALITY_NAME != ''">
NATIONALITY_NAME = #{NATIONALITY_NAME},
</if>
<if test="POLITICAL_TIME != null and POLITICAL_TIME != ''">
POLITICAL_TIME = #{POLITICAL_TIME},
</if>
<if test="POLITICAL_STATUS != null and POLITICAL_STATUS != ''">
POLITICAL_STATUS = #{POLITICAL_STATUS},
</if>
<if test="POLITICAL_STATUS_NAME != null and POLITICAL_STATUS_NAME != ''">
POLITICAL_STATUS_NAME = #{POLITICAL_STATUS_NAME},
</if>
<if test="IS_INJURIES_PAY_TIME != null and IS_INJURIES_PAY_TIME != ''">
IS_INJURIES_PAY_TIME = #{IS_INJURIES_PAY_TIME},
</if>
<if test="IS_LEVEL_THREE != null and IS_LEVEL_THREE != ''">
IS_LEVEL_THREE = #{IS_LEVEL_THREE},
</if>
<if test="IS_BODY_ADAPT != null and IS_BODY_ADAPT != ''">
IS_BODY_ADAPT = #{IS_BODY_ADAPT},
</if>
<if test="IS_SPECIAL_JOB != null and IS_SPECIAL_JOB != ''">
IS_SPECIAL_JOB = #{IS_SPECIAL_JOB},
</if>
<if test="CORPINFO_ID != null and CORPINFO_ID != ''">
CORPINFO_ID = #{CORPINFO_ID},
</if>
<if test="MANAGER_DEPARTMENT_ID != null and MANAGER_DEPARTMENT_ID != ''">
MANAGER_DEPARTMENT_ID = #{MANAGER_DEPARTMENT_ID},
</if>
<if test="MANAGER_DEPARTMENT_NAME != null and MANAGER_DEPARTMENT_NAME != ''">
MANAGER_DEPARTMENT_NAME = #{MANAGER_DEPARTMENT_NAME},
</if>
<if test="COMPETENT_DEPARTMENT_ID != null and COMPETENT_DEPARTMENT_ID != ''">
COMPETENT_DEPARTMENT_ID = #{COMPETENT_DEPARTMENT_ID},
</if>
<if test="COMPETENT_DEPARTMENT_NAME != null and COMPETENT_DEPARTMENT_NAME != ''">
COMPETENT_DEPARTMENT_NAME = #{COMPETENT_DEPARTMENT_NAME},
</if>
<if test="MAIN_DEPARTMENT_ID != null and MAIN_DEPARTMENT_ID != ''">
MAIN_DEPARTMENT_ID = #{MAIN_DEPARTMENT_ID},
</if>
<if test="MAIN_DEPARTMENT_NAME != null and MAIN_DEPARTMENT_NAME != ''">
MAIN_DEPARTMENT_NAME = #{MAIN_DEPARTMENT_NAME},
</if>
<if test="CARD_ID != null and CARD_ID != ''">
CARD_ID = #{CARD_ID},
</if>
<if test="DEPARTMENT_ID != null and DEPARTMENT_ID != ''">
DEPARTMENT_ID = #{DEPARTMENT_ID},
</if>
<if test="DEPARTMENT_NAME != null and DEPARTMENT_NAME != ''">
DEPARTMENT_NAME = #{DEPARTMENT_NAME},
</if>
<if test="IS_BF != null and IS_BF != ''">
IS_BF = #{IS_BF},
</if>
<if test="IS_SOCIAL != null and IS_SOCIAL != ''">
IS_SOCIAL = #{IS_SOCIAL},
</if>
<if test="SOCIAL_NUMBER != null and SOCIAL_NUMBER != ''">
SOCIAL_NUMBER = #{SOCIAL_NUMBER},
</if>
<if test="zzName != null and zzName != ''">
zzName = #{zzName},
</if>
<if test="ANNEX != null and ANNEX != ''">
ANNEX = #{ANNEX},
</if>
<if test="ATTORNEY != null and ATTORNEY != ''">
ATTORNEY = #{ATTORNEY},
</if>
<if test="COMMITMENT_LETTER != null and COMMITMENT_LETTER != ''">
COMMITMENT_LETTER = #{COMMITMENT_LETTER}
</if>
</set>
set
XGF_USER_DETAILS_ID = #{XGF_USER_DETAILS_ID},
XGF_USER_ID = #{XGF_USER_ID},
XGF_USER_NAME = #{XGF_USER_NAME},
BELONG_TO_CORP = #{BELONG_TO_CORP},
BELONG_TO_CORP_NAME = #{BELONG_TO_CORP_NAME},
PHONE = #{PHONE},
CREATE_TIME = #{CREATE_TIME},
DEPART_STATE = #{DEPART_STATE},
IS_DELETE = #{IS_DELETE},
AGE = #{AGE},
HKLOCAL = #{HKLOCAL},
ADDRESS = #{ADDRESS},
DEGREE_OF_EDUCATION = #{DEGREE_OF_EDUCATION},
DEGREE_OF_EDUCATION_NAME = #{DEGREE_OF_EDUCATION_NAME},
CORP_START_DATE = #{CORP_START_DATE},
POST_ID = #{POST_ID},
POST_NAME = #{POST_NAME},
WORK_SIGN = #{WORK_SIGN},
JOINED_DATE = #{JOINED_DATE},
WORK_DATE = #{WORK_DATE},
PHOTO = #{PHOTO},
DATE_OF_BIRTH = #{DATE_OF_BIRTH},
ISPAY = #{ISPAY},
ISPAY_NUMBER = #{ISPAY_NUMBER},
IS_SAFETY_TELL = #{IS_SAFETY_TELL},
IS_SAFETY_TIME = #{IS_SAFETY_TIME},
IS_INJURIES_PAY = #{IS_INJURIES_PAY},
IS_SIGN_LABOR = #{IS_SIGN_LABOR},
SEX = #{SEX},
ENTRY_DATE = #{ENTRY_DATE},
PERSON_WORK_TYPE = #{PERSON_WORK_TYPE},
PERSON_WORK_TYPE_NAME = #{PERSON_WORK_TYPE_NAME},
NATIONALITY = #{NATIONALITY},
NATIONALITY_NAME = #{NATIONALITY_NAME},
POLITICAL_TIME = #{POLITICAL_TIME},
POLITICAL_STATUS = #{POLITICAL_STATUS},
POLITICAL_STATUS_NAME = #{POLITICAL_STATUS_NAME},
IS_INJURIES_PAY_TIME = #{IS_INJURIES_PAY_TIME},
IS_LEVEL_THREE = #{IS_LEVEL_THREE},
IS_BODY_ADAPT = #{IS_BODY_ADAPT},
IS_SPECIAL_JOB = #{IS_SPECIAL_JOB},
CORPINFO_ID = #{CORPINFO_ID},
MANAGER_DEPARTMENT_ID = #{MANAGER_DEPARTMENT_ID},
MANAGER_DEPARTMENT_NAME = #{MANAGER_DEPARTMENT_NAME},
COMPETENT_DEPARTMENT_ID = #{COMPETENT_DEPARTMENT_ID},
COMPETENT_DEPARTMENT_NAME = #{COMPETENT_DEPARTMENT_NAME},
MAIN_DEPARTMENT_ID = #{MAIN_DEPARTMENT_ID},
MAIN_DEPARTMENT_NAME = #{MAIN_DEPARTMENT_NAME},
CARD_ID = #{CARD_ID},
DEPARTMENT_ID = #{DEPARTMENT_ID},
DEPARTMENT_NAME = #{DEPARTMENT_NAME},
IS_BF = #{IS_BF},
IS_SOCIAL = #{IS_SOCIAL},
SOCIAL_NUMBER = #{SOCIAL_NUMBER},
zzName = #{zzName},
ANNEX = #{ANNEX},
ATTORNEY = #{ATTORNEY},
COMMITMENT_LETTER = #{COMMITMENT_LETTER}
where
XGF_USER_DETAILS_ID = #{XGF_USER_DETAILS_ID}
</update>

View File

@ -92,53 +92,22 @@
<update id="edit" parameterType="pd">
update
<include refid="tableName"></include>
<set>
<if test="USERNAME != null and USERNAME != ''">
USERNAME = #{USERNAME},
</if>
<if test="NAME != null and NAME != ''">
NAME = #{NAME},
</if>
<if test="VALID_FLAG != null and VALID_FLAG != ''">
VALID_FLAG = #{VALID_FLAG},
</if>
<if test="BELONG_TO_CORP != null and BELONG_TO_CORP != ''">
BELONG_TO_CORP = #{BELONG_TO_CORP},
</if>
<if test="BELONG_TO_CORP_NAME != null and BELONG_TO_CORP_NAME != ''">
BELONG_TO_CORP_NAME = #{BELONG_TO_CORP_NAME},
</if>
<if test="IS_DELETE != null and IS_DELETE != ''">
IS_DELETE = #{IS_DELETE},
</if>
<if test="CREATE_TIME != null and CREATE_TIME != ''">
CREATE_TIME = #{CREATE_TIME},
</if>
<if test="CORPINFO_ID != null and CORPINFO_ID != ''">
CORPINFO_ID = #{CORPINFO_ID},
</if>
<if test="STATUS != null and STATUS != ''">
STATUS = #{STATUS},
</if>
<if test="OPERATOR_TIME != null and OPERATOR_TIME != ''">
OPERATOR_TIME = #{OPERATOR_TIME},
</if>
<if test="ISFLOW != null and ISFLOW != ''">
ISFLOW = #{ISFLOW},
</if>
<if test="STUDY_STATUS != null and STUDY_STATUS != ''">
STUDY_STATUS = #{STUDY_STATUS},
</if>
<if test="CHECK_STATUS != null and CHECK_STATUS != ''">
CHECK_STATUS = #{CHECK_STATUS},
</if>
<if test="CHECK_STEP != null and CHECK_STEP != ''">
CHECK_STEP = #{CHECK_STEP},
</if>
<if test="LIMIT_END_TIME != null and LIMIT_END_TIME != ''">
LIMIT_END_TIME = #{LIMIT_END_TIME}
</if>
</set>
set
USERNAME = #{USERNAME},
NAME = #{NAME},
VALID_FLAG = #{VALID_FLAG},
BELONG_TO_CORP = #{BELONG_TO_CORP},
BELONG_TO_CORP_NAME = #{BELONG_TO_CORP_NAME},
IS_DELETE = #{IS_DELETE},
CREATE_TIME = #{CREATE_TIME},
CORPINFO_ID = #{CORPINFO_ID},
STATUS = #{STATUS},
OPERATOR_TIME = #{OPERATOR_TIME},
ISFLOW = #{ISFLOW},
STUDY_STATUS = #{STUDY_STATUS},
CHECK_STATUS = #{CHECK_STATUS},
CHECK_STEP = #{CHECK_STEP},
LIMIT_END_TIME = #{LIMIT_END_TIME}
where
XGF_USER_ID = #{XGF_USER_ID}
</update>