ID,
DEP_CODE,
DEP_NM,
NAME,
SEX,
ID_NO,
EDUCATION,
ROLE_TYPE,
GROUP_TYPE,
IS_OFFICE,
IS_TRAINING,
WORK_AD,
WORK_AD_NM,
WORK_DP_NM,
UNIT_RANKS,
TITLES,
DUTY,
PROFESSIONAL,
IS_CVL,
ORG_CODE,
ORG_NM,
TELNUMB,
MOBILENUMB,
EMAIL,
EMGC_CNTCT,
EMGC_CNTCT_PHONE,
BANK_ACCOUNT,
BANK_NAME,
OE,
STATE,
PERS_ID,
INTM,
UPTM,
DATA_STAT
#{id},
#{depCode},
#{depNm},
#{name},
#{sex},
#{idNo},
#{education},
#{roleType},
#{groupType},
#{isOffice},
#{isTraining},
#{workAd},
#{workAdNm},
#{workDpNm},
#{unitRanks},
#{titles},
#{duty},
#{professional},
#{isCvl},
#{orgCode},
#{orgNm},
#{telnumb},
#{mobilenumb},
#{email},
#{emgcCntct},
#{emgcCntctPhone},
#{bankAccount},
#{bankName},
#{oe},
#{state},
#{persId},
#{intm},
#{uptm},
#{dataStat}
and DEP_CODE = #{depCode}
and DEP_NM = #{depNm}
and NAME like '%${name}%'
and SEX = #{sex}
and ID_NO = #{idNo}
and EDUCATION = #{education}
and ROLE_TYPE = #{roleType}
and GROUP_TYPE = #{groupType}
and IS_OFFICE = #{isOffice}
and IS_TRAINING = #{isTraining}
and WORK_AD = #{workAd}
and WORK_AD_NM = #{workAdNm}
and WORK_DP_NM = #{workDpNm}
and UNIT_RANKS = #{unitRanks}
and TITLES = #{titles}
and DUTY = #{duty}
and PROFESSIONAL = #{professional}
and IS_CVL = #{isCvl}
and ORG_CODE = #{orgCode}
and ORG_NM = #{orgNm}
and TELNUMB = #{telnumb}
and MOBILENUMB = #{mobilenumb}
and EMAIL = #{email}
and EMGC_CNTCT = #{emgcCntct}
and EMGC_CNTCT_PHONE = #{emgcCntctPhone}
and BANK_ACCOUNT = #{bankAccount}
and BANK_NAME = #{bankName}
and OE = #{oe}
and STATE = #{state}
and PERS_ID = #{persId}
and INTM = #{intm}
and UPTM = #{uptm}
and DATA_STAT = #{dataStat}
insert into TAC_EXPR_RCMM(
)
values (
)
delete from TAC_EXPR_RCMM where ID = #{id}
delete from TAC_EXPR_RCMM
update TAC_EXPR_RCMM set flag_valid = 0 where ID = #{id}
update TAC_EXPR_RCMM
DEP_CODE = #{depCode},
DEP_NM = #{depNm},
NAME = #{name},
SEX = #{sex},
ID_NO = #{idNo},
EDUCATION = #{education},
ROLE_TYPE = #{roleType},
GROUP_TYPE = #{groupType},
IS_OFFICE = #{isOffice},
IS_TRAINING = #{isTraining},
WORK_AD = #{workAd},
WORK_AD_NM = #{workAdNm},
WORK_DP_NM = #{workDpNm},
UNIT_RANKS = #{unitRanks},
TITLES = #{titles},
DUTY = #{duty},
PROFESSIONAL = #{professional},
IS_CVL = #{isCvl},
ORG_CODE = #{orgCode},
ORG_NM = #{orgNm},
TELNUMB = #{telnumb},
MOBILENUMB = #{mobilenumb},
EMAIL = #{email},
EMGC_CNTCT = #{emgcCntct},
EMGC_CNTCT_PHONE = #{emgcCntctPhone},
BANK_ACCOUNT = #{bankAccount},
BANK_NAME = #{bankName},
OE = #{oe},
STATE = #{state},
PERS_ID = #{persId},
INTM = #{intm},
UPTM = #{uptm},
DATA_STAT = #{dataStat},
ID = #{id}
update TAC_EXPR_RCMM
DEP_CODE = #{depCode},
DEP_NM = #{depNm},
NAME = #{name},
SEX = #{sex},
ID_NO = #{idNo},
EDUCATION = #{education},
ROLE_TYPE = #{roleType},
GROUP_TYPE = #{groupType},
IS_OFFICE = #{isOffice},
IS_TRAINING = #{isTraining},
WORK_AD = #{workAd},
WORK_AD_NM = #{workAdNm},
WORK_DP_NM = #{workDpNm},
UNIT_RANKS = #{unitRanks},
TITLES = #{titles},
DUTY = #{duty},
PROFESSIONAL = #{professional},
IS_CVL = #{isCvl},
ORG_CODE = #{orgCode},
ORG_NM = #{orgNm},
TELNUMB = #{telnumb},
MOBILENUMB = #{mobilenumb},
EMAIL = #{email},
EMGC_CNTCT = #{emgcCntct},
EMGC_CNTCT_PHONE = #{emgcCntctPhone},
BANK_ACCOUNT = #{bankAccount},
BANK_NAME = #{bankName},
OE = #{oe},
STATE = #{state},
PERS_ID = #{persId},
INTM = #{intm},
UPTM = #{uptm},
DATA_STAT = #{dataStat},
update TAC_EXPR_RCMM set state = '1' where id in (select EXPR_RCMM_ID from TAC_EXPR_RCMM_RCRD where INTM = DATE_FORMAT( #{exprTm},'%Y-%m-%d %H:%i'))