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, card_no, eqp_type, static_date, static_date_str, statistic_begin_time, statistic_end_time,
mobile_data_total, mobile_data_use, mobile_data_oxceed, org_id, data_state, create_emp_id,
create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, remark
delete from tp_p_network_card_statistic_month
where id = #{id,jdbcType=BIGINT}
delete from tp_p_network_card_statistic_month
SELECT LAST_INSERT_ID()
insert into tp_p_network_card_statistic_month (card_no, eqp_type, static_date,
static_date_str, statistic_begin_time, statistic_end_time,
mobile_data_total, mobile_data_use, mobile_data_oxceed,
org_id, data_state, create_emp_id,
create_emp_name, create_date, modfiy_emp_id,
modfiy_emp_name, modfiy_date, remark
)
values (#{cardNo,jdbcType=VARCHAR}, #{eqpType,jdbcType=INTEGER}, #{staticDate,jdbcType=DATE},
#{staticDateStr,jdbcType=VARCHAR}, #{statisticBeginTime,jdbcType=TIMESTAMP}, #{statisticEndTime,jdbcType=TIMESTAMP},
#{mobileDataTotal,jdbcType=BIGINT}, #{mobileDataUse,jdbcType=BIGINT}, #{mobileDataOxceed,jdbcType=BIGINT},
#{orgId,jdbcType=BIGINT}, #{dataState,jdbcType=INTEGER}, #{createEmpId,jdbcType=VARCHAR},
#{createEmpName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpId,jdbcType=VARCHAR},
#{modfiyEmpName,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}
)
SELECT LAST_INSERT_ID()
insert into tp_p_network_card_statistic_month
card_no,
eqp_type,
static_date,
static_date_str,
statistic_begin_time,
statistic_end_time,
mobile_data_total,
mobile_data_use,
mobile_data_oxceed,
org_id,
data_state,
create_emp_id,
create_emp_name,
create_date,
modfiy_emp_id,
modfiy_emp_name,
modfiy_date,
remark,
#{cardNo,jdbcType=VARCHAR},
#{eqpType,jdbcType=INTEGER},
#{staticDate,jdbcType=DATE},
#{staticDateStr,jdbcType=VARCHAR},
#{statisticBeginTime,jdbcType=TIMESTAMP},
#{statisticEndTime,jdbcType=TIMESTAMP},
#{mobileDataTotal,jdbcType=BIGINT},
#{mobileDataUse,jdbcType=BIGINT},
#{mobileDataOxceed,jdbcType=BIGINT},
#{orgId,jdbcType=BIGINT},
#{dataState,jdbcType=INTEGER},
#{createEmpId,jdbcType=VARCHAR},
#{createEmpName,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpId,jdbcType=VARCHAR},
#{modfiyEmpName,jdbcType=VARCHAR},
#{modfiyDate,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR},
update tp_p_network_card_statistic_month
id = #{record.id,jdbcType=BIGINT},
card_no = #{record.cardNo,jdbcType=VARCHAR},
eqp_type = #{record.eqpType,jdbcType=INTEGER},
static_date = #{record.staticDate,jdbcType=DATE},
static_date_str = #{record.staticDateStr,jdbcType=VARCHAR},
statistic_begin_time = #{record.statisticBeginTime,jdbcType=TIMESTAMP},
statistic_end_time = #{record.statisticEndTime,jdbcType=TIMESTAMP},
mobile_data_total = #{record.mobileDataTotal,jdbcType=BIGINT},
mobile_data_use = #{record.mobileDataUse,jdbcType=BIGINT},
mobile_data_oxceed = #{record.mobileDataOxceed,jdbcType=BIGINT},
org_id = #{record.orgId,jdbcType=BIGINT},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{record.modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{record.modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
remark = #{record.remark,jdbcType=VARCHAR},
update tp_p_network_card_statistic_month
set id = #{record.id,jdbcType=BIGINT},
card_no = #{record.cardNo,jdbcType=VARCHAR},
eqp_type = #{record.eqpType,jdbcType=INTEGER},
static_date = #{record.staticDate,jdbcType=DATE},
static_date_str = #{record.staticDateStr,jdbcType=VARCHAR},
statistic_begin_time = #{record.statisticBeginTime,jdbcType=TIMESTAMP},
statistic_end_time = #{record.statisticEndTime,jdbcType=TIMESTAMP},
mobile_data_total = #{record.mobileDataTotal,jdbcType=BIGINT},
mobile_data_use = #{record.mobileDataUse,jdbcType=BIGINT},
mobile_data_oxceed = #{record.mobileDataOxceed,jdbcType=BIGINT},
org_id = #{record.orgId,jdbcType=BIGINT},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{record.modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{record.modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
remark = #{record.remark,jdbcType=VARCHAR}
update tp_p_network_card_statistic_month
card_no = #{cardNo,jdbcType=VARCHAR},
eqp_type = #{eqpType,jdbcType=INTEGER},
static_date = #{staticDate,jdbcType=DATE},
static_date_str = #{staticDateStr,jdbcType=VARCHAR},
statistic_begin_time = #{statisticBeginTime,jdbcType=TIMESTAMP},
statistic_end_time = #{statisticEndTime,jdbcType=TIMESTAMP},
mobile_data_total = #{mobileDataTotal,jdbcType=BIGINT},
mobile_data_use = #{mobileDataUse,jdbcType=BIGINT},
mobile_data_oxceed = #{mobileDataOxceed,jdbcType=BIGINT},
org_id = #{orgId,jdbcType=BIGINT},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update tp_p_network_card_statistic_month
set card_no = #{cardNo,jdbcType=VARCHAR},
eqp_type = #{eqpType,jdbcType=INTEGER},
static_date = #{staticDate,jdbcType=DATE},
static_date_str = #{staticDateStr,jdbcType=VARCHAR},
statistic_begin_time = #{statisticBeginTime,jdbcType=TIMESTAMP},
statistic_end_time = #{statisticEndTime,jdbcType=TIMESTAMP},
mobile_data_total = #{mobileDataTotal,jdbcType=BIGINT},
mobile_data_use = #{mobileDataUse,jdbcType=BIGINT},
mobile_data_oxceed = #{mobileDataOxceed,jdbcType=BIGINT},
org_id = #{orgId,jdbcType=BIGINT},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_emp_id = #{modfiyEmpId,jdbcType=VARCHAR},
modfiy_emp_name = #{modfiyEmpName,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}