回滚中台相关代码

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

View File

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