ID, PLAN_DTL_ID, AD_CODE, AD_NAME, AD_GRAD, PERS_ID, INTM, UPTM, DATA_STAT #{id}, #{planDtlId}, #{adCode}, #{adName}, #{adGrad}, #{persId}, #{intm}, #{uptm}, #{dataStat} and PLAN_DTL_ID = #{planDtlId} and AD_CODE = #{adCode} and AD_NAME = #{adName} and AD_GRAD = #{adGrad} and PERS_ID = #{persId} and INTM = #{intm} and UPTM = #{uptm} and DATA_STAT = #{dataStat} and DATA_STAT='0' insert into BIS_INSP_PLAN_DTL_ADDVCD( ) values ( ) update BIS_INSP_PLAN_DTL_ADDVCD set DATA_STAT='9' where ID = #{id} update BIS_INSP_PLAN_DTL_ADDVCD set DATA_STAT='9' update BIS_INSP_PLAN_DTL_ADDVCD set DATA_STAT = '9' where ID = #{id} update BIS_INSP_PLAN_DTL_ADDVCD PLAN_DTL_ID = #{planDtlId}, AD_CODE = #{adCode}, AD_NAME = #{adName}, AD_GRAD = #{adGrad}, PERS_ID = #{persId}, INTM = #{intm}, UPTM = #{uptm}, DATA_STAT = #{dataStat}, ID = #{id} update BIS_INSP_PLAN_DTL_ADDVCD PLAN_DTL_ID = #{planDtlId}, AD_CODE = #{adCode}, AD_NAME = #{adName}, AD_GRAD = #{adGrad}, PERS_ID = #{persId}, INTM = #{intm}, UPTM = #{uptm}, DATA_STAT = #{dataStat}, insert all into BIS_INSP_PLAN_DTL_ADDVCD( ) select #{item.id}, #{item.planDtlId}, #{item.adCode}, #{item.adName}, #{item.adGrad}, #{item.persId}, #{item.intm}, #{item.uptm}, #{item.dataStat} from dual