and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, org_id, org_name, sort_num, org_level, lon_id, lat_id, data_state, create_empid,
create_date, modfiy_empid, modfiy_date, charge_account_judge, charge_account_default_state,
judge_fee, lon_id_max, lon_id_min, lat_id_max, lat_id_min, show_third_park, phone,
is_open_activity, bill_query_arrearage_is_discount, bill_query_arrearage_hour, is_open_other_channel_vipcard,
is_judge_arrearge_vipcard, area_code, vip_card_type, is_open_noscret, noscret_discount
delete from app_org
where id = #{id,jdbcType=BIGINT}
delete from app_org
SELECT LAST_INSERT_ID()
insert into app_org (org_id, org_name, sort_num,
org_level, lon_id, lat_id,
data_state, create_empid, create_date,
modfiy_empid, modfiy_date, charge_account_judge,
charge_account_default_state, judge_fee, lon_id_max,
lon_id_min, lat_id_max, lat_id_min,
show_third_park, phone, is_open_activity,
bill_query_arrearage_is_discount, bill_query_arrearage_hour,
is_open_other_channel_vipcard, is_judge_arrearge_vipcard,
area_code, vip_card_type, is_open_noscret,
noscret_discount)
values (#{orgId,jdbcType=VARCHAR}, #{orgName,jdbcType=VARCHAR}, #{sortNum,jdbcType=INTEGER},
#{orgLevel,jdbcType=INTEGER}, #{lonId,jdbcType=DECIMAL}, #{latId,jdbcType=DECIMAL},
#{dataState,jdbcType=INTEGER}, #{createEmpid,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpid,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{chargeAccountJudge,jdbcType=INTEGER},
#{chargeAccountDefaultState,jdbcType=INTEGER}, #{judgeFee,jdbcType=BIGINT}, #{lonIdMax,jdbcType=DECIMAL},
#{lonIdMin,jdbcType=DECIMAL}, #{latIdMax,jdbcType=DECIMAL}, #{latIdMin,jdbcType=DECIMAL},
#{showThirdPark,jdbcType=INTEGER}, #{phone,jdbcType=VARCHAR}, #{isOpenActivity,jdbcType=INTEGER},
#{billQueryArrearageIsDiscount,jdbcType=INTEGER}, #{billQueryArrearageHour,jdbcType=INTEGER},
#{isOpenOtherChannelVipcard,jdbcType=INTEGER}, #{isJudgeArreargeVipcard,jdbcType=INTEGER},
#{areaCode,jdbcType=BIGINT}, #{vipCardType,jdbcType=INTEGER}, #{isOpenNoscret,jdbcType=INTEGER},
#{noscretDiscount,jdbcType=INTEGER})
SELECT LAST_INSERT_ID()
insert into app_org
org_id,
org_name,
sort_num,
org_level,
lon_id,
lat_id,
data_state,
create_empid,
create_date,
modfiy_empid,
modfiy_date,
charge_account_judge,
charge_account_default_state,
judge_fee,
lon_id_max,
lon_id_min,
lat_id_max,
lat_id_min,
show_third_park,
phone,
is_open_activity,
bill_query_arrearage_is_discount,
bill_query_arrearage_hour,
is_open_other_channel_vipcard,
is_judge_arrearge_vipcard,
area_code,
vip_card_type,
is_open_noscret,
noscret_discount,
#{orgId,jdbcType=VARCHAR},
#{orgName,jdbcType=VARCHAR},
#{sortNum,jdbcType=INTEGER},
#{orgLevel,jdbcType=INTEGER},
#{lonId,jdbcType=DECIMAL},
#{latId,jdbcType=DECIMAL},
#{dataState,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpid,jdbcType=VARCHAR},
#{modfiyDate,jdbcType=TIMESTAMP},
#{chargeAccountJudge,jdbcType=INTEGER},
#{chargeAccountDefaultState,jdbcType=INTEGER},
#{judgeFee,jdbcType=BIGINT},
#{lonIdMax,jdbcType=DECIMAL},
#{lonIdMin,jdbcType=DECIMAL},
#{latIdMax,jdbcType=DECIMAL},
#{latIdMin,jdbcType=DECIMAL},
#{showThirdPark,jdbcType=INTEGER},
#{phone,jdbcType=VARCHAR},
#{isOpenActivity,jdbcType=INTEGER},
#{billQueryArrearageIsDiscount,jdbcType=INTEGER},
#{billQueryArrearageHour,jdbcType=INTEGER},
#{isOpenOtherChannelVipcard,jdbcType=INTEGER},
#{isJudgeArreargeVipcard,jdbcType=INTEGER},
#{areaCode,jdbcType=BIGINT},
#{vipCardType,jdbcType=INTEGER},
#{isOpenNoscret,jdbcType=INTEGER},
#{noscretDiscount,jdbcType=INTEGER},
update app_org
id = #{record.id,jdbcType=BIGINT},
org_id = #{record.orgId,jdbcType=VARCHAR},
org_name = #{record.orgName,jdbcType=VARCHAR},
sort_num = #{record.sortNum,jdbcType=INTEGER},
org_level = #{record.orgLevel,jdbcType=INTEGER},
lon_id = #{record.lonId,jdbcType=DECIMAL},
lat_id = #{record.latId,jdbcType=DECIMAL},
data_state = #{record.dataState,jdbcType=INTEGER},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
charge_account_judge = #{record.chargeAccountJudge,jdbcType=INTEGER},
charge_account_default_state = #{record.chargeAccountDefaultState,jdbcType=INTEGER},
judge_fee = #{record.judgeFee,jdbcType=BIGINT},
lon_id_max = #{record.lonIdMax,jdbcType=DECIMAL},
lon_id_min = #{record.lonIdMin,jdbcType=DECIMAL},
lat_id_max = #{record.latIdMax,jdbcType=DECIMAL},
lat_id_min = #{record.latIdMin,jdbcType=DECIMAL},
show_third_park = #{record.showThirdPark,jdbcType=INTEGER},
phone = #{record.phone,jdbcType=VARCHAR},
is_open_activity = #{record.isOpenActivity,jdbcType=INTEGER},
bill_query_arrearage_is_discount = #{record.billQueryArrearageIsDiscount,jdbcType=INTEGER},
bill_query_arrearage_hour = #{record.billQueryArrearageHour,jdbcType=INTEGER},
is_open_other_channel_vipcard = #{record.isOpenOtherChannelVipcard,jdbcType=INTEGER},
is_judge_arrearge_vipcard = #{record.isJudgeArreargeVipcard,jdbcType=INTEGER},
area_code = #{record.areaCode,jdbcType=BIGINT},
vip_card_type = #{record.vipCardType,jdbcType=INTEGER},
is_open_noscret = #{record.isOpenNoscret,jdbcType=INTEGER},
noscret_discount = #{record.noscretDiscount,jdbcType=INTEGER},
update app_org
set id = #{record.id,jdbcType=BIGINT},
org_id = #{record.orgId,jdbcType=VARCHAR},
org_name = #{record.orgName,jdbcType=VARCHAR},
sort_num = #{record.sortNum,jdbcType=INTEGER},
org_level = #{record.orgLevel,jdbcType=INTEGER},
lon_id = #{record.lonId,jdbcType=DECIMAL},
lat_id = #{record.latId,jdbcType=DECIMAL},
data_state = #{record.dataState,jdbcType=INTEGER},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
charge_account_judge = #{record.chargeAccountJudge,jdbcType=INTEGER},
charge_account_default_state = #{record.chargeAccountDefaultState,jdbcType=INTEGER},
judge_fee = #{record.judgeFee,jdbcType=BIGINT},
lon_id_max = #{record.lonIdMax,jdbcType=DECIMAL},
lon_id_min = #{record.lonIdMin,jdbcType=DECIMAL},
lat_id_max = #{record.latIdMax,jdbcType=DECIMAL},
lat_id_min = #{record.latIdMin,jdbcType=DECIMAL},
show_third_park = #{record.showThirdPark,jdbcType=INTEGER},
phone = #{record.phone,jdbcType=VARCHAR},
is_open_activity = #{record.isOpenActivity,jdbcType=INTEGER},
bill_query_arrearage_is_discount = #{record.billQueryArrearageIsDiscount,jdbcType=INTEGER},
bill_query_arrearage_hour = #{record.billQueryArrearageHour,jdbcType=INTEGER},
is_open_other_channel_vipcard = #{record.isOpenOtherChannelVipcard,jdbcType=INTEGER},
is_judge_arrearge_vipcard = #{record.isJudgeArreargeVipcard,jdbcType=INTEGER},
area_code = #{record.areaCode,jdbcType=BIGINT},
vip_card_type = #{record.vipCardType,jdbcType=INTEGER},
is_open_noscret = #{record.isOpenNoscret,jdbcType=INTEGER},
noscret_discount = #{record.noscretDiscount,jdbcType=INTEGER}
update app_org
org_id = #{orgId,jdbcType=VARCHAR},
org_name = #{orgName,jdbcType=VARCHAR},
sort_num = #{sortNum,jdbcType=INTEGER},
org_level = #{orgLevel,jdbcType=INTEGER},
lon_id = #{lonId,jdbcType=DECIMAL},
lat_id = #{latId,jdbcType=DECIMAL},
data_state = #{dataState,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
charge_account_judge = #{chargeAccountJudge,jdbcType=INTEGER},
charge_account_default_state = #{chargeAccountDefaultState,jdbcType=INTEGER},
judge_fee = #{judgeFee,jdbcType=BIGINT},
lon_id_max = #{lonIdMax,jdbcType=DECIMAL},
lon_id_min = #{lonIdMin,jdbcType=DECIMAL},
lat_id_max = #{latIdMax,jdbcType=DECIMAL},
lat_id_min = #{latIdMin,jdbcType=DECIMAL},
show_third_park = #{showThirdPark,jdbcType=INTEGER},
phone = #{phone,jdbcType=VARCHAR},
is_open_activity = #{isOpenActivity,jdbcType=INTEGER},
bill_query_arrearage_is_discount = #{billQueryArrearageIsDiscount,jdbcType=INTEGER},
bill_query_arrearage_hour = #{billQueryArrearageHour,jdbcType=INTEGER},
is_open_other_channel_vipcard = #{isOpenOtherChannelVipcard,jdbcType=INTEGER},
is_judge_arrearge_vipcard = #{isJudgeArreargeVipcard,jdbcType=INTEGER},
area_code = #{areaCode,jdbcType=BIGINT},
vip_card_type = #{vipCardType,jdbcType=INTEGER},
is_open_noscret = #{isOpenNoscret,jdbcType=INTEGER},
noscret_discount = #{noscretDiscount,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update app_org
set org_id = #{orgId,jdbcType=VARCHAR},
org_name = #{orgName,jdbcType=VARCHAR},
sort_num = #{sortNum,jdbcType=INTEGER},
org_level = #{orgLevel,jdbcType=INTEGER},
lon_id = #{lonId,jdbcType=DECIMAL},
lat_id = #{latId,jdbcType=DECIMAL},
data_state = #{dataState,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
charge_account_judge = #{chargeAccountJudge,jdbcType=INTEGER},
charge_account_default_state = #{chargeAccountDefaultState,jdbcType=INTEGER},
judge_fee = #{judgeFee,jdbcType=BIGINT},
lon_id_max = #{lonIdMax,jdbcType=DECIMAL},
lon_id_min = #{lonIdMin,jdbcType=DECIMAL},
lat_id_max = #{latIdMax,jdbcType=DECIMAL},
lat_id_min = #{latIdMin,jdbcType=DECIMAL},
show_third_park = #{showThirdPark,jdbcType=INTEGER},
phone = #{phone,jdbcType=VARCHAR},
is_open_activity = #{isOpenActivity,jdbcType=INTEGER},
bill_query_arrearage_is_discount = #{billQueryArrearageIsDiscount,jdbcType=INTEGER},
bill_query_arrearage_hour = #{billQueryArrearageHour,jdbcType=INTEGER},
is_open_other_channel_vipcard = #{isOpenOtherChannelVipcard,jdbcType=INTEGER},
is_judge_arrearge_vipcard = #{isJudgeArreargeVipcard,jdbcType=INTEGER},
area_code = #{areaCode,jdbcType=BIGINT},
vip_card_type = #{vipCardType,jdbcType=INTEGER},
is_open_noscret = #{isOpenNoscret,jdbcType=INTEGER},
noscret_discount = #{noscretDiscount,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}