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, cust_id, msg_title, msg_content, msg_type, templete_id, push_type, return_type,
read_type, data_state, create_empid, create_date, modfiy_empid, modfiy_date, out_msg_no
delete from td_c_push_msg
where id = #{id,jdbcType=BIGINT}
delete from td_c_push_msg
SELECT LAST_INSERT_ID()
insert into td_c_push_msg (cust_id, msg_title, msg_content,
msg_type, templete_id, push_type,
return_type, read_type, data_state,
create_empid, create_date, modfiy_empid,
modfiy_date, out_msg_no)
values (#{custId,jdbcType=VARCHAR}, #{msgTitle,jdbcType=VARCHAR}, #{msgContent,jdbcType=VARCHAR},
#{msgType,jdbcType=INTEGER}, #{templeteId,jdbcType=VARCHAR}, #{pushType,jdbcType=INTEGER},
#{returnType,jdbcType=INTEGER}, #{readType,jdbcType=INTEGER}, #{dataState,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpid,jdbcType=VARCHAR},
#{modfiyDate,jdbcType=TIMESTAMP}, #{outMsgNo,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into td_c_push_msg
cust_id,
msg_title,
msg_content,
msg_type,
templete_id,
push_type,
return_type,
read_type,
data_state,
create_empid,
create_date,
modfiy_empid,
modfiy_date,
out_msg_no,
#{custId,jdbcType=VARCHAR},
#{msgTitle,jdbcType=VARCHAR},
#{msgContent,jdbcType=VARCHAR},
#{msgType,jdbcType=INTEGER},
#{templeteId,jdbcType=VARCHAR},
#{pushType,jdbcType=INTEGER},
#{returnType,jdbcType=INTEGER},
#{readType,jdbcType=INTEGER},
#{dataState,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpid,jdbcType=VARCHAR},
#{modfiyDate,jdbcType=TIMESTAMP},
#{outMsgNo,jdbcType=VARCHAR},
update td_c_push_msg
id = #{record.id,jdbcType=BIGINT},
cust_id = #{record.custId,jdbcType=VARCHAR},
msg_title = #{record.msgTitle,jdbcType=VARCHAR},
msg_content = #{record.msgContent,jdbcType=VARCHAR},
msg_type = #{record.msgType,jdbcType=INTEGER},
templete_id = #{record.templeteId,jdbcType=VARCHAR},
push_type = #{record.pushType,jdbcType=INTEGER},
return_type = #{record.returnType,jdbcType=INTEGER},
read_type = #{record.readType,jdbcType=INTEGER},
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},
out_msg_no = #{record.outMsgNo,jdbcType=VARCHAR},
update td_c_push_msg
set id = #{record.id,jdbcType=BIGINT},
cust_id = #{record.custId,jdbcType=VARCHAR},
msg_title = #{record.msgTitle,jdbcType=VARCHAR},
msg_content = #{record.msgContent,jdbcType=VARCHAR},
msg_type = #{record.msgType,jdbcType=INTEGER},
templete_id = #{record.templeteId,jdbcType=VARCHAR},
push_type = #{record.pushType,jdbcType=INTEGER},
return_type = #{record.returnType,jdbcType=INTEGER},
read_type = #{record.readType,jdbcType=INTEGER},
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},
out_msg_no = #{record.outMsgNo,jdbcType=VARCHAR}
update td_c_push_msg
cust_id = #{custId,jdbcType=VARCHAR},
msg_title = #{msgTitle,jdbcType=VARCHAR},
msg_content = #{msgContent,jdbcType=VARCHAR},
msg_type = #{msgType,jdbcType=INTEGER},
templete_id = #{templeteId,jdbcType=VARCHAR},
push_type = #{pushType,jdbcType=INTEGER},
return_type = #{returnType,jdbcType=INTEGER},
read_type = #{readType,jdbcType=INTEGER},
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},
out_msg_no = #{outMsgNo,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update td_c_push_msg
set cust_id = #{custId,jdbcType=VARCHAR},
msg_title = #{msgTitle,jdbcType=VARCHAR},
msg_content = #{msgContent,jdbcType=VARCHAR},
msg_type = #{msgType,jdbcType=INTEGER},
templete_id = #{templeteId,jdbcType=VARCHAR},
push_type = #{pushType,jdbcType=INTEGER},
return_type = #{returnType,jdbcType=INTEGER},
read_type = #{readType,jdbcType=INTEGER},
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},
out_msg_no = #{outMsgNo,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}